Re: [PATCH 1/4] OMAPDSS: Fix DSS clock multiplier issue on 3703 and probably 3630

2014-05-13 Thread Tomi Valkeinen
On 13/05/14 18:26, Tony Lindgren wrote: > * Tomi Valkeinen [140512 07:45]: >> On 12/05/14 17:39, Tony Lindgren wrote: >>> * Tomi Valkeinen [140512 04:36]: On 09/05/14 17:37, Tony Lindgren wrote: > > This is just the 3730-evm with the Sharp VGA panel mentioned in > this series. >>

Re: [PATCH 3/4] OMAPDSS: panel-sharp-ls037v7dw01: add device tree support

2014-05-13 Thread Tomi Valkeinen
On 13/05/14 18:25, Tony Lindgren wrote: > Well ideally the revision info for a device would come from device > revision registers rather using the SoC revision. In the DSS case when > the SoC revision is needed by a device it maybe it can be deciphered > from a combination of compatible flag and t

Re: [PATCH 5/5] usb: dwc3: dwc3-omap: Disable/Enable core interrupts in Suspend/Resume

2014-05-13 Thread George Cherian
On 5/13/2014 9:20 PM, Felipe Balbi wrote: Hi, On Thu, May 08, 2014 at 03:03:07PM +0530, George Cherian wrote: Enabling the core interrupts in complete is too late for XHCI, and stops xhci from proper operation. So remove prepare and complete and disable/enable isn't this a bug in xhci ? I mean

Re: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-13 Thread Kishon Vijay Abraham I
hi Arnd, On Tuesday 13 May 2014 07:04 PM, Arnd Bergmann wrote: > On Tuesday 13 May 2014 15:27:46 Arnd Bergmann wrote: >> On Tuesday 13 May 2014 18:56:23 Kishon Vijay Abraham I wrote: If you have a case where the outbound translation is a 256MB (i.e. 28bit) section of the CPU address spac

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread John Syn
On 5/13/14, 8:39 PM, "Pantelis Antoniou" wrote: >Hi John, > >On May 13, 2014, at 1:24 PM, John Syn wrote: > >> >> On 5/13/14, 10:51 AM, "Javier Martinez Canillas" >> wrote: >> >>> Hello Pantelis, >>> >>> On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou >>> wrote: Hi Javier, >>>

Re: [PATCH 1/5] usb: dwc3: dwc3-omap: Add dwc3_omap_map_offset function

2014-05-13 Thread George Cherian
On 5/13/2014 9:32 PM, Felipe Balbi wrote: Hi, On Thu, May 08, 2014 at 03:03:03PM +0530, George Cherian wrote: Calculate the wrapper register offsets in a seperate function. Improve code readability, decrease the dwc3_probe() size. Signed-off-by: George Cherian --- drivers/usb/dwc3/dwc3-omap

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread George Cherian
On 5/14/2014 12:07 AM, Bin Liu wrote: Hi, On Tue, May 13, 2014 at 8:24 AM, George Cherian wrote: Hi Daniel, On 5/13/2014 6:44 PM, Daniel Mack wrote: Hi George, On 05/13/2014 02:57 PM, George Cherian wrote: I never enabled the MUSB_BABBLE_SW_SESSION_CTRL in the MUSB_BABBLE_CTL reg. can you

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi John, On May 13, 2014, at 1:24 PM, John Syn wrote: > > On 5/13/14, 10:51 AM, "Javier Martinez Canillas" > wrote: > >> Hello Pantelis, >> >> On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou >> wrote: >>> Hi Javier, >>> >>> On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: >>>

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi Javier, On May 13, 2014, at 10:51 AM, Javier Martinez Canillas wrote: > Hello Pantelis, > > On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou > wrote: >> Hi Javier, >> >> On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: >> >>> On Tue, May 13, 2014 at 4:22 PM, Matt Porter wrot

[PATCH 3/7] mfd: twl4030-power: Add generic reset configuration

2014-05-13 Thread Tony Lindgren
The twl4030 PMIC needs to be configured properly for things like warm reset and deeper idle states so the PMIC manages the regulators properly based on the hardware triggers from the SoC. For example, when rebooting an OMAP3530 at 125 MHz, it hangs. With this patch, TWL4030 will be reset when a wa

[PATCH 2/7] mfd: twl4030-power: Fix some defines for SW_EVENTS

2014-05-13 Thread Tony Lindgren
We have these bits partially defined in two different places, so let's fix them up and add defines for the missing bits. These bits are the same for P1_SW_EVENTS, P2_SW_EVENTS and P3_SW_EVENTS. Cc: Peter Ujfalusi Signed-off-by: Tony Lindgren --- drivers/mfd/twl4030-power.c | 23 +---

[PATCH 1/7] mfd: twl4030-power: Fix hang on reboot if sleep configuration was loaded earlier

2014-05-13 Thread Tony Lindgren
Looks like we can still hit the issue of wrong load order of twl4030 configuration. If we have a sleep configuration loaded, and do a warm reset, the device can hang while initializing the wakeup12 sequence. We do have a warning message about wrong order of twl4030 configuration, but in this case i

[PATCH 7/7] ARM: dts: Enable twl4030 off-idle configuration for selected omaps

2014-05-13 Thread Tony Lindgren
N900 now seems to shut down the external oscillator when hitting off-idle. And Beagle XM seems to have OSC_EN pin connected to allow shutting down the oscillator looking at the schematics. The oscillator output is cut off in off-idle and you can monitor it from R56 on the bottom side of the board

[PATCH 6/7] mfd: twl4030power: Add a configuration to turn off oscillator during off-idle

2014-05-13 Thread Tony Lindgren
Some oscillators can be turned off during off-idle saving few a little bit power at the cost of the oscillator start up latency. If you board can do this, you can now enable it by using the ti,twl4030-power-idle-osc-off compatible flag. Cc: Peter De Schrijver Cc: Samuel Ortiz Acked-by: Lee Jone

[PATCH 5/7] mfd: twl4030-power: Add support for board specific configuration

2014-05-13 Thread Tony Lindgren
With the recommended twl4030 configuration added, we can now add board specific changes as modifications to the recommended configuration. Note that the data is private to this driver, and the data must always have a NULL resource in the sentinel. Cc: Peter De Schrijver Cc: Samuel Ortiz Cc: Lee

[PATCH 4/7] mfd: twl4030-power: Add recommended idle configuration

2014-05-13 Thread Tony Lindgren
These settings are based on the "Recommended Sleep Sequences for the Zoom Platform" pdf at: http://omappedia.com/wiki/File:Recommended_Sleep_Sequences_Zoom.pdf These settings assume most of the regulators are under control of Linux, and twl4030 only cuts off VDD1 and VDD2 during off-idle as Linux

[PATCH v2 0/7] mfd: twl4030-power: Enable off-idle configuration when booted with device tree

2014-05-13 Thread Tony Lindgren
Hi, Here's an updated set of patches to enable low-power idle modes for some omap3 boards when booted with device tree. This series when applied on top of the patches in tread "[PATCH 00/11] Fi

Re: [PATCH 4/4] ARM: dts: Add LCD panel sharp ls037v7dw01 support for omap3-evm and ldp

2014-05-13 Thread Tony Lindgren
* Tony Lindgren [140509 08:38]: > * Tomi Valkeinen [140509 00:08]: > > On 09/05/14 02:36, Tony Lindgren wrote: > > Why always-on? > > Oops, yeah that should not be there. The GPIO is board specific. Oops, on ldp the regulator is always on tps61130rsa enabled by twl4030 regen. Here's the updated

Re: [PATCH 3/4] OMAPDSS: panel-sharp-ls037v7dw01: add device tree support

2014-05-13 Thread Tony Lindgren
* Tony Lindgren [140509 08:31]: > * Tomi Valkeinen [140509 01:31]: > > On 09/05/14 02:33, Tony Lindgren wrote: > > > * Tony Lindgren [140507 11:00]: > > >> * Tomi Valkeinen [140507 09:03]: > > >>> On 07/05/14 18:03, Tony Lindgren wrote: > > > > BTW, I'm also personally fine with all f

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread John Syn
On 5/13/14, 10:51 AM, "Javier Martinez Canillas" wrote: >Hello Pantelis, > >On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou > wrote: >> Hi Javier, >> >> On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: >> >>> On Tue, May 13, 2014 at 4:22 PM, Matt Porter >>>wrote: On Tue, May

Re: [PATCH 4/8] usb: phy: fix isp1301-omap dependency on tps65010

2014-05-13 Thread Felipe Balbi
Hi, On Tue, May 13, 2014 at 09:48:27PM +0200, Arnd Bergmann wrote: > On Tuesday 13 May 2014 10:26:31 Felipe Balbi wrote: > > On Thu, May 08, 2014 at 03:52:17PM +0200, Arnd Bergmann wrote: > > > The isp1301-omap driver cannot be built-in if the tps65010 driver > > > is a module, otherwise we get a

Re: [PATCH 4/8] usb: phy: fix isp1301-omap dependency on tps65010

2014-05-13 Thread Arnd Bergmann
On Tuesday 13 May 2014 10:26:31 Felipe Balbi wrote: > On Thu, May 08, 2014 at 03:52:17PM +0200, Arnd Bergmann wrote: > > The isp1301-omap driver cannot be built-in if the tps65010 driver > > is a module, otherwise we get a link error from the reference to > > the tps65010_set_vbus_draw function. >

Re: [PATCH 0/2] PM / OPP: move cpufreq specific helpers out of OPP layer

2014-05-13 Thread Thomas Abraham
On Mon, May 5, 2014 at 7:03 PM, Nishanth Menon wrote: > CPUFreq usage of OPP should be independent of the ordering of type of > data storage inside OPP layer. The current operations can equally be > performed by generic operations. > > [RFC]: https://patchwork.kernel.org/patch/4100811/ > > Series

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread Bin Liu
Hi, On Tue, May 13, 2014 at 8:24 AM, George Cherian wrote: > Hi Daniel, > > > On 5/13/2014 6:44 PM, Daniel Mack wrote: >> >> Hi George, >> >> On 05/13/2014 02:57 PM, George Cherian wrote: >>> >>> I never enabled the MUSB_BABBLE_SW_SESSION_CTRL in the MUSB_BABBLE_CTL >>> reg. >>> can you try with

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Javier Martinez Canillas
Hello Pantelis, On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou wrote: > Hi Javier, > > On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: > >> On Tue, May 13, 2014 at 4:22 PM, Matt Porter wrote: >>> On Tue, May 13, 2014 at 04:06:02PM +0200, Javier Martinez Canillas wrote: On T

Re: [PATCH v4 5/6] ARM: dts: am43x-epos-evm: fix reg and range property of GPMC NAND node

2014-05-13 Thread Tony Lindgren
* Pekon Gupta [140509 13:48]: > 1) NAND device memory is not directly accessible to CPU, its indirectly > accessed >via registers. So the 'reg' property for GPMC NAND nodes should be limited > to >address range of internal GPMC registers only. > 2) Also, minimum granularity of address sp

Re: [PATCH v4 1/6] ARM: dts: am335x-bone: add support for beaglebone NAND cape

2014-05-13 Thread Tony Lindgren
* Pekon Gupta [140509 13:41]: > +&gpmc { > + pinctrl-names = "default"; > + pinctrl-0 = <&nand_flash_x16>; > + ranges = <0 0 0 0x0100>;/* CS0: NAND */ > + nand@0,0 { > + reg = <0 0 0x380>; /* CS0, offset=0x0, reg-map size=0x380 */ Just noticed this, can you ple

Re: [PATCH 1/1] ARM: dts: am437x-gp-evm: Add ethernet support for GP EVM

2014-05-13 Thread Tony Lindgren
* Mugunthan V N [140507 02:31]: > Add CPSW ethernet support for AM437x GP EVM which has one slave pinned out > > Signed-off-by: Mugunthan V N > --- > arch/arm/boot/dts/am437x-gp-evm.dts | 72 > + > 1 file changed, 72 insertions(+) > > diff --git a/arch/arm/

Re: [PATCH v3 7/7] dts: dra7-evm: add USB support

2014-05-13 Thread Tony Lindgren
* Roger Quadros [140505 02:55]: > Add USB pinmux information and USB modes > for the USB controllers. > > CC: Benoît Cousson > Reviewed-by: Felipe Balbi > Signed-off-by: Roger Quadros > --- > arch/arm/boot/dts/dra7-evm.dts | 24 > 1 file changed, 24 insertions(+) > >

Re: [PATCH] ARM: OMAP2+: Add support for RNG on DT booted N900

2014-05-13 Thread Tony Lindgren
* Sebastian Reichel [140508 12:55]: > Hi, > > On Mon, Apr 07, 2014 at 02:28:46PM +0200, Sebastian Reichel wrote: > > Add support for OMAP3 ROM Random Number Generator via > > pdata-quirks. > > ping Thanks applying into omap-for-v3.16/board. Tony -- To unsubscribe from this list: send the line

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi Javier, On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: > On Tue, May 13, 2014 at 4:22 PM, Matt Porter wrote: >> On Tue, May 13, 2014 at 04:06:02PM +0200, Javier Martinez Canillas wrote: >>> On Tue, May 13, 2014 at 2:53 PM, Tom Rini wrote: On 05/12/2014 04:57 PM, Robert Nel

Re: [PATCH] ARM: dts: am335x-evm: fix comments for lcd pins

2014-05-13 Thread Tony Lindgren
* Uwe Kleine-König [140511 23:04]: > Hi Wolfram, > > On Fri, May 09, 2014 at 05:15:50PM +0200, Wolfram Sang wrote: > > From: Wolfram Sang > > > > In the comments, LCD pins 16-23 were numbered in the wrong order. > > Fix this and use proper pinmux constants for all entries while we are > > > Yo

Re: [PATCH 1/5] usb: dwc3: dwc3-omap: Add dwc3_omap_map_offset function

2014-05-13 Thread Felipe Balbi
Hi, On Thu, May 08, 2014 at 03:03:03PM +0530, George Cherian wrote: > Calculate the wrapper register offsets in a seperate function. > Improve code readability, decrease the dwc3_probe() size. > > Signed-off-by: George Cherian > --- > drivers/usb/dwc3/dwc3-omap.c | 80 > +++

Re: [PATCH 5/5] usb: dwc3: dwc3-omap: Disable/Enable core interrupts in Suspend/Resume

2014-05-13 Thread Felipe Balbi
Hi, On Thu, May 08, 2014 at 03:03:07PM +0530, George Cherian wrote: > Enabling the core interrupts in complete is too late for XHCI, and stops > xhci from proper operation. So remove prepare and complete and disable/enable isn't this a bug in xhci ? I mean the driver should make no assumption as

Re: RCU stall on panda

2014-05-13 Thread Tony Lindgren
* Alex Shi [140512 23:37]: > On 05/13/2014 05:21 AM, Tony Lindgren wrote: > > * Paul E. McKenney [140505 11:11]: > >> On Mon, May 05, 2014 at 05:39:43PM +0800, Alex Shi wrote: > >>> I keep seeing the RCU stall problem on panda board from 3.10 kernel to > >>> latest upstream kernel > >>> and goog

Re: [PATCH] usb: dwc3: ep0: fix delayed status is queued too early

2014-05-13 Thread Zhuang Jin Can
On Tue, May 13, 2014 at 10:05:34AM -0500, Felipe Balbi wrote: > Hi, > > On Tue, May 13, 2014 at 09:45:51PM -0400, Zhuang Jin Can wrote: > > Hi Balbi, > > > > Do you have any comment for this patch? > > do you have an easy test-case which I can use to validate on my end ? The issue was reproduced

Re: [PATCH 4/8] usb: phy: fix isp1301-omap dependency on tps65010

2014-05-13 Thread Felipe Balbi
On Thu, May 08, 2014 at 03:52:17PM +0200, Arnd Bergmann wrote: > The isp1301-omap driver cannot be built-in if the tps65010 driver > is a module, otherwise we get a link error from the reference to > the tps65010_set_vbus_draw function. > > There is already a hack in the driver to work around the

Re: [PATCH 1/4] OMAPDSS: Fix DSS clock multiplier issue on 3703 and probably 3630

2014-05-13 Thread Tony Lindgren
* Tomi Valkeinen [140512 07:45]: > On 12/05/14 17:39, Tony Lindgren wrote: > > * Tomi Valkeinen [140512 04:36]: > >> On 09/05/14 17:37, Tony Lindgren wrote: > >>> > >>> This is just the 3730-evm with the Sharp VGA panel mentioned in > >>> this series. > >> > >> Hmm, well, those both look fine. Th

Re: [PATCH 3/4] OMAPDSS: panel-sharp-ls037v7dw01: add device tree support

2014-05-13 Thread Tony Lindgren
* Javier Martinez Canillas [140513 04:40]: > On Tue, May 13, 2014 at 12:51 PM, Tomi Valkeinen > wrote: > > On 12/05/14 18:51, Tony Lindgren wrote: > > > >>> It's already in v3.15. > >> > >> Oh great.. And you dumped it into arch/arm/mach-omap2 too and I somehow > >> even acked it :( Looks like t

Re: [PATCH] usb: dwc3: ep0: fix delayed status is queued too early

2014-05-13 Thread Felipe Balbi
Hi, On Tue, May 13, 2014 at 09:45:51PM -0400, Zhuang Jin Can wrote: > Hi Balbi, > > Do you have any comment for this patch? do you have an easy test-case which I can use to validate on my end ? -- balbi signature.asc Description: Digital signature

[PATCH] ARM: OMAP4: Fix the boot regression with CPU_IDLE enabled

2014-05-13 Thread Santosh Shilimkar
On OMAP4 panda board, there have been several bug reports about boot hang and lock-ups with CPU_IDLE enabled. The root cause of the issue is missing interrupts while in idle state. Commit cb7094e8 {cpuidle / omap4 : use CPUIDLE_FLAG_TIMER_STOP flag} moved the broadcast notifiers to common code for

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Javier Martinez Canillas
On Tue, May 13, 2014 at 4:22 PM, Matt Porter wrote: > On Tue, May 13, 2014 at 04:06:02PM +0200, Javier Martinez Canillas wrote: >> On Tue, May 13, 2014 at 2:53 PM, Tom Rini wrote: >> > On 05/12/2014 04:57 PM, Robert Nelson wrote: >> Either case if fine with me. As who knows when the dtc "ov

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Matt Porter
On Tue, May 13, 2014 at 04:06:02PM +0200, Javier Martinez Canillas wrote: > On Tue, May 13, 2014 at 2:53 PM, Tom Rini wrote: > > On 05/12/2014 04:57 PM, Robert Nelson wrote: > Either case if fine with me. As who knows when the dtc "overlay" will > every truly make it mainline, as the ca

Re: omap4-panda-es boot issues with v3.15-rc4

2014-05-13 Thread Santosh Shilimkar
On Tuesday 13 May 2014 04:10 AM, Roger Quadros wrote: > On 05/13/2014 01:07 AM, Tony Lindgren wrote: >> * Santosh Shilimkar [140512 14:41]: >>> On Sunday 11 May 2014 11:55 AM, Tony Lindgren wrote: * Kevin Hilman [140509 16:46]: > Roger Quadros writes: > >> Kevin, >> >> O

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Tom Rini
On 05/13/2014 10:06 AM, Javier Martinez Canillas wrote: > Agreed. I think that until the device tree overlay and the cape > manager find their way into mainline we should treat capes as if they > were expansion boards attached to a Computer-on-Module. That is, a > static based board which its own

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Javier Martinez Canillas
On Tue, May 13, 2014 at 2:53 PM, Tom Rini wrote: > On 05/12/2014 04:57 PM, Robert Nelson wrote: Either case if fine with me. As who knows when the dtc "overlay" will every truly make it mainline, as the capemgr was the only real kernel user of the i2c/at24 eeprom information. >>> >

Re: [PATCH] usb: dwc3: ep0: fix delayed status is queued too early

2014-05-13 Thread Zhuang Jin Can
Hi Balbi, Do you have any comment for this patch? Thanks Jincan On Wed, May 07, 2014 at 05:53:44PM -0400, Zhuang Jin Can wrote: > A delayed status request may be queued before composite framework returns > USB_GADGET_DELAYED_STATUS, because the thread queueing the request can run > on a differen

Re: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-13 Thread Arnd Bergmann
On Tuesday 13 May 2014 15:27:46 Arnd Bergmann wrote: > On Tuesday 13 May 2014 18:56:23 Kishon Vijay Abraham I wrote: > > > If you have a case where the outbound translation is a 256MB (i.e. 28bit) > > > section of the CPU address space, that could be represented as > > > > > > ranges = <0x82

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread Daniel Mack
On 05/13/2014 03:24 PM, George Cherian wrote: > Basically, there are 2 types of babble conditions. > 1) Transient babble condition - which could be recovered from without an > IP reset . > 2) Babble condition - which could be recovered from only by doing an IP > reset. Ok, thanks for the explana

Re: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-13 Thread Arnd Bergmann
On Tuesday 13 May 2014 18:56:23 Kishon Vijay Abraham I wrote: > > If you have a case where the outbound translation is a 256MB (i.e. 28bit) > > section of the CPU address space, that could be represented as > > > > ranges = <0x8200 0 0 0xb000 0 0x1000>; > > > > or > > > >

Re: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-13 Thread Kishon Vijay Abraham I
Hi Arnd, On Tuesday 13 May 2014 06:17 PM, Arnd Bergmann wrote: > On Tuesday 13 May 2014 18:01:59 Kishon Vijay Abraham I wrote: >> On Thursday 08 May 2014 02:48 PM, Arnd Bergmann wrote: >>> On Thursday 08 May 2014 18:05:11 Jingoo Han wrote: On Tuesday, May 06, 2014 10:59 PM, Arnd Bergmann wrot

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread George Cherian
Hi Daniel, On 5/13/2014 6:44 PM, Daniel Mack wrote: Hi George, On 05/13/2014 02:57 PM, George Cherian wrote: I never enabled the MUSB_BABBLE_SW_SESSION_CTRL in the MUSB_BABBLE_CTL reg. can you try with the following patch. diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread Daniel Mack
Hi George, On 05/13/2014 02:57 PM, George Cherian wrote: > I never enabled the MUSB_BABBLE_SW_SESSION_CTRL in the MUSB_BABBLE_CTL reg. > can you try with the following patch. > > diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c > index 1ae6681..1160cd1 100644 > --- a/drive

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread George Cherian
On 5/13/2014 5:50 PM, Daniel Mack wrote: On 05/13/2014 01:57 PM, George Cherian wrote: On 5/13/2014 3:16 PM, Daniel Mack wrote: On 05/13/2014 10:31 AM, George Cherian wrote: Series add support for SW babble control logic found in new silicon versions of AM335x. Runtime differentiation of silic

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Tom Rini
On 05/12/2014 04:57 PM, Robert Nelson wrote: >>> Either case if fine with me. As who knows when the dtc "overlay" will >>> every truly make it mainline, as the capemgr was the only real kernel >>> user of the i2c/at24 eeprom information. >> >> Sounds like we should keep it disabled though so u-boo

Re: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-13 Thread Arnd Bergmann
On Tuesday 13 May 2014 18:01:59 Kishon Vijay Abraham I wrote: > On Thursday 08 May 2014 02:48 PM, Arnd Bergmann wrote: > > On Thursday 08 May 2014 18:05:11 Jingoo Han wrote: > >> On Tuesday, May 06, 2014 10:59 PM, Arnd Bergmann wrote: > >>> On Tuesday 06 May 2014 19:03:52 Kishon Vijay Abraham I wro

Re: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-13 Thread Kishon Vijay Abraham I
Hi Arnd, On Thursday 08 May 2014 02:48 PM, Arnd Bergmann wrote: > On Thursday 08 May 2014 18:05:11 Jingoo Han wrote: >> On Tuesday, May 06, 2014 10:59 PM, Arnd Bergmann wrote: >>> On Tuesday 06 May 2014 19:03:52 Kishon Vijay Abraham I wrote: In DRA7, the cpu sees 32bit address, but the pcie c

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread Daniel Mack
On 05/13/2014 01:57 PM, George Cherian wrote: > On 5/13/2014 3:16 PM, Daniel Mack wrote: >> On 05/13/2014 10:31 AM, George Cherian wrote: >>> Series add support for SW babble control logic found in >>> new silicon versions of AM335x. Runtime differentiation of >>> silicon version is done by checkin

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread George Cherian
On 5/13/2014 3:16 PM, Daniel Mack wrote: Hi George, On 05/13/2014 10:31 AM, George Cherian wrote: Series add support for SW babble control logic found in new silicon versions of AM335x. Runtime differentiation of silicon version is done by checking the BABBLE_CTL register. For newer silicon the

Re: [PATCH 3/4] OMAPDSS: panel-sharp-ls037v7dw01: add device tree support

2014-05-13 Thread Javier Martinez Canillas
On Tue, May 13, 2014 at 12:51 PM, Tomi Valkeinen wrote: > On 12/05/14 18:51, Tony Lindgren wrote: > >>> It's already in v3.15. >> >> Oh great.. And you dumped it into arch/arm/mach-omap2 too and I somehow >> even acked it :( Looks like there's also the custom mux hacks. And >> custom hwmod hacks.

Re: [PATCH 3/4] OMAPDSS: panel-sharp-ls037v7dw01: add device tree support

2014-05-13 Thread Tomi Valkeinen
On 12/05/14 18:51, Tony Lindgren wrote: >> It's already in v3.15. > > Oh great.. And you dumped it into arch/arm/mach-omap2 too and I somehow > even acked it :( Looks like there's also the custom mux hacks. And > custom hwmod hacks. And ongoing soc_is_xxx tinkering. Now let's not add The omap2_d

[PATCH v2 0/5] ARM/DT: edma: Get IP configuration from hardware

2014-05-13 Thread Peter Ujfalusi
Hi, Changes sicne v1: - added missing patch to remove the memset from edma_of_parse_dt() We are requesting redundant information via DT for the driver since the very same data is available in the HW: by reading and decoding the content of CCCFG register we can get: Number of channels: NUM_DMACH

[PATCH v2 4/5] ARM: dts: am33xx: Remove obsolete properties from edma node

2014-05-13 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/am33xx.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arc

[PATCH v2 1/5] ARM: edma: No need to clean the pdata in edma_of_parse_dt()

2014-05-13 Thread Peter Ujfalusi
The pdata has been just allocated with devm_kzalloc() in edma_setup_info_from_dt() and passed to this function. Signed-off-by: Peter Ujfalusi --- arch/arm/common/edma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index b9bd42ad2d6e..fade9a

[PATCH v2 2/5] ARM: edma: Get IP information from HW when booting with DT

2014-05-13 Thread Peter Ujfalusi
>From CCCFG register of eDMA3 we can get all the needed information for the driver about the IP: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots (PaRAM sets): NUM_PAENTRY Number of TC/EQ: NUM_EVQUE Signed-off-by: Peter Ujfalusi --- arch/arm/common/edma.c | 128 +

[PATCH v2 5/5] ARM: dts: am4372: Remove obsolete properties from edma node

2014-05-13 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/am4372.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arc

[PATCH v2 3/5] dt/bindings: ti,edma: Remove redundant properties from documentation

2014-05-13 Thread Peter Ujfalusi
>From CCCFG register of eDMA3 we can get all the needed information for the driver about the IP: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots (PaRAM sets): NUM_PAENTRY Number of TC/EQ: NUM_EVQUE The ti,edma-regions; ti,edma-slots and dma-channels in DT are redundant si

Re: [PATCH 0/4] ARM/DT: edma: Get IP configuration from hardware

2014-05-13 Thread Peter Ujfalusi
On 05/13/2014 11:33 AM, Sekhar Nori wrote: > On Tuesday 13 May 2014 01:13 PM, Peter Ujfalusi wrote: >> Hi, >> >> We are requesting redundant information via DT for the driver since the very >> same >> data is available in the HW: by reading and decoding the content of CCCFG >> register we can get:

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread Daniel Mack
Hi George, On 05/13/2014 10:31 AM, George Cherian wrote: > Series add support for SW babble control logic found in > new silicon versions of AM335x. Runtime differentiation of > silicon version is done by checking the BABBLE_CTL register. > For newer silicon the register default value read is 0x4

Re: [PATCH 1/2] gpio: omap: prepare and unprepare the debounce clock

2014-05-13 Thread Linus Walleij
On Thu, May 8, 2014 at 9:06 AM, Rajendra Nayak wrote: > Do you mind picking this fix up via the GPIO tree? Yes, it's merged to my devel branch now with the ACKs. > Alternatively you could > Ack this if you are fine and we can take both Patch 1/2 and Patch 2/2 from > this > series via the OMAP

Re: [PATCH 0/3] Add DRA7xx CPSW Ethernet support in Device Tree

2014-05-13 Thread Mugunthan V N
Tony/Benoit On Tuesday 13 May 2014 01:34 PM, Mugunthan V N wrote: > Adding device tree entry for CPSW to make it work in Dual EMAC mode. > > DRA7 cpsw phy sel driver patch has been pulled in net-next git with the > following commit id *d415fa1b88748d664b7b6a310dd8e699d2686cf7* > > Mugunthan V N (3

[PATCH 2/2] ARM: dts: am437x-gp-evm: Add ethernet support for GP EVM

2014-05-13 Thread Mugunthan V N
Add CPSW ethernet support for AM437x GP EVM which has one slave pinned out Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am437x-gp-evm.dts | 72 + 1 file changed, 72 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am43

[PATCH 1/2] ARM: dts: am4372: Add cpsw phy sel dt node

2014-05-13 Thread Mugunthan V N
Add cpsw phy sel device tree node for selecting phy mode in control module Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am4372.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index ac37ac9..0ff84cf 100644 --- a/ar

[PATCH 0/2] Add AM437x GP EVM cpsw DT node

2014-05-13 Thread Mugunthan V N
Add AM437x GP EVM cpsw device tree node Mugunthan V N (2): ARM: dts: am4372: Add cpsw phy sel dt node ARM: dts: am437x-gp-evm: Add ethernet support for GP EVM arch/arm/boot/dts/am4372.dtsi | 6 arch/arm/boot/dts/am437x-gp-evm.dts | 72 + 2 file

[PATCH v3 1/5] usb: musb: core: Convert babble recover work to delayed work

2014-05-13 Thread George Cherian
During babble condition both first disconnect of devices are initiated. Make sure MUSB controller is reset and re-initialized after all disconnects. To acheive this schedule a delayed work for babble rrecovery. While at that convert udelay to usleep_range. Refer Documentation/timers/timers-howto.

[PATCH v3 3/5] usb: musb: core: Convert the musb_platform_reset to have a return value.

2014-05-13 Thread George Cherian
Currently musb_platform_reset() is only used by dsps. In case of BABBLE interrupt for other platforms the musb_platform_reset() is a NOP. In such situations no need to re-initialize the endpoints. Also in the latest silicon revision of AM335x, we do have a babble recovery mechanism without resetti

[PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread George Cherian
Series add support for SW babble control logic found in new silicon versions of AM335x. Runtime differentiation of silicon version is done by checking the BABBLE_CTL register. For newer silicon the register default value read is 0x4 and for older versions its 0x0. Patch 1 -> Convert recover work

[PATCH v3 2/5] usb: musb: dsps: Call usb_phy(_shutdown/_init) during musb_platform_reset()

2014-05-13 Thread George Cherian
For DSPS platform usb_phy_vbus(_off/_on) are NOPs. So during musb_platform_reset() call usb_phy(_shutdown/_init) Signed-off-by: George Cherian --- drivers/usb/musb/musb_dsps.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb

[PATCH v3 5/5] usb: musb: dsps: Enable sw babble control for newer silicon

2014-05-13 Thread George Cherian
Find whether we are running on newer silicon. The babble control register reads 0x4 by default in newer silicon as opposed to 0 in old versions of AM335x. Based on this enable the sw babble control logic. Signed-off-by: George Cherian --- drivers/usb/musb/musb_dsps.c | 34 +++

[PATCH v3 4/5] usb: musb: dsps: Add the sw_babble_control()

2014-05-13 Thread George Cherian
Add sw_babble_control() logic to differentiate between transient babble and real babble condition. Also add the SW babble control register definitions. Babble control register logic is implemented in the latest revision of AM335x. Signed-off-by: George Cherian --- drivers/usb/musb/musb_dsps.c |

Re: [PATCH 0/4] ARM/DT: edma: Get IP configuration from hardware

2014-05-13 Thread Sekhar Nori
On Tuesday 13 May 2014 01:13 PM, Peter Ujfalusi wrote: > Hi, > > We are requesting redundant information via DT for the driver since the very > same > data is available in the HW: by reading and decoding the content of CCCFG > register we can get: > Number of channels: NUM_DMACH > Number of regio

Re: omap4-panda-es boot issues with v3.15-rc4

2014-05-13 Thread Roger Quadros
On 05/13/2014 01:07 AM, Tony Lindgren wrote: > * Santosh Shilimkar [140512 14:41]: >> On Sunday 11 May 2014 11:55 AM, Tony Lindgren wrote: >>> * Kevin Hilman [140509 16:46]: Roger Quadros writes: > Kevin, > > On 05/09/2014 01:15 AM, Kevin Hilman wrote: >> Tony Lindgren

[PATCH 3/3] arm/dts: dra7xx: Enable CPSW and MDIO for dra7xx EVM

2014-05-13 Thread Mugunthan V N
Adding CPSW phy-id, CPSW and MDIO pinmux configuration for active and sleep states and enable them in board evm dts file. Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra7-evm.dts | 103 + 1 file changed, 103 insertions(+) diff --git a/arch/arm/boot

[PATCH 1/3] pinctrl: dra7: dt-bindings: add pin off modes for dra7 SoC

2014-05-13 Thread Mugunthan V N
Add pin off modes for dra7 SoC so that during module disable or suspend state it can help saving power Signed-off-by: Mugunthan V N --- include/dt-bindings/pinctrl/dra.h | 8 1 file changed, 8 insertions(+) diff --git a/include/dt-bindings/pinctrl/dra.h b/include/dt-bindings/pinctrl/d

[PATCH 2/3] arm/dts: dra7xx: Add CPSW and MDIO module nodes for dra7xx

2014-05-13 Thread Mugunthan V N
Add CPSW and MDIO related device tree data for DRA7XX and made as status disabled. Phy-id, pinmux for active and sleep state needs to be added in board dts files and enable the CPSW device. Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/dra7.dtsi | 59

[PATCH 0/3] Add DRA7xx CPSW Ethernet support in Device Tree

2014-05-13 Thread Mugunthan V N
Adding device tree entry for CPSW to make it work in Dual EMAC mode. DRA7 cpsw phy sel driver patch has been pulled in net-next git with the following commit id *d415fa1b88748d664b7b6a310dd8e699d2686cf7* Mugunthan V N (3): pinctrl: dra7: dt-bindings: add pin off modes for dra7 SoC arm/dts: dr

[PATCH 1/1] arm: dra7xx: Add hwmod data for MDIO and CPSW

2014-05-13 Thread Mugunthan V N
Adding hwmod data for CPSW and MDIO which is present in DRA7xx SoC Signed-off-by: Mugunthan V N --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 65 +++ 1 file changed, 65 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap

[PATCH 2/4] dt/bindings: ti,edma: Remove redundant properties from documentation

2014-05-13 Thread Peter Ujfalusi
>From CCCFG register of eDMA3 we can get all the needed information for the driver about the IP: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots (PaRAM sets): NUM_PAENTRY Number of TC/EQ: NUM_EVQUE The ti,edma-regions; ti,edma-slots and dma-channels in DT are redundant si

[PATCH 4/4] ARM: dts: am4372: Remove obsolete properties from edma node

2014-05-13 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/am4372.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arc

[PATCH 1/4] ARM: edma: Get IP information from HW when booting with DT

2014-05-13 Thread Peter Ujfalusi
>From CCCFG register of eDMA3 we can get all the needed information for the driver about the IP: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots (PaRAM sets): NUM_PAENTRY Number of TC/EQ: NUM_EVQUE Signed-off-by: Peter Ujfalusi --- arch/arm/common/edma.c | 128 +

[PATCH 3/4] ARM: dts: am33xx: Remove obsolete properties from edma node

2014-05-13 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/am33xx.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arc

[PATCH 0/4] ARM/DT: edma: Get IP configuration from hardware

2014-05-13 Thread Peter Ujfalusi
Hi, We are requesting redundant information via DT for the driver since the very same data is available in the HW: by reading and decoding the content of CCCFG register we can get: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots (PaRAM sets): NUM_PAENTRY Number of TC/EQ:

[PATCH] ARM: edma: Clean up and simplify the code around irq request

2014-05-13 Thread Peter Ujfalusi
Get the two interrupt line number at the same time by merging the two instance of if(node){}else{} places. replace the &pdev->dev with the already existing dev which makes it possible to collapse lines with devm_request_irq() Signed-off-by: Peter Ujfalusi --- arch/arm/common/edma.c | 26