Re: [PATCH] omap3: l3: Temporary fix to avoid the kernel hang with beagle board.

2011-08-01 Thread Tomi Valkeinen
On Sat, 2011-07-09 at 18:30 -0600, Paul Walmsley wrote: Hi Santosh, On Sat, 9 Jul 2011, Santosh Shilimkar wrote: Sorry for not closing the loop on this thread but I thought Tomi root-caused the DSS timeout issue to incorrect reset sequence of DSS IP. With that fixed I though we

Re: [PATCH] omap3: l3: Temporary fix to avoid the kernel hang with beagle board.

2011-08-01 Thread Santosh Shilimkar
Tomi, On 8/1/2011 11:31 AM, Tomi Valkeinen wrote: On Sat, 2011-07-09 at 18:30 -0600, Paul Walmsley wrote: Hi Santosh, On Sat, 9 Jul 2011, Santosh Shilimkar wrote: Sorry for not closing the loop on this thread but I thought Tomi root-caused the DSS timeout issue to incorrect reset sequence of

Re: [Q] No message from Kernel (Howto start debug?)

2011-08-01 Thread Arno Steffen
2011/7/29 Arno Steffen arno.stef...@googlemail.com: 2011/7/29 Tapani Utriainen tap...@technexion.com: On Thu, 28 Jul 2011 16:18:51 +0200 Arno Steffen arno.stef...@googlemail.com wrote: That has been good points. I've tried both, but with no result so far. Try appending

Re: [RFC/PATCH 2/7] OMAP3: beagle: don't touch omap_device internals

2011-08-01 Thread Felipe Balbi
Hi, On Fri, Jul 29, 2011 at 06:07:17PM -0500, Menon, Nishanth wrote: On Fri, Jul 29, 2011 at 09:05, Felipe Balbi ba...@ti.com wrote: +} +EXPORT_SYMBOL(omap_hwmod_name_get_odev); maybe EXPORT_SYMBOL_GPL() ?? Not sure we want non-GPL code to access this ;-) Sure.. but is this the

Re: [RFC v2]: Issues implementing clock handling mechanism within UART driver

2011-08-01 Thread Felipe Balbi
Hi, On Fri, Jul 29, 2011 at 08:43:49PM +0530, Govindraj wrote: [giant snip] Actually there is much more than this: SNIP diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index 180299e..221ffb9 100644 --- a/arch/arm/mach-omap2/clock.c +++

Re: [RFC v2]: Issues implementing clock handling mechanism within UART driver

2011-08-01 Thread Govindraj
Hi, On Fri, Jul 29, 2011 at 08:43:49PM +0530, Govindraj wrote: [giant snip] Actually there is much more than this: SNIP diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index 180299e..221ffb9 100644 --- a/arch/arm/mach-omap2/clock.c +++

Re: [RFC v2]: Issues implementing clock handling mechanism within UART driver

2011-08-01 Thread Felipe Balbi
Hi, (fix your mailer dude) On Mon, Aug 01, 2011 at 03:26:52PM +0530, Raja, Govindraj wrote: @@ -254,14 +255,14 @@ void omap2_clk_disable(struct clk *clk) � � � � � � � return; � � � } - � � pr_debug(clock: %s: decrementing usecount\n, clk-name); +// �

Re: ISP

2011-08-01 Thread Laurent Pinchart
Hi, On Wednesday 27 July 2011 04:02:01 卞磊 wrote: 2011/7/26 Veda N ved...@gmail.com: Hello, For developing camera sensors drivers which kernel source and isp drivers sources have been tested and i need to use. And from where i can get them. this is for omap3

Re: [PATCH 1/2] of: address: use resource_size helper

2011-08-01 Thread Grant Likely
On Fri, Jul 22, 2011 at 10:47:21PM +0300, Felipe Balbi wrote: that should be the approved way of calculating the size of resources. No functional changes. Cc: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Felipe Balbi ba...@ti.com Applied, thanks. --- drivers/of/address.c |2

Re: [PATCH 2/2] arm: omap: mark dt_compat __initconst

2011-08-01 Thread Grant Likely
On Fri, Jul 22, 2011 at 10:47:22PM +0300, Felipe Balbi wrote: we have a special section for const data which is only needed during init, that's __initconst. Use that instead of __initdata which is for non-const data. Cc: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Felipe Balbi

Re: [RFC v2]: Issues implementing clock handling mechanism within UART driver

2011-08-01 Thread Govindraj
On Mon, Aug 1, 2011 at 3:32 PM, Felipe Balbi ba...@ti.com wrote: Hi, (fix your mailer dude) Sorry some settings got screwed up with my mailer On Mon, Aug 01, 2011 at 03:26:52PM +0530, Raja, Govindraj wrote: [..]      this hunk is unnecessary. Clocks are always on when they are called.  

[GIT PULL] OMAP display subsystem patches for 3.1

2011-08-01 Thread Tomi Valkeinen
Hi Linus, Sorry for sending this pull request so late. This pull request contains mostly OMAP display subsystem driver patches related to preparing and making the DSS driver use runtime PM. Using runtime PM creates new dependencies to the lower level arch stuff (clocks and HWMODs), and while the

timing in driver function

2011-08-01 Thread Michael Jones
I have a function in a driver which takes ~50ms to execute, which I've measured by reading jiffies at the beginning and end. But jiffies only counts at 128Hz on my system, so this was a very coarse measurement. Now I would like to find out more exactly where the time is going inside this function.

RE: timing in driver function

2011-08-01 Thread Gadiyar, Anand
Michael Jones wrote: I have a function in a driver which takes ~50ms to execute, which I've measured by reading jiffies at the beginning and end. But jiffies only counts at 128Hz on my system, so this was a very coarse measurement. Now I would like to find out more exactly where the time is

Re: [RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device

2011-08-01 Thread Kevin Hilman
Russell King - ARM Linux li...@arm.linux.org.uk writes: On Sat, Jul 30, 2011 at 08:58:07PM -0600, Grant Likely wrote: On Sat, Jul 30, 2011 at 01:03:32PM +0100, Russell King - ARM Linux wrote: On Thu, Jul 21, 2011 at 04:52:18PM -0700, Kevin Hilman wrote: Rather than embedding a struct

Re: [RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device

2011-08-01 Thread Grant Likely
On Mon, Aug 1, 2011 at 4:42 PM, Kevin Hilman khil...@ti.com wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: On Sat, Jul 30, 2011 at 08:58:07PM -0600, Grant Likely wrote: On Sat, Jul 30, 2011 at 01:03:32PM +0100, Russell King - ARM Linux wrote: On Thu, Jul 21, 2011 at

Re: timing in driver function

2011-08-01 Thread C.A, Subramaniam
On Mon, Aug 1, 2011 at 10:34 AM, Gadiyar, Anand gadi...@ti.com wrote: Michael Jones wrote: I have a function in a driver which takes ~50ms to execute, which I've measured by reading jiffies at the beginning and end. But jiffies only counts at 128Hz on my system, so this was a very coarse

Re: [RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device

2011-08-01 Thread Felipe Balbi
Hi, On Mon, Aug 01, 2011 at 04:44:20PM +0100, Grant Likely wrote: On Mon, Aug 1, 2011 at 4:42 PM, Kevin Hilman khil...@ti.com wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: On Sat, Jul 30, 2011 at 08:58:07PM -0600, Grant Likely wrote: On Sat, Jul 30, 2011 at 01:03:32PM

Re: [RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device

2011-08-01 Thread Russell King - ARM Linux
On Mon, Aug 01, 2011 at 09:50:09PM +0300, Felipe Balbi wrote: Hi, On Mon, Aug 01, 2011 at 04:44:20PM +0100, Grant Likely wrote: On Mon, Aug 1, 2011 at 4:42 PM, Kevin Hilman khil...@ti.com wrote: diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h index

pandaboard brctl oops

2011-08-01 Thread Marek Vasut
Hi, recently a friend of mine sent me this backtrace. I put him in CC so please any subsequent questions shall be forwarded to him. He claims this happens on pandaboard. Cheers root@box:~# brctl addbr br0 root@box:~# brctl addif br0 eth0 [ 77.795776] Unable to handle kernel NULL pointer

Re: [PATCH] DT: OMAP: Convert I2C driver to use device tree

2011-08-01 Thread Grant Likely
On Mon, Aug 1, 2011 at 10:48 PM, G, Manjunath Kondaiah manj...@ti.com wrote: The i2c-omap driver is modified to support both DT and non DT builds and driver is updated to use dt data partially. Tested on OMAP3 beagle board for dt and non dt builds. Signed-off-by: G, Manjunath Kondaiah

Re: [RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device

2011-08-01 Thread Kevin Hilman
Russell King - ARM Linux li...@arm.linux.org.uk writes: Help the typechecker do its job. As we have only one (at the moment...) And make it: +struct omap_device; struct pdev_archdata { +#ifdef CONFIG_ARCH_OMAP + struct omap_device *omap; +#endif }; for bonus points, so we only

Re: [PATCH v2] OMAP: ctrl: Fix CONTROL_DSIPHY register fields

2011-08-01 Thread Paul Walmsley
On Wed, 27 Jul 2011, Archit Taneja wrote: Fix the shift and mask macros for DSIx_PPID fields in CONTROL_DSIPHY. The OMAP4430 Public TRM vV has these fields mentioned correctly. Thanks, queued for 3.2 in the scm_fixes_3.2 branch of git://git.pwsan.com/linux-2.6 Also added Santosh's ack. -

Re: [RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device

2011-08-01 Thread Felipe Balbi
Hi, On Mon, Aug 01, 2011 at 03:11:57PM -0700, Kevin Hilman wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: Help the typechecker do its job. As we have only one (at the moment...) And make it: +struct omap_device; struct pdev_archdata { +#ifdef CONFIG_ARCH_OMAP

Re: [RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device

2011-08-01 Thread Russell King - ARM Linux
On Tue, Aug 02, 2011 at 01:55:55AM +0300, Felipe Balbi wrote: Hi, On Mon, Aug 01, 2011 at 03:11:57PM -0700, Kevin Hilman wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: Help the typechecker do its job. As we have only one (at the moment...) And make it: +struct

Re: [RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device

2011-08-01 Thread Grant Likely
On Tue, Aug 02, 2011 at 12:09:45AM +0100, Russell King - ARM Linux wrote: On Tue, Aug 02, 2011 at 01:55:55AM +0300, Felipe Balbi wrote: Hi, On Mon, Aug 01, 2011 at 03:11:57PM -0700, Kevin Hilman wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: Help the typechecker

Re: [PATCH v2 1/4] OMAP4: hwmod data: Add GPMC

2011-08-01 Thread Paul Walmsley
Hi On Fri, 1 Jul 2011, Benoit Cousson wrote: Add the GPMC hwmod data. The GPMC hwmod does need the flags HWMOD_INIT_NO_IDLE and HWMOD_INIT_NO_RESET due to a bug described in the previous commit: OMAP4: clock: Keep GPMC clocks always enabled and hardware managed On OMAP4, CPU

Re: ISP

2011-08-01 Thread 卞磊
2011/8/1 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi, On Wednesday 27 July 2011 04:02:01 卞磊 wrote: 2011/7/26 Veda N ved...@gmail.com: Hello, For developing camera sensors drivers which kernel source and isp drivers sources have been tested and i need to use. And from where i

Re: [PATCHv2 17/28] OMAP2420: HWMOD: Add DSS opt clocks

2011-08-01 Thread Paul Walmsley
Hello Tomi On Fri, 15 Jul 2011, Paul Walmsley wrote: On Thu, 9 Jun 2011, Tomi Valkeinen wrote: Add DSS optional clocks to HWMOD data for OMAP2420. This patch has been combined with the 2430 patch and the OMAP2xxx portion of the temporary hack in the DSS driver has been removed. Care to

[PATCH] ARM: platform_device: pdev_archdata: add omap_device pointer

2011-08-01 Thread Kevin Hilman
Add omap_device pointer to the ARM-specific arch data in the platform_device. This will be used to attach OMAP-specific device-data to the platform device with device lifetime. Suggested-by: Russell King rmk+ker...@arm.linux.org.uk Cc: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Kevin

Re: [PATCHv2 16/28] OMAP3: HWMOD: Add DSS opt clocks

2011-08-01 Thread Paul Walmsley
Hello Tomi, On Fri, 15 Jul 2011, Paul Walmsley wrote: On Thu, 9 Jun 2011, Tomi Valkeinen wrote: Add DSS optional clocks to HWMOD data for OMAP3xxx. Thanks; queued for 3.1-rc fixes at git://git.pwsan.com/linux-2.6 in the branch 'omap2_3_hwmod_dss_fixes_3.1rc'. This patch has been

Re: timing in driver function

2011-08-01 Thread Paul Walmsley
Hi, On Mon, 1 Aug 2011, Michael Jones wrote: I have a function in a driver which takes ~50ms to execute, which I've measured by reading jiffies at the beginning and end. But jiffies only counts at 128Hz on my system, so this was a very coarse measurement. Now I would like to find out more

Re: pandaboard brctl oops

2011-08-01 Thread Shan Wei
hi Marek Vasut wrote, at 08/02/2011 05:25 AM: Hi, recently a friend of mine sent me this backtrace. I put him in CC so please any subsequent questions shall be forwarded to him. He claims this happens on pandaboard. Cheers root@box:~# brctl addbr br0 root@box:~# brctl addif br0