Add calls to clk_prepare and unprepare so that MSM can migrate to
the common clock framework.
Cc: Felipe Balbi
Signed-off-by: Stephen Boyd
---
drivers/usb/otg/msm_otg.c | 38 +++---
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers/usb/otg
Add calls to clk_prepare and unprepare so that MSM can migrate to
the common clock framework.
Signed-off-by: Stephen Boyd
---
drivers/mmc/host/msm_sdcc.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
Calling clk_set_min_rate() is no better than just calling
clk_set_rate() because MSM clock code already takes care of
calling the min_rate ops if the clock really needs
clk_set_min_rate() called on it.
Signed-off-by: Stephen Boyd
---
drivers/iommu/msm_iommu_dev.c | 3 +--
1 file changed, 1
() function
which I already posted to the list[1]. They're based on linux-next-20120917.
Stephen Boyd (10):
usb: otg: msm: Convert to clk_prepare/unprepare
msm_sdcc: Convert to clk_prepare/unprepare
msm: iommu: Convert to clk_prepare/unprepare
msm: iommu: Use clk_set_rate() inste
techniques.
Signed-off-by: Stephen Boyd
---
drivers/iommu/msm_iommu_dev.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/iommu/msm_iommu_dev.c b/drivers/iommu/msm_iommu_dev.c
index 8e8fb07..d344f6a 100644
--- a/drivers/iommu/msm_iommu_dev.c
+++ b/drivers
To move closer to the generic struct clock framework move the
proc_comm based clock code to a platform driver. The data
describing the struct clks still live in the devices-$ARCH file,
but the clock initialization is done at driver binding time.
Cc: Saravana Kannan
Signed-off-by: Stephen Boyd
clock-7x30.h include file along with it.
Cc: Saravana Kannan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/clock-7x30.h | 155
arch/arm/mach-msm/devices-msm7x30.c | 2 -
2 files changed, 157 deletions(-)
delete mode 100644 arch/arm/mach-msm/clock-
eorder the initcall order of
dma.c so that it initializes after the clock driver probes but
before any drivers use dma APIs.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/Makefile| 9 ++---
arch/arm/mach-msm/board-trout-panel.c | 19 +++
arch/arm/mach
Nobody is using this API upstream and it's just contributing
cruft. Remove it so the MSM clock API is closer to the generic
struct clock API.
Cc: Saravana Kannan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/clock-pcom.c | 10 --
arch/arm/mach-msm/clock.c
original MSM clock code we
make a wrapper for clk_reset() that calls the struct msm_clk
specific reset function. This is necessary for the usb and sdcc
devices on MSM until a better suited API is made available.
Cc: Saravana Kannan
Cc: Mike Turquette
Signed-off-by: Stephen Boyd
---
arch/arm
On 09/18/12 23:05, Stephen Boyd wrote:
> +void devm_clk_unregister(struct device *dev, struct clk *clk)
> +{
> + WARN_ON(devres_destroy(dev, devm_clk_release, devm_clk_match, clk));
Hm... I guess this needs to be devres_release() instead of destroy. Can
you squash this in or should
On 9/21/2012 6:07 PM, Mike Turquette wrote
> I'm not taking any more changes for 3.7, so in the interest of me being
> lazy can you resend with the fixup?
Sure. I'll pick up Mark's acks too and send the whole series again.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualco
On 09/24/12 10:19, Will Deacon wrote:
> On Thu, Sep 20, 2012 at 06:35:56PM +0100, Will Deacon wrote:
>> On Thu, Sep 20, 2012 at 05:57:40PM +0100, Stephen Boyd wrote:
>>> +/* Determine if halting mode is enabled */
>>> +static int halting_mode_enabled(vo
On 09/22/12 03:06, Russell King - ARM Linux wrote:
> On Tue, Sep 18, 2012 at 11:05:27PM -0700, Stephen Boyd wrote:
>> The first patch in this series fixes error checking in the wm831x clock
>> driver and is here to prevent context conflicts in the third patch.
>> I split it
clk_register() returns an ERR_PTR upon failure, not NULL. Fix
these error paths.
Acked-by: Mark Brown
Signed-off-by: Stephen Boyd
---
v2: No changes
drivers/clk/clk-wm831x.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/clk/clk-wm831x.c b/drivers
Move this driver to use devm_clk_register() to simplify some
error paths and reduce lines of code.
Acked-by: Mark Brown
Signed-off-by: Stephen Boyd
---
v2: No changes
drivers/clk/clk-wm831x.c | 30 +++---
1 file changed, 7 insertions(+), 23 deletions(-)
diff --git a
Some clock drivers can be simplified if devres takes care of
unregistering any registered clocks along error paths. Introduce
devm_clk_register() so that clock drivers get unregistration for
free along with simplified error paths.
Signed-off-by: Stephen Boyd
---
v2: Use devres_release
On 09/24/12 15:32, Saravana Kannan wrote:
>> @@ -275,8 +275,11 @@ static int msm_iommu_remove(struct
>> platform_device *pdev)
>>
>> drv = platform_get_drvdata(pdev);
>> if (drv) {
>> -if (drv->clk)
>> +if (drv->clk) {
>> +clk_unprepare(drv->clk);
>>
On 09/26/12 10:35, Pankaj Jangra wrote:
> Hi,
>
> On Fri, Sep 21, 2012 at 7:56 AM, Stephen Boyd wrote:
>> In the near future we'll be moving clock-pcom to a platform
>> driver, in which case these two users of clk_get() in mach-msm
>> need to be updated. H
On 09/26/12 10:51, Pankaj Jangra wrote:
> On Fri, Sep 21, 2012 at 7:56 AM, Stephen Boyd wrote:
>> diff --git a/arch/arm/mach-msm/devices-msm7x30.c
>> b/arch/arm/mach-msm/devices-msm7x30.c
>> index 09b4f14..1597d43 100644
>> --- a/arch/arm/mach-msm/devices-msm7x30.c
On 09/26/12 11:03, Pankaj Jangra wrote:
>
>> +
>> +static int __devinit msm_clock_pcom_probe(struct platform_device *pdev)
>> +{
>> + struct pcom_clk_pdata *pdata = pdev->dev.platform_data;
> Should'nt it be const struct?
Sure. Fixed.
--
Qualcomm Innovation Center, Inc. is a member of Code
On 09/26/12 09:58, Pankaj Jangra wrote:
> On Fri, Sep 21, 2012 at 7:56 AM, Stephen Boyd wrote:
>> diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/otg/msm_otg.c
>> index 9f5fc90..2ae0639 100644
>> --- a/drivers/usb/otg/msm_otg.c
>> +++ b/drivers/usb/otg/msm_
On 09/26/12 11:47, Pankaj Jangra wrote:
> Hi Stephen,
>
> On Fri, Sep 21, 2012 at 7:56 AM, Stephen Boyd wrote:
>
>> -static int pc_clk_set_rate(unsigned id, unsigned rate)
>> +static int pc_clk_set_rate(struct clk_hw *hw, unsigned long new_rate,
>> +
On 10/03/12 23:38, Stephen Boyd wrote:
> This is a small set of patches that fixes some documentation
> and fixes return values of functions that aren't used that
> much yet. Noticed while going through this code.
>
Mike, any comments on these patches?
--
Qualcomm Innovation
ag so that only the work that's
being canceled has the chance to re-queue itself.
Signed-off-by: Stephen Boyd
---
This should probably go to stable. I think this all started happening
in commit 031299b3be30f3ec (cpufreq: governors: Avoid unnecessary per cpu
timer interrupts, 2013-02-27).
file+0x100/0x148)
[] (sysfs_write_file+0x100/0x148) from []
(vfs_write+0xcc/0x174)
[] (vfs_write+0xcc/0x174) from [] (SyS_write+0x38/0x64)
[] (SyS_write+0x38/0x64) from [] (ret_fast_syscall+0x0/0x30)
Signed-off-by: Stephen Boyd
---
On 08/27, Viresh Kumar wrote:
> On 27 August 2013 04:15, Stephe
xa0/0xb0) from [] (ret_from_fork+0x14/0x3c)
Signed-off-by: Stephen Boyd
---
Also found this one. I'm tracking down a pretty bad hotplug/sysfs
race on 3.10. I've applied all the stable patches but I'm seeing this
still. I'll start another thread on this
WARNING: at kernel/mutex
On 08/27/13 16:23, Greg Kroah-Hartman wrote:
> On Tue, Aug 20, 2013 at 11:48:01PM -0700, Stephen Boyd wrote:
>> This patchset aligns the msm_serial driver more with downstream usage and
>> also documents the msm_serial driver's DT binding. Along the way we
>> update the c
Let's follow the ratified DT binding and use uartdm instead of
hsuart. This does break backwards compatibility but this
shouldn't be a problem because the uart driver isn't probing on
these devices without adding clock support (which isn't merged so
far).
Cc: David Brown
Si
to make it clearer what's required and not required.
Cc: David Brown
Cc:
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/tty/serial/msm_serial.txt | 27 ---
.../bindings/tty/serial/qcom,msm-uart.txt | 25 ++
.../bindings/tty/serial/qcom,msm-uartdm.txt
into two files
* Renamed DT binding files to match compatible strings
* Fixed up DT review comments
* Added new patch 5/5 (more than 1 char for UARTDM)
Stephen Boyd (2):
devicetree: serial: Document msm_serial bindings
ARM: dts: msm: Update uartdm compatible strings
.../devicetree/binding
On 08/27/13 16:52, a...@linux-foundation.org wrote:
> * kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch
>
I believe Russell nacked this change[1]? This should probably be dropped
unless there's been more discussion. Or maybe reworked into a comment in
the code that doesn't l
I'm running this simple test code in a shell on my 3.10 kernel and running
into this warning rather quickly.
cd /sys/devices/system/cpu/cpu1
while true
do
echo 0 > online
echo 1 > online
done &
while true
do
echo 30 > cpuf
On 08/27/13 23:34, Viresh Kumar wrote:
> On 28 August 2013 03:31, Stephen Boyd wrote:
>> diff --git a/drivers/cpufreq/cpufreq_governor.c
>> b/drivers/cpufreq/cpufreq_governor.c
>> index b9b20fd..523af48 100644
>> --- a/drivers/cpufreq/cpufreq_governor
On 08/27/13 23:58, Viresh Kumar wrote:
> I haven't gone through the hack yet, but I am trying to understand the
> problem first.. There had been some work in the past around this
> kind of scenarios..
>
> commit 95731ebb114c5f0c028459388560fc2a72fe5049
> Author: Xiaoguang Chen
> Date: Wed Jun 19
On 08/27, Andrew Morton wrote:
> On Tue, 27 Aug 2013 17:50:23 -0700 Stephen Boyd wrote:
>
> > On 08/27/13 16:52, a...@linux-foundation.org wrote:
> > > * kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch
> > >
> >
> > I believe
On 08/28, Kumar Gala wrote:
>
> On Aug 27, 2013, at 7:12 PM, Stephen Boyd wrote:
>
> > This patchset aligns the msm_serial driver more with downstream usage and
> > updates the driver's DT bindings.
> >
> > Changes since v2:
> > * Fixed up DT rev
to make it clearer what's required and not required.
Cc: David Brown
Cc:
Acked-by: Kumar Gala
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/serial/qcom,msm-uart.txt | 25 ++
.../devicetree/bindings/serial/qcom,msm-uartdm.txt | 53 ++
.../
Acked-by: Kumar Gala
Signed-off-by: Stephen Boyd
---
arch/arm/boot/dts/msm8660-surf.dts | 2 +-
arch/arm/boot/dts/msm8960-cdp.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/msm8660-surf.dts
b/arch/arm/boot/dts/msm8660-surf.dts
index cdc010e..386d428 1
ce v1:
* Dropped _clk postfix from {core,iface}_clk
* Split DT binding into two files
* Renamed DT binding files to match compatible strings
* Fixed up DT review comments
* Added new patch 5/5 (more than 1 char for UARTDM)
Stephen Boyd (2):
devicetree: serial: Document msm_serial bindings
ARM
igned-off-by: Stephen Boyd
---
drivers/cpufreq/cpufreq_governor.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/cpufreq/cpufreq_governor.c
b/drivers/cpufreq/cpufreq_governor.c
index b9b20fd..bfbcf9a 100644
--- a/drivers/cpufreq/cpufreq_governor.c
+++ b/dr
This config item already exists generically in lib/Kconfig.debug.
Remove the duplicate config in arm64.
Signed-off-by: Stephen Boyd
---
arch/arm64/Kconfig.debug | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/arm64/Kconfig.debug b/arch/arm64/Kconfig.debug
index 1a6bfe9..835c5597
On 09/27/13 03:52, Daniel Lezcano wrote:
> The sleep_length is computed in the tick_nohz_stop_sched_tick function but it
> is used later in the code with in between the local irq enabled.
>
> cpu_idle_loop
> tick_nohz_idle_enter [ exits with local irq enabled ]
>__tick_nohz_idle_enter
On 10/02/13 10:14, Santosh Shilimkar wrote:
> On Wednesday 02 October 2013 01:09 PM, Will Deacon wrote:
>> On Wed, Oct 02, 2013 at 05:55:28PM +0100, Santosh Shilimkar wrote:
>>> The sched_clock code uses 2 levels of function pointers, sched_clock_func()
>>> and read_sched_clock() but the no sched_c
On 10/02/13 10:27, Santosh Shilimkar wrote:
> On Wednesday 02 October 2013 01:22 PM, Stephen Boyd wrote:
>> On 10/02/13 10:14, Santosh Shilimkar wrote:
>>> On Wednesday 02 October 2013 01:09 PM, Will Deacon wrote:
>>>> On Wed, Oct 02, 2013 at 05:55:28PM +0100, Sant
Add support to the clock core so that drivers can pass in a
regmap. If no regmap is specified try to query the device that's
registering the clock for its regmap. This should allow drivers
to use the core regmap helpers.
Signed-off-by: Stephen Boyd
---
drivers/clk/clk.c
accessors so other bus
type clocks don't benefit from the potential code reuse. Add some
simple regmap helpers for enable/disable/is_enabled that drivers
can use as drop in replacements for their clock ops or as simple
functions they call from their own custom ops.
Signed-off-by: Stephen
directory be renamed to qcom to match the binding?
3) What is the right place for clock dt binding #defines? clk/ or clock/?
Stephen Boyd (9):
clk: Allow drivers to pass in a regmap
clk: Add regmap core helpers for enable/disable/is_enabled
clk: Add set_rate_and_parent() op
clk: msm: A
Add support for MSM's PLLs (phase locked loops). This is
sufficient enough to be able to determine the rate the PLL is
running at. We can add rate setting support later when it's
needed.
Signed-off-by: Stephen Boyd
---
drivers/clk/Kconfig | 2 +
drivers/clk/Makefile
Add a driver for the global clock controller found on MSM8960
based platforms. This should allow most non-multimedia device
drivers to probe and control their clocks.
TODO: Fill out reset of data and define all clocks
Cc:
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/clock/qcom
hange during
clk_set_rate() it will call the .set_rate_and_parent() op if
available and fall back to calling .set_parent() followed by
.set_rate() otherwise.
Reviewed-by: James Hogan
Signed-off-by: Stephen Boyd
---
Documentation/clk.txt| 3 ++
drivers/clk/clk.c
Add a driver for the multimedia clock controller found on MSM
8960 based platforms. This should allow multimedia device drivers
to probe and control their clocks.
TODO: Fill out reset of data and define all clocks
Cc:
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/clock/qcom,mmcc.txt
Signed-off-by: Stephen Boyd
---
drivers/clk/msm/Makefile | 1 +
drivers/clk/msm/clk-branch.c | 153 +++
drivers/clk/msm/clk-branch.h | 50 ++
3 files changed, 204 insertions(+)
create mode 100644 drivers/clk/msm/clk-branch.c
create
Add support for the root clock generators on MSM devices. RCGs
are highly customizable mux/divider/counter clocks that can be
used to generate almost any rate desired given some input source
that is faster than the desired rate.
Signed-off-by: Stephen Boyd
---
drivers/clk/msm/Makefile | 2
On 10/03/13 07:52, Stanimir Varbanov wrote:
> +#define PRNG_CONFIG_MASK 0x0002
> +#define PRNG_CONFIG_HW_ENABLEBIT(1)
These two are the same so please drop the PRNG_CONFIG_MASK define and
just use the PRNG_CONFIG_HW_ENABLE define.
> +#define PRNG_STATUS_DATA_AVAIL BIT(0)
> +
This header file is no longer needed now that the ARM sched_clock
framework is generic and all users have moved to linux/sched_clock.h
instead of asm/sched_clock.h. Remove it.
Signed-off-by: Stephen Boyd
---
arch/arm/include/asm/sched_clock.h | 4
1 file changed, 4 deletions(-)
delete
The sched_clock.h include is under include/linux now.
Cc: Alexander Shiyan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-clps711x/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-clps711x/common.c b/arch/arm/mach-clps711x/common.c
index 4ca2f3c
On 10/04/13 09:31, Stanimir Varbanov wrote:
>
>>> +static int msm_rng_probe(struct platform_device *pdev)
>>> +{
>>> + struct msm_rng *rng;
>>> + struct device_node *np;
>>> + struct resource res;
>>> + int ret;
>>> +
>>> + np = of_node_get(pdev->dev.of_node);
>>> + if (!np)
>>> +
On 06/27, Olof Johansson wrote:
> On Tue, Jun 25, 2013 at 01:02:12PM -0700, Stephen Boyd wrote:
> > Olof/Arnd,
> >
> > These patches remove the ARM local timer API. The ARM architected
> > timers have already moved away from this API so this series
> > migrates
mpletion.
Reported-by: Sundarajan Srinivasan
Signed-off-by: Stephen Boyd
---
Resending this patch now that the context has changed.
arch/arm/kernel/process.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 7f1efcd..8bc12d7 100644
--
On 07/12, Javi Merino wrote:
> On Sat, Jul 06, 2013 at 12:39:33AM +0100, Stephen Boyd wrote:
> > In a uniprocessor implementation the interrupt processor targets
> > registers are read-as-zero/write-ignored (RAZ/WI). Unfortunately
> > gic_get_cpumask() will print a cr
>> broadcast timer interrupts trigger on the secondary CPU cores.
>>>
>>> Signed-off-by: Magnus Damm
>> Tested-by: Simon Horman
>>
>> I will let this sit for a few days to see if there is any further feedback.
Reviewed-by: Stephen Boyd
--
Qualcomm Inn
On 09/04/13 16:55, Rafael J. Wysocki wrote:
>
> Well, I'm not sure when Viresh is going to be back.
>
> Srivatsa, can you please resend this patch with a proper changelog?
>
I haven't had a chance to try this out yet, but I was just thinking
about this patch. How is it going to work? If one task o
On 09/04/13 17:26, Rafael J. Wysocki wrote:
> On Wednesday, September 04, 2013 04:50:01 PM Stephen Boyd wrote:
>> On 09/04/13 16:55, Rafael J. Wysocki wrote:
>>> Well, I'm not sure when Viresh is going to be back.
>>>
>>> Srivatsa, can you please resend thi
We don't want or need the irqs.h files from the DT based MSM
targets. Remove these header files and select sparse irq so that
we don't try to include the mach/irqs.h file.
Signed-off-by: Stephen Boyd
---
On 09/06, Josh Cartwright wrote:
>
> Selecting _only_ ARCH_MSM8974 wi
On 09/06/13 13:31, Stephen Boyd wrote:
> diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
> index 905efc8..30b3342 100644
> --- a/arch/arm/mach-msm/Kconfig
> +++ b/arch/arm/mach-msm/Kconfig
> @@ -50,6 +50,7 @@ config ARCH_MSM8X60
> select HAVE_SMP
>
On 09/09/13 16:01, Rohit Vaswani wrote:
> diff --git a/arch/arm/mach-msm/board-dt.c b/arch/arm/mach-msm/board-dt.c
> new file mode 100644
> index 000..c140c53
> --- /dev/null
> +++ b/arch/arm/mach-msm/board-dt.c
> @@ -0,0 +1,32 @@
> +/* Copyright (c) 2010-2012, The Linux Foundation. All rights
On 09/09/13 16:24, Rohit Vaswani wrote:
> diff --git a/arch/arm/mach-msm/board-dt.c b/arch/arm/mach-msm/board-dt.c
> new file mode 100644
> index 000..16e6183
> --- /dev/null
> +++ b/arch/arm/mach-msm/board-dt.c
> @@ -0,0 +1,32 @@
> +/* Copyright (c) 2010-2012,2013 The Linux Foundation. All rig
On 10/10/13 12:13, Maxime Ripard wrote:
> On Wed, Sep 25, 2013 at 04:16:14PM -0700, Stephen Boyd wrote:
>> On 09/25/13 07:03, Maxime Ripard wrote:
>>> + sun5i_clockevent.cpumask = cpumask_of(0);
>> Can this timer interrupt any CPU or is it hardwired to CPU0? If the
>&g
On 08/29, Viresh Kumar wrote:
> On 28 August 2013 22:22, Stephen Boyd wrote:
> >
> > I've applied these patches on top of v3.10
> >
> > f51e1eb63d9c28cec188337ee656a13be6980cfd (cpufreq: Fix cpufreq regression
> > after suspend/resume
> > aae760ed21cd6
On 08/30/13 16:10, John Stultz wrote:
> On 08/30/2013 04:04 PM, Gerlando Falauto wrote:
>> Hi,
>>
>> sorry, it took me a while to narrow it down...
>>
>> On 08/30/2013 01:45 AM, John Stultz wrote:
>>> On 08/29/2013 01:56 PM, Falauto, Gerlando wrote:
Hi everyone,
I ran into the deadlo
accurate than using an
external RTC or architecture specific persistent clock.
Cc: Mark Rutland
Signed-off-by: Stephen Boyd
---
drivers/clocksource/arm_arch_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/arm_arch_timer.c
b/drivers/clocksource
On 09/24/13 11:06, Andrew Bresticker wrote:
> +static int __init exynos_audss_clk_init(void)
> +{
> + return platform_driver_register(&exynos_audss_clk_driver);
> +}
> +core_initcall(exynos_audss_clk_init);
> +
> +static void __init exynos_audss_clk_exit(void)
__exit?
> +{
> + platform_dr
On 09/25/13 07:03, Maxime Ripard wrote:
> diff --git
> a/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt
> b/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt
> new file mode 100644
> index 000..b1f81e9
> --- /dev/null
> +++ b/Documentation/device
Rename this file to signify that this board is only supported via
devicetree.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/Makefile | 2 +-
arch/arm/mach-msm/{board-msm8x60.c => board-dt-8660.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename a
Consolidate the handful of iomapping functions into common.h so
that board files don't need to include mach/msm_iomap.h if they
don't need static virtual mapping addresses.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/board-dt-8660.c | 1 -
arch/arm/mach-ms
We don't plan to support anything besides devicetree on these
targets so remove all other machine support.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/Kconfig | 27 +-
arch/arm/mach-msm/board-msm8x60.c | 106 ++
arch/arm/mac
Remove the non-DT targets supported by 8960. This makes 8960 a
device tree only target.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/Kconfig | 13 -
arch/arm/mach-msm/Makefile | 1 -
arch/arm/mach-msm/board-msm8960.c | 110
The MSM code has some antiquated register writes to set up the
PPIs to be edge triggered. Now that we have the percpu irq
interface we don't need this code so let's remove it and update
the percpu irq user (msm_timer) to set the irq type.
Signed-off-by: Stephen Boyd
---
arch/arm/mach
Add support to setup the MSM timer via information obtained from
the devicetree.
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/arm/msm/timer.txt | 38 ++
arch/arm/mach-msm/common.h | 1 +
arch/arm/mach-msm/timer.c | 87
n the previous 8660 dt fixlets patches I sent and it also
assumes that 'ARM: msm: Remove call to missing FPGA init on 8660' has been
applied.
Stephen Boyd (9):
ARM: msm: Don't touch GIC registers outside of GIC code
ARM: msm: Allow timer.c to compile on multiple targets
ARM: ms
Add basic support to boot 8960 with device tree. For now just
support a basic machine with a uart device.
Signed-off-by: Stephen Boyd
---
arch/arm/boot/dts/msm8960-cdp.dts | 41
arch/arm/mach-msm/Kconfig | 1 +
arch/arm/mach-msm/Makefile| 1
Add the timer entry and point the machine descriptor to the
device tree based msm timer.
Signed-off-by: Stephen Boyd
---
arch/arm/boot/dts/msm8660-surf.dts | 17 +
arch/arm/mach-msm/board-msm8x60.c | 2 +-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm
replace all the
defines with raw values that are passed to a common
initialization function.
This paves the way to adding DT support to this code as well as
allows us to compile this file on multiple targets at the same
time.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/board-halibut.c
runs to
completion.
Reported-by: Sundarajan Srinivasan
Signed-off-by: Stephen Boyd
---
Unfortunately this won't fix the other problem I mentioned two weeks
ago where smp_send_stop races with other CPUs calling cpu_up().
arch/arm/kernel/process.c | 1 +
1 file changed, 1 insertion(+)
diff
It seems we were missing some text in the title for the
semihosting DEBUG_LL option. Add in the "/O" and fix up some
minor typos in the help text.
Signed-off-by: Stephen Boyd
Cc: Nicolas Pitre
---
arch/arm/Kconfig.debug | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
di
This is dead code that isn't initialized or setup (although it is
compiled). Remove it and the data structures it references.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/Makefile | 2 +-
arch/arm/mach-msm/acpuclock-arm11.c| 525 -
arc
This board file has never been compiled. Let's just remove it
along with the one Kconfig reference to it in io.c.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/board-msm7x27.c | 170 --
arch/arm/mach-msm/io.c| 3 +-
2 files chang
On 09/06/12 10:16, Rohit Vaswani wrote:
> static struct map_desc msm_io_desc[] __initdata = {
> - MSM_DEVICE(VIC),
> - MSM_CHIP_DEVICE(CSR, MSM7X00),
> - MSM_DEVICE(DMOV),
> - MSM_CHIP_DEVICE(GPIO1, MSM7X00),
> - MSM_CHIP_DEVICE(GPIO2, MSM7X00),
> - MSM_DEVICE(CLK_CTL),
> +
On 09/07/12 15:58, David Brown wrote:
> On Wed, Sep 05, 2012 at 12:28:58PM -0700, Stephen Boyd wrote:
>
>> +DT_MACHINE_START(MSM8960_DT, "Qualcomm MSM (Flattened Device Tree)")
> The description string should specify the general name of what this is
> suspporting. R
Remove the unused GCC, ACC, and shared memory definitions in the
8660 static mappings. This allows the 8660 header file to be
included in msm_iomap.h unconditionally.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/include/mach/msm_iomap-8x60.h | 11 ---
arch/arm/mach-msm/include/mach
users to select targets
that must be compiled in isolation.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/Kconfig | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index b2740c8..7902de15 100644
--- a/arch/arm/mach
.
Reviewed-by: Nicolas Pitre
Signed-off-by: Stephen Boyd
---
arch/arm/include/asm/hardirq.h | 2 +-
arch/arm/kernel/smp.c | 13 +
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/arch/arm/include/asm/hardirq.h b/arch/arm/include/asm/hardirq.h
index 436e60b
On 01/03/13 21:51, Prashant Gaikwad wrote:
> diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
> index f0b269a..baf7608 100644
> --- a/drivers/clk/Makefile
> +++ b/drivers/clk/Makefile
> @@ -2,7 +2,8 @@
> obj-$(CONFIG_HAVE_CLK) += clk-devres.o
> obj-$(CONFIG_CLKDEV_LOOKUP) +
SMP, this is unnecessary.
You might want to add that GENERIC_CLOCKEVENTS_BROADCAST depends on
GENERIC_CLOCKEVENTS and SMP depends on GENERIC_CLOCKEVENTS too.
> This patch removes the redundant guard.
>
> Signed-off-by: Mark Rutland
Reviewed-by: Stephen Boyd
--
Qualcomm Innovation Cen
On 12/18/12 04:06, Mark Rutland wrote:
> diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
> index f113755..c2dd022 100644
> --- a/kernel/time/tick-broadcast.c
> +++ b/kernel/time/tick-broadcast.c
> @@ -125,6 +125,21 @@ int tick_device_uses_broadcast(struct clock_event_device
Minor nit
On 12/18/12 04:06, Mark Rutland wrote:
> diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
> index c2dd022..ec22a80 100644
> --- a/kernel/time/tick-broadcast.c
> +++ b/kernel/time/tick-broadcast.c
> @@ -86,6 +87,12 @@ int tick_is_broadcast_device(struct clock_event
It seems that this assignment is done twice in a row. Remove the
duplicate assignment.
Signed-off-by: Stephen Boyd
Cc: Steven Miao
Cc: triv...@kernel.org
---
Noticed while grepping for broadcast users.
arch/blackfin/kernel/time-ts.c | 6 --
1 file changed, 6 deletions(-)
diff --git a
On 12/19/12 09:26, Josh Cartwright wrote:
> On Mon, Dec 17, 2012 at 01:02:15PM -0800, Stephen Boyd wrote:
>> Reduce lines of code and simplify this driver by using the
>> generic clock binding parsing function. This also fixes a bug
>> where the 'flags' member of the
On 12/19/12 10:36, Josh Cartwright wrote:
> On Wed, Dec 19, 2012 at 10:20:30AM -0800, Stephen Boyd wrote:
>> On 12/19/12 09:26, Josh Cartwright wrote:
>>> On Mon, Dec 17, 2012 at 01:02:15PM -0800, Stephen Boyd wrote:
> [..]
>> Can you show the code at those line num
101 - 200 of 10018 matches
Mail list logo