Re: [RFC 3/5] ARM: CTI: Convert CTI helpers to AMBA bus driver

2012-12-13 Thread Jon Hunter
On 12/13/2012 09:08 AM, Will Deacon wrote: > On Wed, Dec 12, 2012 at 09:43:06PM +0000, Jon Hunter wrote: >> Convert the Cross Trigger Interface (CTI) helpers in cti.h into a >> AMBA bus driver so that we can use device-tree to look-up the hardware >> specific information suc

Re: [RFC 2/5] ARM: dts: Add Cross Trigger Interface binding

2012-12-13 Thread Jon Hunter
On 12/13/2012 11:41 AM, Will Deacon wrote: > On Wed, Dec 12, 2012 at 09:43:05PM +0000, Jon Hunter wrote: >> Adds a device-tree binding for the ARM Cross Trigger Interface (CTI). >> The ARM Cross Trigger Interface provides a way to route events between >> processor mod

Re: [RFC 1/5] ARM: CORESIGHT: Add generic lock/unlock helpers

2012-12-13 Thread Jon Hunter
On 12/13/2012 08:58 AM, Will Deacon wrote: > Hi Jon, > > On Wed, Dec 12, 2012 at 09:43:04PM +0000, Jon Hunter wrote: >> The Cross Trigger Interface (CTI) helpers in cti.h include definitions >> for the Coresight Lock Access Register (LAR) and Lock Status Register >>

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-13 Thread Jon Hunter
On 12/12/2012 10:33 PM, NeilBrown wrote: > On Thu, 13 Dec 2012 14:06:35 +1100 NeilBrown wrote: > + omap_dm_timer_enable(omap->dm_timer); >>> >>> Do you need to call omap_dm_timer_enable here? _set_load and _set_match >>> will enable the timer. So this should not be necessary. >> >> True.

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-13 Thread Jon Hunter
On 12/12/2012 09:06 PM, NeilBrown wrote: > > [Thierry: question for you near the end - thanks] > > On Wed, 12 Dec 2012 10:08:28 -0600 Jon Hunter wrote: > >> Hi Neil, >> >> On 12/12/2012 02:24 AM, NeilBrown wrote: >>> >>> >>> This pa

Re: [RFC 2/5] ARM: dts: Add Cross Trigger Interface binding

2012-12-12 Thread Jon Hunter
On 12/12/2012 04:12 PM, Rob Herring wrote: > On 12/12/2012 03:43 PM, Jon Hunter wrote: >> Adds a device-tree binding for the ARM Cross Trigger Interface (CTI). >> The ARM Cross Trigger Interface provides a way to route events between >> processor modules. For example, on OM

Re: [PATCH v7 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-12-12 Thread Jon Hunter
On 12/12/2012 03:13 AM, Daniel Mack wrote: > On 06.12.2012 17:19, Jon Hunter wrote: >> >> On 12/05/2012 05:24 PM, Grant Likely wrote: >>> On Wed, 5 Dec 2012 16:33:48 -0600, Jon Hunter wrote: >>>> Hi Grant, >>>> >>>> On 12/05/2012 04:2

[RFC 4/5] ARM: dts: OMAP4: Add CTI nodes

2012-12-12 Thread Jon Hunter
Add device-tree nodes for the two Cross Trigger Interface (CTI) modules in the OMAP4 devices. Signed-off-by: Jon Hunter --- arch/arm/boot/dts/omap4.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi

[RFC 1/5] ARM: CORESIGHT: Add generic lock/unlock helpers

2012-12-12 Thread Jon Hunter
following coresight macros ... - coresight_unlock() --> Unlocks coresight module - coresight_lock() --> Locks coresight module Use the above macros for ETB, ETM and CTI. The do-while(0) statement has been removed from the macro as it is not a multi-line macro. Signed-off-by: Jon

[RFC 3/5] ARM: CTI: Convert CTI helpers to AMBA bus driver

2012-12-12 Thread Jon Hunter
supports CTI modules that have a single CPU interrupt, however, could be extended in the future to support more interrupts if a device requires this. Signed-off-by: Jon Hunter --- arch/arm/include/asm/cti.h | 153 drivers/Kconfig|2 + drivers/amba

[RFC 0/5] ARM: Add Cross Trigger Interface driver

2012-12-12 Thread Jon Hunter
-next branch and Will Deacon's patch for the CTI lock registers [2]. [1] http://article.gmane.org/gmane.linux.ports.arm.kernel/204591/match=coresight+bus [2] http://article.gmane.org/gmane.linux.ports.arm.kernel/200199/match=fix+manipulation+debug+lock+register Jon Hunter (5): ARM: CORE

[RFC 5/5] ARM: OMAP4: Add AMBA APB Clock

2012-12-12 Thread Jon Hunter
frameworks only support platform devices and not AMBA devices. Therefore, add a clock alias for the AMBA APB clock for OMAP4 devices to turn on the DEBUGSS power and clock domain. Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/cclock44xx_data.c |1 + 1 file changed, 1 insertion(+) diff

[RFC 2/5] ARM: dts: Add Cross Trigger Interface binding

2012-12-12 Thread Jon Hunter
Adds a device-tree binding for the ARM Cross Trigger Interface (CTI). The ARM Cross Trigger Interface provides a way to route events between processor modules. For example, on OMAP4430 we use the CTI module to route PMU events to the GIC interrupt module. Signed-off-by: Jon Hunter

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread Jon Hunter
On 12/12/2012 05:31 AM, Thierry Reding wrote: > On Wed, Dec 12, 2012 at 07:24:30PM +1100, NeilBrown wrote: [snip] >> +static int omap_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) >> +{ >> +struct omap_chip *omap = to_omap_chip(chip); >> +int status = 0; >> + >> +/* Enabl

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread Jon Hunter
Hi Neil, On 12/12/2012 02:24 AM, NeilBrown wrote: > > > This patch is based on an earlier patch by Grant Erickson > which provided pwm devices using the 'legacy' interface. > > This driver instead uses the new framework interface. > > Cc: Grant Erickson > Signed-off-by: NeilBrown > > diff -

[PATCH] ARM: OMAP4: Fix EMU clock domain always on

2012-12-07 Thread Jon Hunter
sible that the clock domain can have a non-zero use count when the actual clock has a use count of 0. Therefore, we should only bypass the clock-domain handling when both the clock-domain and clock in the clock-domain have a use count of 0 and warn when the clock-domain has a zero use count and the

Re: [PATCH v7 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-12-06 Thread Jon Hunter
On 12/06/2012 10:54 AM, Daniel Mack wrote: > On 06.12.2012 17:22, Jon Hunter wrote: >> >> On 12/05/2012 06:03 PM, Tony Lindgren wrote: >>> * Grant Likely [121205 15:26]: >>>> On Wed, 5 Dec 2012 16:33:48 -0600, Jon Hunter wrote: >>>

Re: [PATCH v7 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-12-06 Thread Jon Hunter
On 12/05/2012 06:03 PM, Tony Lindgren wrote: > * Grant Likely [121205 15:26]: >> On Wed, 5 Dec 2012 16:33:48 -0600, Jon Hunter wrote: >>> On 12/05/2012 04:22 PM, Grant Likely wrote: >>>> >>>> Please, be specific. Use something like "ti,am3340-g

Re: [PATCH v7 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-12-06 Thread Jon Hunter
On 12/05/2012 05:24 PM, Grant Likely wrote: > On Wed, 5 Dec 2012 16:33:48 -0600, Jon Hunter wrote: >> Hi Grant, >> >> On 12/05/2012 04:22 PM, Grant Likely wrote: >>> On Wed, 5 Dec 2012 20:09:31 +0100, Daniel Mack wrote: >>>> This patch adds basic DT bi

Re: [PATCH v7 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-12-05 Thread Jon Hunter
Hi Grant, On 12/05/2012 04:22 PM, Grant Likely wrote: > On Wed, 5 Dec 2012 20:09:31 +0100, Daniel Mack wrote: >> This patch adds basic DT bindings for OMAP GPMC. >> >> The actual peripherals are instantiated from child nodes within the GPMC >> node, and the only type of device that is currently

Re: [PATCH v7 0/5] OMAP GPMC DT bindings

2012-12-05 Thread Jon Hunter
master + > omap-next (branch omap-for-v3.8/cleanup-headers-gpmc) > > Generated from linux-next as of today, resolving one trivial include > file rebase conflict. > > The only supported peripheral for now is NAND, but other types would be > easy to add. > > Version 2 addr

Re: [PATCH v6 4/5] ARM: OMAP: gpmc: enable hwecc for AM33xx SoCs

2012-12-05 Thread Jon Hunter
On 12/05/2012 12:40 PM, Daniel Mack wrote: > On 05.12.2012 19:33, Tony Lindgren wrote: >> * Jon Hunter [121205 10:22]: >>> >>> On 12/05/2012 11:41 AM, Tony Lindgren wrote: >>>> * Daniel Mack [121205 09:29]: >>>>> On 05.12.2012 18:19, Tony

Re: [PATCH v6 4/5] ARM: OMAP: gpmc: enable hwecc for AM33xx SoCs

2012-12-05 Thread Jon Hunter
On 12/05/2012 11:41 AM, Tony Lindgren wrote: > * Daniel Mack [121205 09:29]: >> On 05.12.2012 18:19, Tony Lindgren wrote: >>> >>> The plat/cpu.h file will disappear after the merge window, which means >>> omap2+ related drivers cannot use cpu_is_omap macros. >>> >>> For legacy booting systems, th

[PATCH V2 3/4] ARM: OMAP4: Enhance support for DPLLs with 4X multiplier

2012-12-03 Thread Jon Hunter
been updated to avoid passing the calculated values for the multiplier (M) and divider (N) as these are stored in the clk structure. Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/cclock44xx_data.c |2 ++ arch/arm/mach-omap2/clock.h | 10 ++ arch/arm/mach-omap2/dpll3

[PATCH V2 4/4] ARM: OMAP4460: Workaround ABE DPLL failing to turn-on

2012-12-03 Thread Jon Hunter
boot. By locking the ABE DPLL, when clocks from the ABE DPLL are not being requested the DPLL will transition into a low-power stop mode. Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/cclock44xx_data.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/mach

[PATCH V2 1/4] ARM: OMAP4: Update timer clock aliases

2012-12-03 Thread Jon Hunter
to set the parent clock of timers 5-7 to the sys_clk_div_ck. Therefore, update the clock aliases for timer 5-7 to reflect the updated device-tree name for the timers. Signed-off-by: Jon Hunter [p...@pwsan.com: updated to apply after the CCF conversion] Signed-off-by: Paul Walmsley --- arch/arm/

[PATCH V2 2/4] ARM: OMAP4: Add function table for non-M4X dplls

2012-12-03 Thread Jon Hunter
longer work. Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/cclock44xx_data.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/cclock44xx_data.c b/arch/arm/mach-omap2/cclock44xx_data.c index a1f0b55..7c1ffe6 100644 --- a/arch/arm

[PATCH V2 0/4] ARM: OMAP4: Clock fixes

2012-12-03 Thread Jon Hunter
that includes common clock updates for OMAP4. - Added new function table for non-M4X DPLLs which is now required after enhancing support for OMAP4 DPLLs for 4X multiplier. Jon Hunter (4): ARM: OMAP4: Update timer clock aliases ARM: OMAP4: Add function table for non-M4X dplls ARM: OMAP4

Re: [PATCH] of: dma: Fix-up for warnings !CONFIG_OF

2012-11-30 Thread Jon Hunter
On 11/29/2012 05:47 PM, Vinod Koul wrote: > On Thu, 2012-11-29 at 16:24 -0600, Jon Hunter wrote: >> When compiling the kernel with DMA engine support enabled and device-tree >> support disabled, the following warnings are observed. > Thanks, already committed same change

[PATCH] of: dma: Fix-up for warnings !CONFIG_OF

2012-11-29 Thread Jon Hunter
to avoid the unused warnings. Reported-by: Fengguang Wu Signed-off-by: Jon Hunter --- include/linux/of_dma.h | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/include/linux/of_dma.h b/include/linux/of_dma.h index 84b64f8..b14a34f 100644 --- a/include/linux/of_dma

Re: [PATCH v6 4/5] ARM: OMAP: gpmc: enable hwecc for AM33xx SoCs

2012-11-29 Thread Jon Hunter
On 11/29/2012 02:42 PM, Daniel Mack wrote: > On 29.11.2012 21:32, Jon Hunter wrote: >> >> On 11/29/2012 01:59 PM, Jon Hunter wrote: >>> >>> On 11/29/2012 10:01 AM, Daniel Mack wrote: >>>> The am33xx is capable of handling bch error correction mod

Re: [PATCH v6 4/5] ARM: OMAP: gpmc: enable hwecc for AM33xx SoCs

2012-11-29 Thread Jon Hunter
On 11/29/2012 01:59 PM, Jon Hunter wrote: > > On 11/29/2012 10:01 AM, Daniel Mack wrote: >> The am33xx is capable of handling bch error correction modes, so >> enable that feature in the driver. >> >> Signed-off-by: Daniel Mack >> --- >> arch/arm/mach-

Re: [PATCH v6 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-11-29 Thread Jon Hunter
On 11/29/2012 10:01 AM, Daniel Mack wrote: > This patch adds basic DT bindings for OMAP GPMC. > > The actual peripherals are instantiated from child nodes within the GPMC > node, and the only type of device that is currently supported is NAND. > > Code was added to parse the generic GPMC timing

Re: [PATCH v6 4/5] ARM: OMAP: gpmc: enable hwecc for AM33xx SoCs

2012-11-29 Thread Jon Hunter
On 11/29/2012 10:01 AM, Daniel Mack wrote: > The am33xx is capable of handling bch error correction modes, so > enable that feature in the driver. > > Signed-off-by: Daniel Mack > --- > arch/arm/mach-omap2/gpmc-nand.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --

Re: [PATCH v6 1/5] ARM: OMAP: gpmc: don't create devices from initcall on DT

2012-11-29 Thread Jon Hunter
+ > oh = omap_hwmod_lookup(oh_name); > if (!oh) { > pr_err("Could not look up %s\n", oh_name); Acked-by: Jon Hunter Thanks Jon -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 0/3] ARM: OMAP4: Clock fixes

2012-11-29 Thread Jon Hunter
On 11/29/2012 05:21 AM, Paul Walmsley wrote: > Hi Jon, > > On Wed, 7 Nov 2012, Jon Hunter wrote: > >> Fixes included, fixing up timer clock aliases for v3.8 and working >> around ABE DPLL issue seen with latest u-boot bootloader (v2012.10). >> >> Testing inc

Re: [PATCH 1/3] ARM: OMAP4: Update timer clock aliases

2012-11-29 Thread Jon Hunter
On 11/29/2012 04:53 AM, Paul Walmsley wrote: > Hi Jon, > > On Wed, 7 Nov 2012, Jon Hunter wrote: > >> Commit "ARM: dts: OMAP4: Update timer addresses" updated the device-tree >> names of the OMAP4 timers 5-7 because the default address for the timers >>

[PATCH V2 3/4] ARM: AM335x: Fix warning in timer.c

2012-11-28 Thread Jon Hunter
initialisation function for the AM335x device as it has no 32k-sync timer. Fix this by adding the "__maybe_unused" compiler directive to the omap2_sync32k_clocksource_init() function to indicate that this function may be used for certain configurations. Cc: Igor Grinberg Signed-off-by:

[PATCH V2 2/4] ARM: OMAP4: Fix build error and warning in timer.c

2012-11-28 Thread Jon Hunter
init". Therefore, correct this typo to resolve the above error and warning. Cc: Igor Grinberg Reported-by: Tony Lindgren Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar Acked-by: Igor Grinberg --- arch/arm/mach-omap2/timer.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(

[PATCH V2 1/4] ARM: OMAP2+: Fix realtime_counter_init warning in timer.c

2012-11-28 Thread Jon Hunter
Shilimkar Reported-by: Tony Lindgren Signed-off-by: Jon Hunter Acked-by Santosh Shilimkar --- arch/arm/mach-omap2/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 813c267..500f2f6 100644 --- a/arch/arm

[PATCH V2 4/4] ARM: OMAP2+: Fix sparse warnings in timer.c

2012-11-28 Thread Jon Hunter
r.c:213:12: warning: symbol 'omap_dm_timer_get_errata' was not declared. Should it be static? Add static to function declaration to fix warnings. Signed-off-by: Vaibhav Hiremath Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/timer.c |4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[PATCH V2 0/4] ARM: OMAP2+: Timer build warnings and error fixes

2012-11-28 Thread Jon Hunter
ybe_unused (thanks Igor!) - Add Vaibhav's fixes for sparse warnings Jon Hunter (3): ARM: OMAP2+: Fix realtime_counter_init warning in timer.c ARM: OMAP4: Fix build error and warning in timer.c ARM: AM335x: Fix warning in timer.c Vaibhav Hiremath (1): ARM: OMAP2+: Fix sparse warn

Re: OMAP* Latest build failures

2012-11-28 Thread Jon Hunter
On 11/28/2012 09:18 AM, Russell King - ARM Linux wrote: > On Tue, Nov 20, 2012 at 05:00:19PM -0600, Jon Hunter wrote: >> >> On 11/20/2012 11:57 AM, Tony Lindgren wrote: >>> * Russell King - ARM Linux [121117 01:35]: >>>> On Wed, Nov 14, 2012 at 09:26:43AM +

Re: [PATCH 3/3] ARM: AM335x: Fix warning in timer.c

2012-11-28 Thread Jon Hunter
On 11/28/2012 01:20 AM, Santosh Shilimkar wrote: > On Wednesday 28 November 2012 12:16 PM, Igor Grinberg wrote: >> On 11/28/12 08:28, Santosh Shilimkar wrote: >>> On Wednesday 28 November 2012 07:45 AM, Jon Hunter wrote: >>>> When compiling the ker

Re: [PATCH 1/3] ARM: OMAP2+: Fix realtime_counter_init warning in timer.c

2012-11-28 Thread Jon Hunter
On 11/28/2012 09:55 AM, Santosh Shilimkar wrote: > On Wednesday 28 November 2012 09:17 PM, Jon Hunter wrote: >> >> On 11/28/2012 12:09 AM, Santosh Shilimkar wrote: >>> On Wednesday 28 November 2012 07:45 AM, Jon Hunter wrote: >>>> In commit fa6d79d (ARM: OMAP:

Re: [PATCH 1/3] ARM: OMAP2+: Fix realtime_counter_init warning in timer.c

2012-11-28 Thread Jon Hunter
On 11/28/2012 12:09 AM, Santosh Shilimkar wrote: > On Wednesday 28 November 2012 07:45 AM, Jon Hunter wrote: >> In commit fa6d79d (ARM: OMAP: Add initialisation for the real-time >> counter), the function realtime_counter_init() was added. However, if >> the kernel

[PATCH 3/3] ARM: AM335x: Fix warning in timer.c

2012-11-27 Thread Jon Hunter
initialisation function for the AM335x device as it has no 32k-sync timer. Fix this by only including the omap2_sync32k_clocksource_init() function if either OMAP2, OMAP3, OMAP4 or OMAP5 devices are enabled. Cc: Igor Grinberg Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/timer.c |3 +++ 1

[PATCH 2/3] ARM: OMAP4: Fix build error and warning in timer.c

2012-11-27 Thread Jon Hunter
init". Therefore, correct this typo to resolve the above error and warning. Cc: Igor Grinberg Reported-by: Tony Lindgren Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/timer.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/timer.c b/arc

[PATCH 1/3] ARM: OMAP2+: Fix realtime_counter_init warning in timer.c

2012-11-27 Thread Jon Hunter
Reported-by: Tony Lindgren Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/Kconfig |4 arch/arm/mach-omap2/timer.c |7 ++- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 813c267..ea88b7d 100644 --- a

[PATCH 0/3] ARM: OMAP2+: Timer build warnings and error fixes

2012-11-27 Thread Jon Hunter
Fixes for build warnings and errors seen with various kernel configuration combinations. Jon Hunter (3): ARM: OMAP2+: Fix realtime_counter_init warning in timer.c ARM: OMAP4: Fix build error and warning in timer.c ARM: AM335x: Fix warning in timer.c arch/arm/mach-omap2/Kconfig |4

Re: [PATCH 1/1] ARM: OMAP: fix build error in arch/arm/mach-omap2/timer.c

2012-11-27 Thread Jon Hunter
continue; > } > > - prom_add_property(np, &device_disabled); > + of_add_property(np, &device_disabled); > return np; > } I tested this on the AM335x device and it is working fine. So ... Acked-by:

Re: OMAP* Latest build failures

2012-11-20 Thread Jon Hunter
On 11/20/2012 11:57 AM, Tony Lindgren wrote: > * Russell King - ARM Linux [121117 01:35]: >> On Wed, Nov 14, 2012 at 09:26:43AM +, Russell King - ARM Linux wrote: >>> OMAP* allnoconfig fails: >>> >>> arch/arm/mach-omap2/built-in.o: In function `omap_dss_set_min_bus_tput': >>> twl-common.c:(.t

Re: [PATCH v4 0/3] OMAP GPMC DT bindings

2012-11-19 Thread Jon Hunter
would be > easy to add. > > Version 2 addresses details pointed out by Jon Hunter, Afzal Mohammed > and Rob Herring: > > - add "reg" and "ti,hwmod" properties to Documentation > - use generic of_mtd functions and the property names defined by them,

Re: [PATCH v2 1/2] ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER

2012-11-19 Thread Jon Hunter
r is not wired on the board. >Cirrently, the the timer is chosen in the machine_desc structure on Nit ... s/Cirrently/Currently Otherwise ... Reviewed-by: Jon Hunter Thanks for updating this! Cheers Jon -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body o

Re: [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-19 Thread Jon Hunter
On 11/16/2012 08:44 PM, Joel A Fernandes wrote: > Hi Jon, > > On Fri, Nov 16, 2012 at 6:12 PM, Jon Hunter wrote: >>> diff --git a/arch/arm/mach-omap2/clock33xx_data.c >>> b/arch/arm/mach-omap2/clock33xx_data.c >>> index b7b7995..d0b4313 100644 >>&g

Re: [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-16 Thread Jon Hunter
On 11/16/2012 05:44 PM, Joel A Fernandes wrote: > Set ENABLE_ON_INIT for debugss clock so that it is on during init and the > usecount is incremented. > Not doing so causes kernel to disable debugss clock to save power when > CONFIG_OMAP_RESET_CLOCKS > is set, causing a JTAG disconnect. > > Sig

[GIT PULL] ARM: OMAP: Timer Clean-up

2012-11-16 Thread Jon Hunter
cussed. I have also included the compilation warning fix for sync-32k reported by Kevin Hilman. -------- Jon Hunter (8): ARM: OMAP: Clean-up dmtimer reset code ARM: OMAP: Define omap_dm_timer_prepare function as static ARM: O

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-11-16 Thread Jon Hunter
On 11/15/2012 07:37 PM, Vinod Koul wrote: > On Fri, 2012-11-09 at 14:01 -0600, Jon Hunter wrote: >> Hi Vinod, >> >> A few people have been asking me if getting device-tree support for DMA >> engine is plan for record for v3.8. I know that you were working throu

Re: [PATCH] ARM: OMAP2+: Fix compiler warning for 32k timer

2012-11-16 Thread Jon Hunter
On 11/16/2012 01:52 AM, Felipe Balbi wrote: > Hi, > > On Thu, Nov 15, 2012 at 03:35:47PM -0600, Jon Hunter wrote: >> >> On 11/15/2012 02:45 PM, Felipe Balbi wrote: >>> Hi, >>> >>> On Thu, Nov 15, 2012 at 01:44:04PM -0600, Jon Hunter wrote: >

Re: [PATCH] ARM: OMAP2+: Fix compiler warning for 32k timer

2012-11-15 Thread Jon Hunter
On 11/15/2012 02:45 PM, Felipe Balbi wrote: > Hi, > > On Thu, Nov 15, 2012 at 01:44:04PM -0600, Jon Hunter wrote: >> +static struct of_device_id omap_counter_match[] __initdata = { > > not directly related to $SUBJECT, but shouldn't this be static const > __initcons

[PATCH] ARM: OMAP2+: Fix compiler warning for 32k timer

2012-11-15 Thread Jon Hunter
imer.c:163:28: warning: 'omap_counter_match' defined but not used [-Wunused-variable] Move the definition of omap_counter_match to avoid this warning when CONFIG_OMAP_32K_TIMER is not set. Thanks to Kevin Hilman for tracking down and reporting this problem. Reported-by: Kevin Hilam

Re: [PATCH] Remove inline from clock framework function definitions to build the kernel with GCC 4.7

2012-11-15 Thread Jon Hunter
On 11/15/2012 11:07 AM, Igor Mazanov wrote: > Remove inline from clock framework function definitions to > build the kernel with GCC 4.7 Adding Mike to the party ... May be good to add some details about the exact problem seen. I am seeing the same problem today with GCC 4.7 and Tony's master

Re: [PATCH] ARM: Fix errata 751472 handling on Cortex-A9 r1p*

2012-11-14 Thread Jon Hunter
On 11/14/2012 12:53 PM, Tony Lindgren wrote: > Looks like enabling CONFIG_ARM_ERRATA_751472 causes omap4 blaze > to not boot when enabled. The ARM core on it is an earlier r1p2: > > CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c53c7d > > Unfortunately I don't have the details of erra

Re: [PATCH 7/8] ARM: OMAP: Remove unnecessary inclusion of dmtimer.h

2012-11-14 Thread Jon Hunter
On 11/13/2012 12:13 PM, Jon Hunter wrote: > Some source files are including dmtimer.h but not actually using any dmtimer > definitions or functions. Therefore, remove the inclusion dmtimer.h from these > source files. > > Signed-off-by: Jon Hunter > --- > arch/arm/

Re: [PATCH 8/8] ARM: OMAP: Move plat/dmtimer.h to plat-omap/dmtimer.h

2012-11-13 Thread Jon Hunter
On 11/13/2012 04:26 PM, Tony Lindgren wrote: > * Jon Hunter [121113 10:15]: >> Move plat/dmtimer.h to plat-omap/dmtimer.h in order to support a single >> zImage for ARM devices. > > Let's skip this one for now as it turns out this solution won't > work eithe

[PATCH 1/2] ARM: OMAP2420: Fix ethernet support for OMAP2420 H4

2012-11-13 Thread Jon Hunter
h4_init_debug() fixes ethernet support, however, instead of using the legacy H4 code migrate the H4 to use the gpmc_smc91x_init() function instead and remove the legacy H4 code. Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/board-h4.c | 80 ++-- 1 file

[PATCH 2/2] ARM: OMAP: Remove debug-devices.c

2012-11-13 Thread Jon Hunter
. Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/debug-devices.h |9 arch/arm/plat-omap/Makefile |1 - arch/arm/plat-omap/debug-devices.c | 93 --- 3 files changed, 103 deletions(-) delete mode 100644 arch/arm/mach-omap2/debug-devices.h

[PATCH 0/2] ARM: OMAP2420: Fix ethernet support

2012-11-13 Thread Jon Hunter
Fix ethernet support for OMAP2420 and remove legacy code for ethernet configuration. Jon Hunter (2): ARM: OMAP2420: Fix ethernet support for OMAP2420 H4 ARM: OMAP: Remove debug-devices.c arch/arm/mach-omap2/board-h4.c | 80 +++--- arch/arm/mach-omap2/debug

[PATCH 8/8] ARM: OMAP: Move plat/dmtimer.h to plat-omap/dmtimer.h

2012-11-13 Thread Jon Hunter
Move plat/dmtimer.h to plat-omap/dmtimer.h in order to support a single zImage for ARM devices. Signed-off-by: Jon Hunter --- arch/arm/mach-omap1/pm.c |2 +- arch/arm/mach-omap1/timer.c|2 +- arch/arm/mach-omap2

[PATCH 6/8] ARM: OMAP: Add platform data header for DMTIMERs

2012-11-13 Thread Jon Hunter
Move definition of dmtimer platform data structure in to its own header under . Signed-off-by: Jon Hunter --- arch/arm/mach-omap1/timer.c|1 + arch/arm/mach-omap2/timer.c|2 ++ arch/arm/plat-omap/dmtimer.c |2 ++ arch/arm/plat-omap

[PATCH 7/8] ARM: OMAP: Remove unnecessary inclusion of dmtimer.h

2012-11-13 Thread Jon Hunter
Some source files are including dmtimer.h but not actually using any dmtimer definitions or functions. Therefore, remove the inclusion dmtimer.h from these source files. Signed-off-by: Jon Hunter --- arch/arm/mach-omap1/timer32k.c |1 - arch/arm/mach-omap2/omap_hwmod_2420_data.c

[PATCH 5/8] ARM: OMAP: Remove unnecessary omap_dm_timer structure declaration

2012-11-13 Thread Jon Hunter
Remove unnecessary declaration of structure omap_dm_timer from dmtimer.h and move the actual declaration of structure omap_dm_timer towards top of dmtimer.h to avoid any compilation errors. Signed-off-by: Jon Hunter --- arch/arm/plat-omap/include/plat/dmtimer.h | 52

[PATCH 3/8] ARM: OMAP: Don't store timers physical address

2012-11-13 Thread Jon Hunter
The OMAP2+ system timer code stores the physical address of the timer but never uses it. Remove this and clean-up the code by removing the local variable "size" and changing the names of the local variables mem_rsrc and irq_rsrc to mem and irq, respectively. Signed-off-by: Jon Hunter

[PATCH 2/8] ARM: OMAP: Define omap_dm_timer_prepare function as static

2012-11-13 Thread Jon Hunter
The omap_dm_timer_prepare function is a local function only used in the dmtimer.c file. Therefore, make this a static function and remove its declaration from the dmtimer.h file. Signed-off-by: Jon Hunter --- arch/arm/plat-omap/dmtimer.c |2 +- arch/arm/plat-omap/include/plat

[PATCH 4/8] ARM: OMAP2+: Remove unnecessary local variable in timer code

2012-11-13 Thread Jon Hunter
The function omap_dm_timer_init_one() declares two local variables of type int that are used to store the return value of functions called. One such local variable is sufficient and so remove one of these local variables. Signed-off-by: Jon Hunter --- arch/arm/mach-omap2/timer.c | 11

[PATCH 1/8] ARM: OMAP: Clean-up dmtimer reset code

2012-11-13 Thread Jon Hunter
lease note that for OMAP1 devices, the TIOCP_CFG register does not have the clock-activity field and so when we reset the timer for an OMAP1 device we only need to configure the idle-mode field in the TIOCP_CFG register. Signed-off-by: Jon Hunter --- arch/arm/plat-omap/dmtimer.c

[PATCH 0/8] ARM: OMAP: Clean-up DMTIMER

2012-11-13 Thread Jon Hunter
://marc.info/?l=linux-omap&m=135275633628412&w=2 Jon Hunter (8): ARM: OMAP: Clean-up dmtimer reset code ARM: OMAP: Define omap_dm_timer_prepare function as static ARM: OMAP: Don't store timers physical address ARM: OMAP2+: Remove unnecessary local variable in timer code ARM:

[GIT PULL] ARM: OMAP: DMTIMER fixes

2012-11-13 Thread Jon Hunter
for OMAP1 -------- Jon Hunter (13): ARM: OMAP: Add DMTIMER definitions for posted mode ARM: OMAP3+: Implement timer workaround for errata i103 and i767 ARM: OMAP: Fix timer posted mode support ARM: OMAP3: Correct HWMOD DMTIMER SYSC register declarations

Re: [PATCH] ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER

2012-11-13 Thread Jon Hunter
On 11/13/2012 03:14 AM, Igor Grinberg wrote: > On 11/12/12 21:15, Jon Hunter wrote: >> >> On 11/11/2012 05:28 AM, Igor Grinberg wrote: >>> >>> >>> On 11/08/12 21:16, Jon Hunter wrote: >>>> >>>> On 11/08/2012 12:59 PM, Hiremath,

Re: [PATCH V3 00/13] ARM: OMAP: DMTIMER fixes

2012-11-12 Thread Jon Hunter
On 11/12/2012 02:34 PM, Tony Lindgren wrote: > * Jon Hunter [121112 10:22]: >> This series includes several fixes for the OMAP DMTIMER driver. This is >> based upon Tony Lindgren's current master branch [1]. > > You should be able to use omap-for-v3.8/dt as the b

Re: [PATCH] ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER

2012-11-12 Thread Jon Hunter
On 11/11/2012 05:28 AM, Igor Grinberg wrote: > > > On 11/08/12 21:16, Jon Hunter wrote: >> >> On 11/08/2012 12:59 PM, Hiremath, Vaibhav wrote: >>> On Fri, Nov 09, 2012 at 00:24:23, Hunter, Jon wrote: >>>> >>>> On 11/08/2012 01:59 AM, Igor G

Re: [PATCH] ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER

2012-11-12 Thread Jon Hunter
On 11/11/2012 03:16 AM, Igor Grinberg wrote: > On 11/08/12 18:20, Tony Lindgren wrote: >> * Igor Grinberg [121107 23:15]: >>> On 11/07/12 19:33, Tony Lindgren wrote: I think this should be the default for the timers as that counter does not stop during deeper idle states. >>> >>> W

[PATCH V3 12/13] ARM: OMAP: Remove unnecessary call to clk_get()

2012-11-12 Thread Jon Hunter
structure. So instead of looking up the clock again used the clock handle that stored in the omap_dm_timer structure. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/plat-omap/dmtimer.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/arch/arm/plat

[PATCH V3 10/13] ARM: OMAP: Fix spurious interrupts when using timer match feature

2012-11-12 Thread Jon Hunter
n the match value must be loaded before the compare logic is enable. The reset value for the timer counter and match registers is 0 and hence, by enabling the compare logic before the actual match value is loaded a spurious interrupt can be generated as the reset values match. Signed-off-by: Jon H

[PATCH V3 11/13] ARM: OMAP: Add dmtimer interrupt disable function

2012-11-12 Thread Jon Hunter
that the interrupt disable function has been written so that it can be used by all OMAP devices. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/plat-omap/dmtimer.c | 31 + arch/arm/plat-omap/include/plat/dmtimer.h |3 ++- 2 files

[PATCH V3 13/13] ARM: OMAP: Remove __omap_dm_timer_set_source function

2012-11-12 Thread Jon Hunter
. CONFIG_OMAP_32K_TIMER=y 2. CONFIG_OMAP_32K_TIMER=y and boot parameter "clocksource=gp_timer" 3. CONFIG_OMAP_32K_TIMER not set 4. CONFIG_OMAP_32K_TIMER not set and boot parameter "clocksource=gp_timer" Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/ar

[PATCH V3 09/13] ARM: OMAP: Don't restore DMTIMER interrupt status register

2012-11-12 Thread Jon Hunter
it's context will not be lost. Users should take care to service all interrupts before disabling the timer. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/plat-omap/dmtimer.c |5 + arch/arm/plat-omap/include/plat/dmtimer.h |1 - 2 files chang

[PATCH V3 06/13] ARM: OMAP2+: Don't use __omap_dm_timer_reset()

2012-11-12 Thread Jon Hunter
H4, OMAP3430 Beagle and OMAP4430 Panda that HWMOD is configuring the dmtimer OCP_CFG register as expected for clock-events timer. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 13 + arch/arm/mach-omap2

[PATCH V3 08/13] ARM: OMAP: Don't restore of DMTIMER TISTAT register

2012-11-12 Thread Jon Hunter
. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/plat-omap/dmtimer.c |3 --- arch/arm/plat-omap/include/plat/dmtimer.h |1 - 2 files changed, 4 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index d4f9541..320d103

[PATCH V3 07/13] ARM: OMAP: Fix dmtimer reset for timer1

2012-11-12 Thread Jon Hunter
timer, the function omap_dm_timer_reset() is now only being called for OMAP1 devices and OMAP1 does not use timer1 as a system timer. Therefore, remove the check in omap_dm_timer_reset() so that timer1 is reset for OMAP1 devices. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch

[PATCH V3 05/13] ARM: OMAP2/3: Define HWMOD software reset status for DMTIMERs

2012-11-12 Thread Jon Hunter
0 of the DMTIMER TISTAT register (referred to as the SYSS register in HWMOD). Add the appropriate HWMOD definitions so that HWMOD will check the software reset status when performing a software reset of the DMTIMER. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/mach-

[PATCH V3 04/13] ARM: OMAP3: Correct HWMOD DMTIMER SYSC register declarations

2012-11-12 Thread Jon Hunter
. Therefore, remove one of the SYSC register definitions for the DMTIMERs and ensure the appropriate register fields are defined for all DMTIMERs. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 27 ++- 1 file changed

[PATCH V3 03/13] ARM: OMAP: Fix timer posted mode support

2012-11-12 Thread Jon Hunter
function was introduced. Although this is a regression from the original code it only impacts performance and so is not needed for stable. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/plat-omap/dmtimer.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff

[PATCH V3 01/13] ARM: OMAP: Add DMTIMER definitions for posted mode

2012-11-12 Thread Jon Hunter
make it clear that posted mode is being used add some definitions so that it is more readable. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/mach-omap2/timer.c | 17 ++--- arch/arm/plat-omap/include/plat/dmtimer.h |4 2 files changed, 14

[PATCH V3 02/13] ARM: OMAP3+: Implement timer workaround for errata i103 and i767

2012-11-12 Thread Jon Hunter
impacts AM33xx devices. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- arch/arm/mach-omap2/timer.c | 49 ++- arch/arm/plat-omap/dmtimer.c |3 +- arch/arm/plat-omap/include/plat/dmtimer.h | 52 +++-- 3

[PATCH V3 00/13] ARM: OMAP: DMTIMER fixes

2012-11-12 Thread Jon Hunter
timer driver. [1] http://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git Jon Hunter (13): ARM: OMAP: Add DMTIMER definitions for posted mode ARM: OMAP3+: Implement timer workaround for errata i103 and i767 ARM: OMAP: Fix timer posted mode support ARM: OMAP3: Correct HWMOD DM

Re: [PATCH] ARM: OMAP2+: Prevent redefinition errors for soc.h

2012-11-09 Thread Jon Hunter
On 11/09/2012 06:21 PM, Tony Lindgren wrote: > * Jon Hunter [121109 15:59]: >> >> Sorry, I meant in the fixes series I have posted for dmtimer, I am >> adding a new function called omap_dm_timer_populate_errata() that is >> using cpu_is_() [1]. I had done this

Re: [PATCH] ARM: OMAP2+: Prevent redefinition errors for soc.h

2012-11-09 Thread Jon Hunter
On 11/09/2012 05:50 PM, Tony Lindgren wrote: > * Jon Hunter [121109 15:44]: >> >> On 11/09/2012 03:10 PM, Tony Lindgren wrote: >>> * Jon Hunter [121109 08:31]: >>>> >>>> On 11/09/2012 10:22 AM, Tony Lindgren wrote: >>>>> * Jon Hunt

Re: [PATCH] ARM: OMAP2+: Prevent redefinition errors for soc.h

2012-11-09 Thread Jon Hunter
On 11/09/2012 03:10 PM, Tony Lindgren wrote: > * Jon Hunter [121109 08:31]: >> >> On 11/09/2012 10:22 AM, Tony Lindgren wrote: >>> * Jon Hunter [121109 08:21]: >>>> If the header soc.h is included more than once in a source (for example >>>> once

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-11-09 Thread Jon Hunter
On 10/15/2012 09:39 PM, Vinod Koul wrote: > On Tue, 2012-10-16 at 10:43 +0800, Shawn Guo wrote: >> On Tue, Sep 25, 2012 at 10:05:01AM +0530, Vinod Koul wrote: >>> On Mon, 2012-09-24 at 17:25 -0500, Jon Hunter wrote: >>>>> For DT bindings, I think the binding it

<    1   2   3   4   5   6   7   8   9   10   >