[PATCH v2 2/3] Watchdog: Omap: select watchdog core for framework change

2012-07-09 Thread Zumeng Chen
Since the current watchdog framework depends on the watchdog core so select it in Kconfig. Signed-off-by: Zumeng Chen --- drivers/watchdog/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index fe819b7..fb5b108 1

[PATCH v2 3/3] Watchdog: Omap: get the bootstatus for OMAP2Plus

2012-07-09 Thread Zumeng Chen
The offset of WKUP_MOD is not right for the PRM_RSTST of OMAP3. So here put the right one to match to the actual physical addr 0x48307258, which defined in PRCM Registers section named as Global_Reg_PRM. And there is a MPU_WD_RST bit in PRM_RSTST(0x48307258) holding the signal from omap-wdt reboot

[PATCH v2 RESEND 0/3] Watchdog: OMAP: bootstatus fix for omap3 and changes for the current watchdog framework

2012-07-09 Thread Zumeng Chen
Hello, The following patches based on the 3.5-rc6 from Wim, which focus on: 1 ) bootstatus fix for omap3, 2 ) omap-wdt framework update cater for the current framework as Shubhrajyoti comments mentioned. Regards, Zumeng Chen (3): Watchdog: Omap: Changes for the new watchdog framework W

[PATCH v2 1/3] Watchdog: Omap: Changes for the new watchdog framework

2012-07-09 Thread Zumeng Chen
This patch implements the current watchdog framework for OMAP WDTimer, which factored out the common components, so the driver can just focus on the hardware related parts. Signed-off-by: Zumeng Chen --- drivers/watchdog/omap_wdt.c | 342 --- drivers/watc

Re: [PATCH 0/2] OMAPDSS: PM runtime fixes for 3.5-rc

2012-07-09 Thread Archit Taneja
Hi Florian, On Monday 09 July 2012 03:40 AM, Florian Tobias Schandinat wrote: Hi Archit, On 07/04/2012 12:43 PM, Archit Taneja wrote: Hi Florian, These are 2 fixes which Tomi had intended to push for the coming rcs. He is currently on vacation and asked me to post the patches on his behalf.

Re: Infinite looping in omap2430.c USB driver

2012-07-09 Thread Tony Lindgren
* NeilBrown [120706 15:44]: > > Hello `./scripts/get_maintainer.pl -f drivers/usb/musb/omap2430.c` > > omap2430_musb_set_vbus in omap2430.c contains: > > while (musb_readb(musb->mregs, MUSB_DEVCTL) & 0x80) { > > cpu_relax(); > >

Re: [PATCH] ARM: OMAP2+: omap2plus_defconfig: EHCI driver is not stable, disable it

2012-07-09 Thread Tony Lindgren
* Kevin Hilman [120706 11:25]: > The EHCI driver is not stable enough to be enabled by default. In v3.5, > it has at least the following problems: > > - warning dump during bootup > - hang during suspend > - prevents CORE powerdomain from entering retention during idle (even > when no USB devi

Re: [cleanup-part2 PATCH] ARM: OMAP: sdrc: Fix the build break for OMAP4 only builds.

2012-07-09 Thread Tony Lindgren
* Santosh Shilimkar [120706 02:30]: > OMAP4 only build breaks with below error > > arch/arm/mach-omap2/sdrc.c:135: error: redefinition of 'omap2_sdrc_init' > arch/arm/plat-omap/include/plat/sdrc.h:130: note: previous definition of > 'omap2_sdrc_init' was here > make[1]: *** [arch/arm/mach-omap2/

Re: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Vaibhav Hiremath
On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: > From: R Sricharan > > OMAP5430 is Texas Instrument's SOC based on ARM Cortex-A15 SMP > architecture. It's a dual core SOC with GIC used for interrupt > handling and with an integrated L2 cache controller. > > OMAP5432 is another variant of OMAP54

Re: [PATCH v2 02/14] ARM: OMAP: counter-32k: Select the CR register offset using the IP scheme.

2012-07-09 Thread Vaibhav Hiremath
On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: > From: R Sricharan > > OMAP socs has a legacy and a highlander version of the > 32k sync counter IP. The register offsets vary between the > highlander and the legacy scheme. So use the 'SCHEME' > bits(30-31) of the revision register to distinguish

Re: [PATCHv2 3/3] watchdog: omap_wdt: add device tree support

2012-07-09 Thread Tony Lindgren
* Wim Van Sebroeck [120707 05:11]: > Hi Tony, > > > Hi Wim, > > > > * jgq...@gmail.com [120531 20:56]: > > > From: Xiao Jiang > > > > > > Add device table for omap_wdt to support dt. > > > > Care to ack this patch in the series? > > Yep. > Acked-by: Wim Van Sebroeck Thanks, I'll apply all

Re: [PATCH] arm/dts: am33xx wdt node

2012-07-09 Thread Tony Lindgren
* Mohammed, Afzal [120704 06:44]: > + Grant and device tree, watchdog lists > > On Wed, Jul 04, 2012 at 18:00:37, Mohammed, Afzal wrote: > > Add am33xx wdt node. > > > > Signed-off-by: Afzal Mohammed > > --- > > > > Hi, > > > > This was tested on AM335X EVM. This depends on, > > http://www.ma

Re: dtb for pandaboard

2012-07-09 Thread Tony Lindgren
* Dennis Gilmore [120708 16:11]: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi does anyone happen to have a working dtb file for the pandaboard? > trying to test booting the fedora rawhide kernel which is > 3.5.0-rc5 with a dtb file I made from the matching sources I dont get > past de

Re: [PATCH] arm/dts: remove MMC/SD and SPI related entries from am33xx.dtsi

2012-07-09 Thread Tony Lindgren
* AnilKumar Ch [120708 23:29]: > The MMC/SD and SPI entries in this file are not tested yet. They > inadvertently came into the patch because of some work in progress > stuff I had in my repo. > > These entries should not have been sent out in the first place and > I am sorry for the trouble and

Re: [PATCH v3 4/7] mfd: omap: control: usb-phy: introduce the ctrl-module usb driver

2012-07-09 Thread ABRAHAM, KISHON VIJAY
+Ajay On Thu, Jun 28, 2012 at 10:28 AM, Eduardo Valentin wrote: > Hello, > > On Wed, Jun 27, 2012 at 10:05:00PM +0400, Konstantin Baydarov wrote: >> Created a new platform driver for the platform device created by the >> control module mfd core, wrt usb. This driver has API's to power on/off >> t

RE: [PATCH v3 4/7] mfd: omap: control: usb-phy: introduce the ctrl-module usb driver

2012-07-09 Thread Gupta, Ajay Kumar
Hi, > On Thu, Jun 28, 2012 at 10:28 AM, Eduardo Valentin > wrote: > > Hello, > > > > On Wed, Jun 27, 2012 at 10:05:00PM +0400, Konstantin Baydarov wrote: > >> Created a new platform driver for the platform device created by the > >> control module mfd core, wrt usb. This driver has API's to power

Re: [PATCH v2 1/2] ARM: OMAP: board-4430sdp: MUX configuration for sys_nirq2

2012-07-09 Thread Peter Ujfalusi
On 07/06/2012 04:33 PM, Shilimkar, Santosh wrote: >> Since this is TWL6030 specific, it should rather be done in TWL code >> like I did for sys_nirq1: >> >>http://marc.info/?l=linux-omap&m=134090312118873&w=2 >> >> That would avoid having to do this in both board files. >> > Though the pin is T

Re: [PATCH v4 04/12] gpio/omap: remove saved_wakeup field from struct gpio_bank

2012-07-09 Thread Roger Quadros
Hi, Just bumped across this patch and have a query. On 03/16/2012 04:05 PM, Tarun Kanti DebBarma wrote: > There is no more need to have saved_wakeup because bank->context.wake_en > already holds that value. So getting rid of read/write operation associated > with this field. > > Signed-off-by: T

Re: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Shilimkar, Santosh
On Mon, Jul 9, 2012 at 2:20 PM, Vaibhav Hiremath wrote: > > > > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: > > From: R Sricharan > > > > OMAP5430 is Texas Instrument's SOC based on ARM Cortex-A15 SMP > > architecture. It's a dual core SOC with GIC used for interrupt > > handling and with an in

Re: [PATCH v2 02/14] ARM: OMAP: counter-32k: Select the CR register offset using the IP scheme.

2012-07-09 Thread Shilimkar, Santosh
On Mon, Jul 9, 2012 at 2:20 PM, Vaibhav Hiremath wrote: > > > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: >> From: R Sricharan >> >> OMAP socs has a legacy and a highlander version of the >> 32k sync counter IP. The register offsets vary between the >> highlander and the legacy scheme. So use t

Re: [PATCH] MFD: twl-core: move device_init_wakeup to after platform_device_add.

2012-07-09 Thread Samuel Ortiz
Hi Neil, On Sat, Jul 07, 2012 at 08:51:03AM +1000, NeilBrown wrote: > > > device_init_wakeup uses the dev_name() of the device to set the > name of the wakeup_source which appears in > /sys/kernel/debug/wakeup_sources. > > For a platform device, that name is not set until platform_device_add >

Re: [PATCH v4 04/12] gpio/omap: remove saved_wakeup field from struct gpio_bank

2012-07-09 Thread DebBarma, Tarun Kanti
Hi Roger, On Mon, Jul 9, 2012 at 3:13 PM, Roger Quadros wrote: > Hi, > > Just bumped across this patch and have a query. > > On 03/16/2012 04:05 PM, Tarun Kanti DebBarma wrote: >> There is no more need to have saved_wakeup because bank->context.wake_en >> already holds that value. So getting rid

Re: [PATCHv11 0/6] I2C cleanups

2012-07-09 Thread Shubhrajyoti Datta
On Thu, Jun 28, 2012 at 8:41 PM, Shubhrajyoti D wrote: > This is a minimal cleanup series. If there are no further comments can this series be queued? > > The patch series does the following > > - Bus busy recovery mechanism. > - Make the i2c use SET_RUNTIME_PM_OPS > - Use INIT_COMPLETION inste

Re: [PATCH v4 04/12] gpio/omap: remove saved_wakeup field from struct gpio_bank

2012-07-09 Thread Roger Quadros
Tarun, On 07/09/2012 02:16 PM, DebBarma, Tarun Kanti wrote: > Hi Roger, > > On Mon, Jul 9, 2012 at 3:13 PM, Roger Quadros wrote: >> Hi, >> >> Just bumped across this patch and have a query. >> >> On 03/16/2012 04:05 PM, Tarun Kanti DebBarma wrote: >>> There is no more need to have saved_wakeup b

Re: [PATCH v2 1/2] ARM: OMAP: board-4430sdp: MUX configuration for sys_nirq2

2012-07-09 Thread Tony Lindgren
* Peter Ujfalusi [120709 02:43]: > On 07/06/2012 04:33 PM, Shilimkar, Santosh wrote: > >> Since this is TWL6030 specific, it should rather be done in TWL code > >> like I did for sys_nirq1: > >> > >>http://marc.info/?l=linux-omap&m=134090312118873&w=2 > >> > >> That would avoid having to do th

Re: [PATCH 0/7] arm/dts: Audio support for OMAP4 devices (SDP, PandaBoard)

2012-07-09 Thread Peter Ujfalusi
Hello, On 06/08/2012 04:01 PM, Peter Ujfalusi wrote: > Hello, > > The following series enable the audio functionality on OMAP4 based devices > using > twl6040 as audio codec. > > The series adds the needed bindings in the dts for the OMAP IPs, twl6040 MFD > device and for the audio connection o

Re: [PATCH v4 04/12] gpio/omap: remove saved_wakeup field from struct gpio_bank

2012-07-09 Thread DebBarma, Tarun Kanti
On Mon, Jul 9, 2012 at 5:21 PM, Roger Quadros wrote: > Tarun, > > On 07/09/2012 02:16 PM, DebBarma, Tarun Kanti wrote: >> Hi Roger, >> >> On Mon, Jul 9, 2012 at 3:13 PM, Roger Quadros wrote: >>> Hi, >>> >>> Just bumped across this patch and have a query. >>> >>> On 03/16/2012 04:05 PM, Tarun Kant

Re: [PATCH 0/7] arm/dts: Audio support for OMAP4 devices (SDP, PandaBoard)

2012-07-09 Thread Tony Lindgren
* Peter Ujfalusi [120709 05:24]: > Hello, > > On 06/08/2012 04:01 PM, Peter Ujfalusi wrote: > > Hello, > > > > The following series enable the audio functionality on OMAP4 based devices > > using > > twl6040 as audio codec. > > > > The series adds the needed bindings in the dts for the OMAP IP

[PATCH 0/2] OMAP4: DT update for L2 controller and local timers

2012-07-09 Thread Santosh Shilimkar
Couple of patches which updates the device tree support for OMAP4. - Pl310 L2 cache controller DT support - ARM cortex-A9 local timer DT support Tested on OMAP4430 SDP. Santosh Shilimkar (2): ARM: OMAP4: Add L2 Cache Controller in Device Tree ARM: OMAP4: Add local timer support for Device Tr

[PATCH 1/2] ARM: OMAP4: Add L2 Cache Controller in Device Tree

2012-07-09 Thread Santosh Shilimkar
This provides PL310 Level 2 Cache Controller Device Tree support for OMAP4 based devices. Cc: Benoit Cousson Signed-off-by: Santosh Shilimkar --- arch/arm/boot/dts/omap4.dtsi |7 +++ arch/arm/mach-omap2/omap4-common.c |6 +- 2 files changed, 12 insertions(+), 1 deletion(-)

[PATCH 2/2] ARM: OMAP4: Add local timer support for Device Tree

2012-07-09 Thread Santosh Shilimkar
Add cortex-a9 local timer support for all OMAP4 based SOCs using DT. Cc: Benoit Cousson Signed-off-by: Santosh Shilimkar --- arch/arm/boot/dts/omap4.dtsi |6 ++ arch/arm/mach-omap2/timer.c | 11 --- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm/boo

Re: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Tony Lindgren
* Vaibhav Hiremath [120709 01:55]: > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: > > --- a/arch/arm/plat-omap/include/plat/clkdev_omap.h > > +++ b/arch/arm/plat-omap/include/plat/clkdev_omap.h > > @@ -39,6 +39,7 @@ struct omap_clk { > > #define CK_443X(1 << 11) > > #define CK_TI816

Re: [PATCH 2/2] ARM: OMAP4: Add local timer support for Device Tree

2012-07-09 Thread Tony Lindgren
* Santosh Shilimkar [120709 06:16]: > Add cortex-a9 local timer support for all OMAP4 based > SOCs using DT. ... > --- a/arch/arm/mach-omap2/timer.c > +++ b/arch/arm/mach-omap2/timer.c > @@ -36,6 +36,7 @@ > #include > #include > #include > +#include > > #include > #include > @@ -384

Re: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Tony Lindgren
* Tony Lindgren [120709 06:17]: > * Vaibhav Hiremath [120709 01:55]: > > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: > > > --- a/arch/arm/plat-omap/include/plat/clkdev_omap.h > > > +++ b/arch/arm/plat-omap/include/plat/clkdev_omap.h > > > @@ -39,6 +39,7 @@ struct omap_clk { > > > #define CK_44

Re: [PATCH 2/2] ARM: OMAP4: Add local timer support for Device Tree

2012-07-09 Thread Shilimkar, Santosh
On Mon, Jul 9, 2012 at 6:45 PM, Tony Lindgren wrote: > * Santosh Shilimkar [120709 06:16]: >> Add cortex-a9 local timer support for all OMAP4 based >> SOCs using DT. > ... > >> --- a/arch/arm/mach-omap2/timer.c >> +++ b/arch/arm/mach-omap2/timer.c >> @@ -36,6 +36,7 @@ >> #include >> #include

Re: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Shilimkar, Santosh
On Mon, Jul 9, 2012 at 6:55 PM, Tony Lindgren wrote: > * Tony Lindgren [120709 06:17]: >> * Vaibhav Hiremath [120709 01:55]: >> > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: >> > > --- a/arch/arm/plat-omap/include/plat/clkdev_omap.h >> > > +++ b/arch/arm/plat-omap/include/plat/clkdev_omap.h >>

Re: [PATCH v4 4/4] memory: emif: add device tree support to emif driver

2012-07-09 Thread Shilimkar, Santosh
Greg, On Mon, Jul 2, 2012 at 6:48 PM, Shilimkar, Santosh wrote: > On Sat, Jun 30, 2012 at 10:12 AM, Shilimkar, Santosh > wrote: >> On Sat, Jun 30, 2012 at 9:53 AM, Greg KH wrote: >>> On Sat, Jun 30, 2012 at 09:38:41AM +0530, Shilimkar, Santosh wrote: (+ Greg, By mistake the your name got d

RE: [PATCH 1/2] arm/dts: Add AM33XX basic pinctrl support

2012-07-09 Thread AnilKumar, Chimata
Hi Tony, Thanks for reviewing. On Fri, Jul 06, 2012 at 13:53:44, Tony Lindgren wrote: > * AnilKumar Ch [120705 02:18]: > > Adds basic pinctrl support for AM33XX family of devices. This patch > > is based on the pinctrl-simple driver submitted by Tony Lindgren's > > here: http://lwn.net/Articles/

[PATCH 1/3] arm: omap: hwmod: add new memory resource for usb phy cont

2012-07-09 Thread Damodar Santhapuri
From: Ajay Kumar Gupta Added usb_ctrl0 and usb_ctrl1 base address as new memory resources which will be used at am335x musb driver glue layer to turn on or off builin PHY. This is needed untill we have a separate system control module driver. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Damod

[PATCH 3/3] usb: musb: dsps: enable phy control for am335x

2012-07-09 Thread Damodar Santhapuri
From: Ajay Kumar Gupta Enabled the phy control logic for am335x also based on usbss revision register. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Damodar Santhapuri --- Earlier version of this patch based on function pointer was submitted at http://marc.info/?l=linux-usb&m=133583281512646&

[PATCH 2/3] usb: musb: dsps: add phy control logic to glue

2012-07-09 Thread Damodar Santhapuri
From: Ajay Kumar Gupta AM335x uses NOP transceiver driver and need to enable builtin PHY by writing into usb_ctrl register available in system control module register space. This is being added at musb glue driver layer untill a separate system control module driver is available. Signed-off-by:

Re: [PATCH 3/6] ARM: OMAP4: hwmod data: add mmu hwmod for ipu and dsp

2012-07-09 Thread Omar Ramirez Luna
Hi Paul, On 27 June 2012 20:27, Omar Ramirez Luna wrote: > On 19 June 2012 12:48, Cousson, Benoit wrote: >> On 6/19/2012 6:39 PM, Omar Ramirez Luna wrote: >>> >>> Hi Benoit, >>> >>> On 19 June 2012 07:36, Cousson, Benoit wrote: On 6/16/2012 3:56 AM, Omar Ramirez Luna wrote: >>> >>> ..

Re: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Shilimkar, Santosh
On Mon, Jul 9, 2012 at 6:56 PM, Shilimkar, Santosh wrote: > On Mon, Jul 9, 2012 at 6:55 PM, Tony Lindgren wrote: >> * Tony Lindgren [120709 06:17]: >>> * Vaibhav Hiremath [120709 01:55]: >>> > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: >>> > > --- a/arch/arm/plat-omap/include/plat/clkdev_oma

Re: [PATCH 2/3] usb: musb: dsps: add phy control logic to glue

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Jul 9, 2012 at 7:18 PM, Damodar Santhapuri wrote: > From: Ajay Kumar Gupta > > AM335x uses NOP transceiver driver and need to enable builtin PHY > by writing into usb_ctrl register available in system control > module register space. This is being added at musb glue driver > layer un

[GIT PULL] ARM: OMAP5: Add minimal OMAP5 SOC support for 3.6

2012-07-09 Thread Santosh Shilimkar
Tony, Please pull below OMAP5 SOC minimal support. It is generated against the cleanup-part2 branch of yours. As you suggested, I have dropped CK_54XX flag changes to avoid conflicts. The following changes since commit fb584511c4664573097ece7df0de06ad00b713a2: ARM: OMAP: sdrc: Fix the build br

Re: [PATCH] ARM: OMAP AM35x: clockdomain data: fix resolving dependency problem

2012-07-09 Thread Mark A. Greer
On Sat, Jul 07, 2012 at 02:41:31PM +0200, Ladislav Michl wrote: > On Mon, Jul 02, 2012 at 10:41:38AM -0700, Mark A. Greer wrote: > > On Mon, Jul 02, 2012 at 05:54:57AM +, Kim, Milo wrote: > > > In am35x board , iva2 clock domain doesn't be used. > > > So mpu_am35x_clkdm should be used rather th

Re: [PATCH] ARM: OMAP2+: omap2plus_defconfig: EHCI driver is not stable, disable it

2012-07-09 Thread Kevin Hilman
Tony Lindgren writes: > * Kevin Hilman [120706 11:25]: >> The EHCI driver is not stable enough to be enabled by default. In v3.5, >> it has at least the following problems: >> >> - warning dump during bootup >> - hang during suspend >> - prevents CORE powerdomain from entering retention during

Re: [PATCH 3/3] Watchdog: Omap: get the bootstatus for OMAP2Plus

2012-07-09 Thread Kevin Hilman
Zumeng Chen writes: > The offset of WKUP_MOD is not right for the PRM_RSTST of OMAP3. So here > put the right one to match to the actual physical addr 0x48307258, which > defined in PRCM Registers section. > > And there is a MPU_WD_RST bit in PRM_RSTST(0x48307258) holding the signal > from omap-w

Re: [PATCH v2 1/2] ARM: OMAP: board-4430sdp: MUX configuration for sys_nirq2

2012-07-09 Thread Kevin Hilman
Peter Ujfalusi writes: > On 07/06/2012 04:33 PM, Shilimkar, Santosh wrote: >>> Since this is TWL6030 specific, it should rather be done in TWL code >>> like I did for sys_nirq1: >>> >>>http://marc.info/?l=linux-omap&m=134090312118873&w=2 >>> >>> That would avoid having to do this in both boar

Re: [PATCH v2 02/14] ARM: OMAP: counter-32k: Select the CR register offset using the IP scheme.

2012-07-09 Thread Kevin Hilman
Santosh Shilimkar writes: > From: R Sricharan > > OMAP socs has a legacy and a highlander version of the > 32k sync counter IP. The register offsets vary between the > highlander and the legacy scheme. So use the 'SCHEME' > bits(30-31) of the revision register to distinguish between > the two ve

Re: [GIT PULL] gpio/omap: final fixes for v3.5

2012-07-09 Thread Linus Walleij
On Sat, Jul 7, 2012 at 1:38 AM, Kevin Hilman wrote: > Here's a couple (hopefully) final OMAP GPIO fixes for v3.5-rc. I've pulled this to my GPIO tree for testing in next. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to ma

Re: [PATCH] drivers/rtc/rtc-twl.c: fix threaded IRQ to use IRQF_ONESHOT

2012-07-09 Thread Andrew Morton
On Fri, 6 Jul 2012 09:33:54 -0700 Kevin Hilman wrote: > Requesting a threaded interrupt without a primary handler and without > IRQF_ONESHOT is dangerous, and after commit 1c6c6952 (genirq: Reject > bogus threaded irq requests), these requests are rejected. This > causes ->probe() to fail, and

Re: [PATCH v2 02/14] ARM: OMAP: counter-32k: Select the CR register offset using the IP scheme.

2012-07-09 Thread Jon Hunter
Hi Kevin, On 07/09/2012 11:47 AM, Kevin Hilman wrote: > Santosh Shilimkar writes: > >> From: R Sricharan >> >> OMAP socs has a legacy and a highlander version of the >> 32k sync counter IP. The register offsets vary between the >> highlander and the legacy scheme. So use the 'SCHEME' >> bits(30

Re: [PATCH v2 02/14] ARM: OMAP: counter-32k: Select the CR register offset using the IP scheme.

2012-07-09 Thread Jon Hunter
On 07/09/2012 11:47 AM, Kevin Hilman wrote: > Santosh Shilimkar writes: > >> From: R Sricharan >> >> OMAP socs has a legacy and a highlander version of the >> 32k sync counter IP. The register offsets vary between the >> highlander and the legacy scheme. So use the 'SCHEME' >> bits(30-31) of th

Re: [PATCH 3/3] Watchdog: Omap: get the bootstatus for OMAP2Plus

2012-07-09 Thread Zumeng Chen
于 2012年07月10日 00:40, Kevin Hilman 写道: Zumeng Chen writes: The offset of WKUP_MOD is not right for the PRM_RSTST of OMAP3. So here put the right one to match to the actual physical addr 0x48307258, which defined in PRCM Registers section. And there is a MPU_WD_RST bit in PRM_RSTST(0x48307258)

[PATCH 1/1] ARM: OMAP3: igep0020: set GPIO mode for mux mcspi1_cs2 pin

2012-07-09 Thread Javier Martinez Canillas
According to the IGEPv2 Rev.C data-sheet the LAN9221i pin 14 (IRQ) is connected to the OMAP3730 mcspi1_cs2 pin. Since this omap mux pin acts as an IRQ line, it has to be configured as an input GPIO. IGEPv2 platform code sets the smsc911x_cfg->gpio_irq to GPIO 176 but since the mux pin default mode

Re: [PATCH v2 RESEND 0/3] Watchdog: OMAP: bootstatus fix for omap3 and changes for the current watchdog framework

2012-07-09 Thread Zumeng Chen
于 2012年07月09日 15:35, Zumeng Chen 写道: > Hello, > > The following patches based on the 3.5-rc6 from Wim, which > focus on: > > 1 ) bootstatus fix for omap3, > > 2 ) omap-wdt framework update cater for the current framework > as Shubhrajyoti comments mentioned. I compiled a test case from the fol

Re: [PATCH] mmc: omap_hsmmc: fix runtime suspend crash: add host checks in callbacks

2012-07-09 Thread S, Venkatraman
On Sat, Jul 7, 2012 at 5:56 AM, Kevin Hilman wrote: > Due to the way the driver core takes runtime PM references during > probe, a driver's runtime PM callbacks may not be called until probe > returns. During probe, drvdata is set to the 'host' pointer but if > probe fails, drvdata is set to NULL

Re: [PATCH v2] mmc: omap: add clk_prepare and clk_unprepare

2012-07-09 Thread S, Venkatraman
On Wed, Jun 27, 2012 at 2:19 PM, Rajendra Nayak wrote: > In preparation of OMAP moving to Common Clk Framework(CCF) add clk_prepare() > and clk_unprepare() for the hsmmc clocks. > > Signed-off-by: Rajendra Nayak > Cc: Chris Ball > Cc: Balaji T K > Cc: > Cc: Paul Walmsley > Cc: Mike Turquette

Re: [PATCH v2] mmc: omap: add clk_prepare and clk_unprepare

2012-07-09 Thread Chris Ball
Hi, On Tue, Jul 10 2012, S, Venkatraman wrote: > On Wed, Jun 27, 2012 at 2:19 PM, Rajendra Nayak wrote: >> In preparation of OMAP moving to Common Clk Framework(CCF) add clk_prepare() >> and clk_unprepare() for the hsmmc clocks. >> >> Signed-off-by: Rajendra Nayak >> Cc: Chris Ball >> Cc: Balaj

Re: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-09 Thread Rajendra Nayak
diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt b/Documentation/devicetree/bindings/usb/omap-usb.txt new file mode 100644 index 000..80a28c9 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/omap-usb.txt @@ -0,0 +1,16 @@ +OMAP USB PHY + +OMAP USB2 PHY + +Required prope

Re: [PATCH v2 02/14] ARM: OMAP: counter-32k: Select the CR register offset using the IP scheme.

2012-07-09 Thread Shilimkar, Santosh
On Tue, Jul 10, 2012 at 4:51 AM, Jon Hunter wrote: > Hi Kevin, > > On 07/09/2012 11:47 AM, Kevin Hilman wrote: >> Santosh Shilimkar writes: >> >>> From: R Sricharan >>> >>> OMAP socs has a legacy and a highlander version of the >>> 32k sync counter IP. The register offsets vary between the >>> h

RE: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Hiremath, Vaibhav
On Mon, Jul 09, 2012 at 16:09:59, Shilimkar, Santosh wrote: > On Mon, Jul 9, 2012 at 2:20 PM, Vaibhav Hiremath wrote: > > > > > > > > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: > > > From: R Sricharan > > > > > > OMAP5430 is Texas Instrument's SOC based on ARM Cortex-A15 SMP > > > architecture

Re: [PATCH v1 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-07-09 Thread Rajendra Nayak
On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 18 drivers

Re: [PATCH v1 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-07-09 Thread Rajendra Nayak
On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add device tree support for twl6030 usb driver. twl4030? Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 19 +

RE: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-09 Thread Venu Byravarasu
> > + > > +#ifdef CONFIG_PM Should it not be CONFIG_PM_SLEEP instead of just CONFIG_PM? > > + > > +static int omap_usb2_runtime_suspend(struct device *dev) > > +{ > > + struct platform_device *pdev = to_platform_device(dev); > > + struct omap_usb *phy = platform_get_drvdata(pdev); > > + >

RE: [PATCH 2/3] usb: musb: dsps: add phy control logic to glue

2012-07-09 Thread Gupta, Ajay Kumar
Hi, > > On Mon, Jul 9, 2012 at 7:18 PM, Damodar Santhapuri > wrote: > > From: Ajay Kumar Gupta > > > > AM335x uses NOP transceiver driver and need to enable builtin PHY > > by writing into usb_ctrl register available in system control > > module register space. This is being added at musb glue d

Re: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Shilimkar, Santosh
On Tue, Jul 10, 2012 at 11:27 AM, Hiremath, Vaibhav wrote: > On Mon, Jul 09, 2012 at 16:09:59, Shilimkar, Santosh wrote: >> On Mon, Jul 9, 2012 at 2:20 PM, Vaibhav Hiremath wrote: >> > >> > >> > >> > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: >> > > From: R Sricharan >> > > >> > > OMAP5430 is

Re: [PATCH 2/3] usb: musb: dsps: add phy control logic to glue

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:35 AM, Gupta, Ajay Kumar wrote: > Hi, >> >> On Mon, Jul 9, 2012 at 7:18 PM, Damodar Santhapuri >> wrote: >> > From: Ajay Kumar Gupta >> > >> > AM335x uses NOP transceiver driver and need to enable builtin PHY >> > by writing into usb_ctrl register available in sys

RE: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Hiremath, Vaibhav
On Tue, Jul 10, 2012 at 11:36:15, Shilimkar, Santosh wrote: > On Tue, Jul 10, 2012 at 11:27 AM, Hiremath, Vaibhav wrote: > > On Mon, Jul 09, 2012 at 16:09:59, Shilimkar, Santosh wrote: > >> On Mon, Jul 9, 2012 at 2:20 PM, Vaibhav Hiremath wrote: > >> > > >> > > >> > > >> > On 7/6/2012 2:51 PM, Sa

Re: [PATCH v1 08/11] arm/dts: Add twl4030-usb data

2012-07-09 Thread Rajendra Nayak
On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add twl4030-usb data node in twl4030 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/a

RE: [PATCH v5 3/3] ARM: OMAP2+: onenand: prepare for gpmc driver migration

2012-07-09 Thread Mohammed, Afzal
Hi Tony, Could not respond you earlier as was sick On Fri, Jul 06, 2012 at 17:35:33, Tony Lindgren wrote: > * Mohammed, Afzal [120705 07:56]: > > On Thu, Jul 05, 2012 at 16:25:35, Tony Lindgren wrote: > > Presently bigger issue that I am facing w.r.t driver conversion is the > > requirement of

RE: [PATCH 2/3] usb: musb: dsps: add phy control logic to glue

2012-07-09 Thread Gupta, Ajay Kumar
Hi, > On Tue, Jul 10, 2012 at 11:35 AM, Gupta, Ajay Kumar > wrote: > > Hi, > >> > >> On Mon, Jul 9, 2012 at 7:18 PM, Damodar Santhapuri > >> wrote: > >> > From: Ajay Kumar Gupta > >> > > >> > AM335x uses NOP transceiver driver and need to enable builtin PHY > >> > by writing into usb_ctrl regist

RE: [PATCH v2 04/14] ARM: OMAP5: Add minimal support for OMAP5430 SOC

2012-07-09 Thread Hiremath, Vaibhav
On Mon, Jul 09, 2012 at 18:41:58, Tony Lindgren wrote: > * Vaibhav Hiremath [120709 01:55]: > > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: > > > --- a/arch/arm/plat-omap/include/plat/clkdev_omap.h > > > +++ b/arch/arm/plat-omap/include/plat/clkdev_omap.h > > > @@ -39,6 +39,7 @@ struct omap_clk

Re: [PATCH v1 10/11] arm/dts: omap: Add usb_otg and glue data

2012-07-09 Thread Rajendra Nayak
On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-.dts file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap3-beagle.dts |6 ++ arch/arm/boo

Re: [PATCH v1 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:28 AM, Rajendra Nayak wrote: > On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: >> >> Add device tree support for twl6030 usb driver. >> Update the Documentation with device tree binding information. >> >> Signed-off-by: Kishon Vijay Abraham I >> ---

Re: [PATCH v1 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-07-09 Thread Rajendra Nayak
On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I Acked-by: Tony Lindgren --- arch/arm/mach-omap2/omap

Re: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:16 AM, Rajendra Nayak wrote: >> diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt >> b/Documentation/devicetree/bindings/usb/omap-usb.txt >> new file mode 100644 >> index 000..80a28c9 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/usb/

Re: [PATCH v1 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-07-09 Thread Rajendra Nayak
On Tuesday 10 July 2012 11:58 AM, ABRAHAM, KISHON VIJAY wrote: Hi, On Tue, Jul 10, 2012 at 11:28 AM, Rajendra Nayak wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding inform

RE: [PATCH v2 02/14] ARM: OMAP: counter-32k: Select the CR register offset using the IP scheme.

2012-07-09 Thread Hiremath, Vaibhav
On Mon, Jul 09, 2012 at 16:12:15, Shilimkar, Santosh wrote: > On Mon, Jul 9, 2012 at 2:20 PM, Vaibhav Hiremath wrote: > > > > > > On 7/6/2012 2:51 PM, Santosh Shilimkar wrote: > >> From: R Sricharan > >> > >> OMAP socs has a legacy and a highlander version of the > >> 32k sync counter IP. The reg

Re: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:33 AM, Venu Byravarasu wrote: >> > + >> > +#ifdef CONFIG_PM > > Should it not be CONFIG_PM_SLEEP instead of just CONFIG_PM? Why? I think we should have CONFIG_PM_SLEEP only when we have *suspend*, *resume* hooks. But this driver has only *runtime_suspend* and *runt

Re: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-09 Thread Rajendra Nayak
+ +static int __devinit omap_usb2_probe(struct platform_device *pdev) +{ + struct omap_usb *phy; + struct usb_otg *otg; + struct resource *res; + + phy = devm_kzalloc(&pdev->dev, sizeof(*phy), GFP_KERNEL); + if (!phy)

Re: [PATCH v1 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:32 AM, Rajendra Nayak wrote: > On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: >> >> Add device tree support for twl6030 usb driver. > > > twl4030? My bad. Will fix it. > > >> Update the Documentation with device tree binding information. >> >> Sign

Re: [PATCH v1 08/11] arm/dts: Add twl4030-usb data

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:43 AM, Rajendra Nayak wrote: > On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: >> >> Add twl4030-usb data node in twl4030 device tree file. >> >> Signed-off-by: Kishon Vijay Abraham I >> --- >> arch/arm/boot/dts/twl4030.dtsi | 21 +++