RE: [PATCH v2 07/11] usb: otg: nop: add dt support

2012-07-17 Thread Gupta, Ajay Kumar
Hi, > > On 17-07-2012 13:13, Ajay Kumar Gupta wrote: > > > Added device tree support for nop transceiver driver and updated the > > Documentation with device tree binding information for am33xx > platform. > > > Signed-off-by: Ajay Kumar Gupta > > --- > > .../devicetree/bindings/usb/am33xx-us

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

2012-07-17 Thread Shilimkar, Santosh
On Tue, Jul 17, 2012 at 11:28 PM, Greg KH wrote: > On Tue, Jul 17, 2012 at 10:37:45PM +0530, Shilimkar, Santosh wrote: >> On Tue, Jul 17, 2012 at 10:06 PM, Greg KH wrote: >> > On Mon, Jul 09, 2012 at 07:02:36PM +0530, Shilimkar, Santosh wrote: >> >> Greg, >> >> [..] >> >From 74688a87fd490909e91

[PATCH] regulator: tps65217: fix build error if REGULATOR is not enabled

2012-07-17 Thread AnilKumar Ch
Fixes below build error if CONFIG_REGULATOR is not enabled. drivers/built-in.o: In function `tps65217_probe': tps65217.c:(.devinit.text+0x13e37): undefined reference to `of_regulator_match' Signed-off-by: AnilKumar Ch --- drivers/mfd/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git

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

2012-07-17 Thread Kishon Vijay Abraham I
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/boot/dts/omap3-evm.dts|6 ++ arch/arm/boot/dts/omap3.dtsi

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

2012-07-17 Thread Kishon Vijay Abraham I
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_phy_internal.c | 138 --- arch/arm/

[PATCH v3 09/11] drivers: usb: musb: Add device tree support for omap musb glue

2012-07-17 Thread Kishon Vijay Abraham I
Added device tree support for omap musb driver and updated the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/omap-usb.txt | 34 - drivers/usb/musb/omap2430.c| 55

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

2012-07-17 Thread Kishon Vijay Abraham I
Add device tree support for twl4030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 19 ++ drivers/usb/otg/twl4030-usb.c | 26 +++

[PATCH v3 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-07-17 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 29c6243..15f1890 100644 --- a/a

[PATCH v3 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-07-17 Thread Kishon Vijay Abraham I
The mailbox register for usb otg in omap is present in control module. On detection of any events VBUS or ID, this register should be written to send the notification to musb core. Till we have a separate control module driver to write to control module, omap2430 will handle the register writes to

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

2012-07-17 Thread Kishon Vijay Abraham I
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/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index 22f4

[PATCH v3 06/11] arm/dts: Add twl6030-usb data

2012-07-17 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4-panda.dts |4 arch/arm/boot/dts/omap4-sdp.dts |4 arch/arm/boot/dts/twl6030.dtsi|6 ++ 3 files changed, 14 insertions(+), 0 deletions(-) diff -

[PATCH v3 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-07-17 Thread Kishon Vijay Abraham I
All the PHY configuration other than VBUS, ID GND and OTG SRP are removed from twl6030. The phy configurations are taken care by the dedicated usb2 phy driver. So twl6030 is made as comparator driver for VBUS and ID detection. Writing to control module which is now handled in omap2430.c should be

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

2012-07-17 Thread Kishon Vijay Abraham I
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| 22 +++ drivers/usb/otg/twl6030-usb.c | 39 +-

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

2012-07-17 Thread Kishon Vijay Abraham I
All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related functionality like srp. This also includes device tree support for usb2 phy driver and the documentation with device tree binding information is

[PATCH v3 00/11] omap: musb: Add device tree support

2012-07-17 Thread Kishon Vijay Abraham I
This patch series adds device tree support for MUSB and device tree support for all the related modules to get MUSB working in OMAP platform. A new omap-usb2 phy driver has been added (with only dt suppport) to perform phy configurations. Previously this configuration was performed by twl6030, usi

[PATCH v2 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-07-17 Thread Kishon Vijay Abraham I
Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of creating all the devices that is connected to OCP2SCP. In the case of OMAP4, USB2PHY is connected to ocp2scp. This also includes device tree support for ocp2scp driver and the documentation with device tree binding informati

[PATCH v2 2/2] arm/dts: omap4: Add ocp2scp data

2012-07-17 Thread Kishon Vijay Abraham I
Add ocp2scp data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 359c497..29c6243 100644 --- a/

[PATCH v2 0/2] omap: add ocp2scp as a bus driver

2012-07-17 Thread Kishon Vijay Abraham I
This patch series is done as a preparatory step for adding phy drivers for dwc3 and musb. This series adds a new driver for ocp2scp (only dt) to which phy drivers are connected. Since currently there is no generic way to create a child device along with doing a pm_runtime_enable (the exact requir

Re: [RFC/PATCH 3/3] i2c: omap: Add support for I2C_M_STOP message flag

2012-07-17 Thread Shubhrajyoti
Laurent, A minor comment below. On Tuesday 26 June 2012 07:47 PM, Laurent Pinchart wrote: > Generate a stop condition after each message marked with I2C_M_STOP. > > Signed-off-by: Laurent Pinchart > --- > drivers/i2c/busses/i2c-omap.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-)

Re: [PATCH 2/2] arm/dts: omap4: Add ocp2scp data

2012-07-17 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 17, 2012 at 6:06 PM, Sergei Shtylyov wrote: > Hello. > > > On 16-07-2012 18:13, Kishon Vijay Abraham I wrote: > >> Add ocp2scp data node in omap4 device tree file. > > >> Signed-off-by: Kishon Vijay Abraham I >> --- >> arch/arm/boot/dts/omap4.dtsi |8 >> 1 files c

Re: [PATCH v2 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-07-17 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 17, 2012 at 5:57 PM, Sergei Shtylyov wrote: > Hello. > > > On 17-07-2012 12:10, Kishon Vijay Abraham I wrote: > >> Add omap-usb2 data node in omap4 device tree file. > > >> Signed-off-by: Kishon Vijay Abraham I >> --- >> arch/arm/boot/dts/omap4.dtsi |5 + >> 1 files ch

Re: [PATCH 2/2] arm: omap3: am35x: Disable hlt when using Davinci EMAC

2012-07-17 Thread Paul Walmsley
Hi just a quick comment on this one. On Fri, 11 May 2012, Mark A. Greer wrote: > From: "Mark A. Greer" > > The am35x family of SoCs has a Davinci EMAC ethernet > controller on-chip. Unfortunately, the EMAC is unable > to wake the PRCM when there is network activity which > leads to a hung or

Re: PM/RTC 3.5-rc5: System suspends fails when not built with RTC?

2012-07-17 Thread Mark A. Greer
On Tue, Jul 17, 2012 at 01:28:13PM -0600, Paul Walmsley wrote: > Hi Joe, Mark, > > On Tue, 17 Jul 2012, Joe Woodward wrote: > > > The patch you sent is basically in two halves: > > - the writes to the registers > > - the calling of omap3_iva_idle(). > > > > If I patch only the writes to the

Re: [RFC/PATCH 3/3] i2c: omap: Add support for I2C_M_STOP message flag

2012-07-17 Thread Laurent Pinchart
Hi Jean, On Tuesday 17 July 2012 17:29:35 Jean Delvare wrote: > On Tue, 26 Jun 2012 16:17:09 +0200, Laurent Pinchart wrote: > > Generate a stop condition after each message marked with I2C_M_STOP. > > > > Signed-off-by: Laurent Pinchart > > --- > > > > drivers/i2c/busses/i2c-omap.c |2 ++ >

Re: [PATCHv4 7/8] ARM: OMAP: clockdomain: add support for preventing autodep delete

2012-07-17 Thread Paul Walmsley
Hi On Tue, 17 Jul 2012, Tero Kristo wrote: > The underlying issue still remains, we have errata i582 which doesn't > have any workarounds in the kernel yet. We should probably resurrect > something like this: > > http://www.mail-archive.com/linux-omap@vger.kernel.org/msg38834.html > > ... or ju

Re: OMAP PM late init with DT blob

2012-07-17 Thread Paul Walmsley
On Tue, 17 Jul 2012, Bedia, Vaibhav wrote: > I am looking at adding PM support for AM335x based on l-o/master. > arch/arm/mach-omap2/pm.c has the following comment: > > /* > * In the case of DT, the PMIC and SR initialization will be done using > * a completely different mechanism. > * Disable

Re: [PATCH-V2 4/4] ARM: OMAP3+: hwmod: Add AM33XX HWMOD data

2012-07-17 Thread Paul Walmsley
Hi Vaibhav a comment. On Tue, 29 May 2012, Vaibhav Hiremath wrote: > This patch adds HWMOD data for all the peripherals of > AM335X device and also hooks up to the existing OMAP framework. ... > diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c > b/arch/arm/mach-omap2/omap_hwmod_33xx_d

Re: PM/RTC 3.5-rc5: System suspends fails when not built with RTC?

2012-07-17 Thread Paul Walmsley
Hi Joe, Mark, On Tue, 17 Jul 2012, Joe Woodward wrote: > The patch you sent is basically in two halves: > - the writes to the registers > - the calling of omap3_iva_idle(). > > If I patch only the writes to the registers then suspend still fails. > If I patch only the calling of omap3_iva_id

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-07-17 Thread Arnd Bergmann
On Friday 13 July 2012, Vinod Koul wrote: > > Do you mean there must be a global table, or are you ok with putting > > the information about a channel into the device that uses the channel, > > as we do for most other subsystems (IRQ, GPIO, pinctrl, ...). > > If not, what is the problem with that a

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

2012-07-17 Thread Greg KH
On Tue, Jul 17, 2012 at 10:37:45PM +0530, Shilimkar, Santosh wrote: > On Tue, Jul 17, 2012 at 10:06 PM, Greg KH wrote: > > On Mon, Jul 09, 2012 at 07:02:36PM +0530, Shilimkar, Santosh wrote: > >> Greg, > >> > > [...] > > >> > To elaborate more, I have created below patch. > >> > Let me know what

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

2012-07-17 Thread Shilimkar, Santosh
On Tue, Jul 17, 2012 at 10:06 PM, Greg KH wrote: > On Mon, Jul 09, 2012 at 07:02:36PM +0530, Shilimkar, Santosh wrote: >> Greg, >> [...] >> > To elaborate more, I have created below patch. >> > Let me know what do you think ? >> > >> Any comments ?? > > Becides the obvious one of sending a line-

Re: [PATCH v2 1/1] mmc: host: enable OMAP DMA engine support for omap hosts by default

2012-07-17 Thread Javier Martinez Canillas
On Tue, Jul 17, 2012 at 9:09 AM, Shilimkar, Santosh wrote: > On Tue, Jul 17, 2012 at 12:33 PM, Javier Martinez Canillas > wrote: >> The OMAP MMC and OMAP High Speed MMC hosts now use entirely the DMA >> engine API instead of the previous private DMA API implementation. >> >> So, if the kernel is

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

2012-07-17 Thread Greg KH
On Mon, Jul 09, 2012 at 07:02:36PM +0530, Shilimkar, Santosh wrote: > 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 a

Re: [PATCH] OMAPDSS: Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays

2012-07-17 Thread Jassi Brar
[CC'ing OMAPDSS matinainer] On 17 July 2012 19:31, Raphael Assenat wrote: > Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays. > Display panels are board specific and there is no limit to the number of panels that could be connected to omap dss. Does it make sense to get panel pa

Re: [RFC/PATCH 3/3] i2c: omap: Add support for I2C_M_STOP message flag

2012-07-17 Thread Jean Delvare
On Tue, 26 Jun 2012 16:17:09 +0200, Laurent Pinchart wrote: > Generate a stop condition after each message marked with I2C_M_STOP. > > Signed-off-by: Laurent Pinchart > --- > drivers/i2c/busses/i2c-omap.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/drivers/i2c

Re: [RFC/PATCH 2/3] i2c: Fall back to emulated SMBus if the operation isn't supported natively

2012-07-17 Thread Laurent Pinchart
Hi Jean, On Tuesday 17 July 2012 17:02:43 Jean Delvare wrote: > On Tue, 26 Jun 2012 16:17:08 +0200, Laurent Pinchart wrote: > > Adapter drivers might support only a subset of the SMBus operations > > natively. Those drivers currently have to manually emulate unsupported > > operations using I2C. >

Re: [RFC/PATCH 2/3] i2c: Fall back to emulated SMBus if the operation isn't supported natively

2012-07-17 Thread Jean Delvare
Hi Laurent, On Tue, 26 Jun 2012 16:17:08 +0200, Laurent Pinchart wrote: > Adapter drivers might support only a subset of the SMBus operations > natively. Those drivers currently have to manually emulate unsupported > operations using I2C. > > Make the i2c_smbus_xfer() function fall back to > i2c_

Re: [PATCHv4 7/8] ARM: OMAP: clockdomain: add support for preventing autodep delete

2012-07-17 Thread Tero Kristo
On Mon, 2012-07-16 at 16:30 +0530, Rajendra Nayak wrote: > Hi Tero, > > On Friday 13 July 2012 07:49 PM, Tero Kristo wrote: > > Some clockdomains bug out if their autodeps are deleted before idle. > > This happens namely with OMAP3 PER domain, it will bug out if it > > doesn't have wakedeps enable

[PATCH] OMAPDSS: Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays

2012-07-17 Thread Raphael Assenat
Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays. Signed-off-by: Raphael Assenat --- a/drivers/video/omap2/displays/panel-generic-dpi.c +++ b/drivers/video/omap2/displays/panel-generic-dpi.c @@ -486,6 +486,80 @@ static struct panel_config generic_dpi_panels[] = {

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-17 Thread Rajendra Nayak
On Tuesday 17 July 2012 07:16 PM, Rob Herring wrote: So how is this expected to work on platforms (like OMAP) which have > CONFIG_OF enabled but not CONFIG_COMMON_CLK? > As I mentioned in my other reply, this really belongs with Shawn's patch that changes the return value checking from NULL to

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-17 Thread Rob Herring
On 07/17/2012 08:19 AM, Rajendra Nayak wrote: > Rob, Mike, > > On Tuesday 17 July 2012 07:38 AM, Rob Herring wrote: >> On 07/16/2012 07:12 PM, Mike Turquette wrote: >>> On 20120716-16:46, Rob Herring wrote: From: Rob Herring With commit 766e6a4ec602d0c107 (clk: add DT clock binding

Re: [PATCH V2] Add missing modules aliases to get sound working on omap devices

2012-07-17 Thread Mark Brown
On Tue, Jul 17, 2012 at 03:31:11PM +0200, Guillaume Gardet wrote: > >Please resend in the format from SubmittingPatches rather than as an > >attachment. > Ok. Please find the patch below. > > This patch add missing modules aliases to get sound working on omap devices. I'm not sure you've looked

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-17 Thread Rajendra Nayak
On Tuesday 17 July 2012 06:49 PM, Rajendra Nayak wrote: struct clk *clk_get(struct device *dev, const char *con_id) { const char *dev_id = dev ? dev_name(dev) : NULL; struct clk *clk; if (dev) { > Any reason why this isn't if (dev->of_node) { > Or r

Re: [PATCH V2] Add missing modules aliases to get sound working on omap devices

2012-07-17 Thread Guillaume Gardet
Hi, Le 13/07/2012 12:09, Mark Brown a écrit : On Thu, Jul 12, 2012 at 03:08:16PM +0200, Guillaume Gardet wrote: This patch add missing modules aliases to get sound working on omap devices. Tested on Beagleboard xM rev. B. This patch is against 3.5-rc6 vanilla. Signed-off-by: Guillaume GARDET

Re: [v3.6 3/3] iommu/tegra: smmu: Fix unsleepable memory allocation at alloc_pdir()

2012-07-17 Thread joerg.roe...@amd.com
On Tue, Jul 17, 2012 at 02:25:24PM +0200, Hiroshi Doyu wrote: > The above spin_lock is always necessary. "as->lock" should be held to > protect "as->pdir_page". Only when "as->pdir_page" is NULL, > "as->pdir_page" would be allocated in "alloc_pdir()". Without this > lock, the following race could h

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-17 Thread Rajendra Nayak
Rob, Mike, On Tuesday 17 July 2012 07:38 AM, Rob Herring wrote: On 07/16/2012 07:12 PM, Mike Turquette wrote: On 20120716-16:46, Rob Herring wrote: From: Rob Herring With commit 766e6a4ec602d0c107 (clk: add DT clock binding support), compiling with OF&& !COMMON_CLK is broken. Hi Rob, Tha

Re: [PATCH v2 08/11] arm/dts: am33xx: add dt data for usb nop phy

2012-07-17 Thread Sergei Shtylyov
Hello. On 17-07-2012 13:13, Ajay Kumar Gupta wrote: AM33xx has two musb controller and they have one NOP PHY each. Added the device tree data for NOP PHY. Signed-off-by: Ajay Kumar Gupta --- arch/arm/boot/dts/am33xx.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-)

Re: [PATCH v2 07/11] usb: otg: nop: add dt support

2012-07-17 Thread Sergei Shtylyov
Hello. On 17-07-2012 13:13, Ajay Kumar Gupta wrote: Added device tree support for nop transceiver driver and updated the Documentation with device tree binding information for am33xx platform. Signed-off-by: Ajay Kumar Gupta --- .../devicetree/bindings/usb/am33xx-usb.txt |3 ++

Re: [PATCH v2 06/11] arm/dts: am33xx: Add dt data for usbss

2012-07-17 Thread Sergei Shtylyov
Hello. On 17-07-2012 13:13, Ajay Kumar Gupta wrote: Added device tree data for usbss on am33xx. There are two musb controllers on am33xx platform so have port0_mode and port1_mode additional data. Signed-off-by: Ajay Kumar Gupta --- arch/arm/boot/dts/am33xx.dtsi | 11 +++ 1 fil

Re: [PATCH 2/2] arm/dts: omap4: Add ocp2scp data

2012-07-17 Thread Sergei Shtylyov
Hello. On 16-07-2012 18:13, Kishon Vijay Abraham I wrote: Add ocp2scp data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi

Re: [PATCH v2 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-07-17 Thread Sergei Shtylyov
Hello. On 17-07-2012 12:10, Kishon Vijay Abraham I wrote: Add omap-usb2 data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/

Re: [v3.6 3/3] iommu/tegra: smmu: Fix unsleepable memory allocation at alloc_pdir()

2012-07-17 Thread Hiroshi Doyu
Hi Joerg, Joerg Roedel wrote @ Tue, 17 Jul 2012 12:09:01 +0200: > On Mon, Jul 02, 2012 at 02:26:38PM +0300, Hiroshi DOYU wrote: > > > Signed-off-by: Hiroshi DOYU > > Reported-by: Chris Wright > > Cc: Chris Wright > > Acked-by: Stephen Warren > > Applied patch 2 and 3 but not patch 1. The r

Re: [RFC/PATCH 1/3] i2c: Add SCCB support

2012-07-17 Thread Jean Delvare
On Tue, 17 Jul 2012 13:57:25 +0200, Laurent Pinchart wrote: > On Tuesday 17 July 2012 13:53:07 Jean Delvare wrote: > > On Tue, 26 Jun 2012 16:17:07 +0200, Laurent Pinchart wrote: > > > + if (unlikely(flags & I2C_CLIENT_SCCB) && size != I2C_SMBUS_BYTE_DATA) { > > > + dev_err(&adapter->dev, >

Re: [RFC/PATCH 1/3] i2c: Add SCCB support

2012-07-17 Thread Laurent Pinchart
Hi Jean, On Tuesday 17 July 2012 13:53:07 Jean Delvare wrote: > On Tue, 26 Jun 2012 16:17:07 +0200, Laurent Pinchart wrote: > > SCCB is a serial communication bus developed by Omnivision. Its 2-wire > > mode is very similar to SMBus byte data transactions, but requires the > > controller to ignore

Re: [RFC/PATCH 1/3] i2c: Add SCCB support

2012-07-17 Thread Jean Delvare
Salut Laurent, On Tue, 26 Jun 2012 16:17:07 +0200, Laurent Pinchart wrote: > SCCB is a serial communication bus developed by Omnivision. Its 2-wire > mode is very similar to SMBus byte data transactions, but requires the > controller to ignore the ACK bit and to insert a stop condition after > eac

OMAP PM late init with DT blob

2012-07-17 Thread Bedia, Vaibhav
Hi, I am looking at adding PM support for AM335x based on l-o/master. arch/arm/mach-omap2/pm.c has the following comment: /* * In the case of DT, the PMIC and SR initialization will be done using * a completely different mechanism. * Disable this part if a DT blob is available. */ if (of_have

[GIT PULL] rpmsg: 1-liner fix for 3.5

2012-07-17 Thread Ohad Ben-Cohen
Hi Linus, The following changes since commit 84a1caf1453c3d44050bd22db958af4a7f99315c: Linux 3.5-rc7 (2012-07-14 15:40:28 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/rpmsg.git tags/single-rpmsg-3.5-fix for you to fetch changes up to 963

Re: [PATCH 0/6] OMAP: iommu: hwmod, reset handling and runtime PM

2012-07-17 Thread Ohad Ben-Cohen
+ Paul On Tue, Jul 17, 2012 at 1:11 PM, Joerg Roedel wrote: > On Fri, Jun 15, 2012 at 08:55:58PM -0500, Omar Ramirez Luna wrote: >> Omar Ramirez Luna (6): >> ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected >> ARM: OMAP3: hwmod data: add mmu data for iva and isp >> ARM: OM

Re: [PATCH 0/6] OMAP: iommu: hwmod, reset handling and runtime PM

2012-07-17 Thread Joerg Roedel
On Fri, Jun 15, 2012 at 08:55:58PM -0500, Omar Ramirez Luna wrote: > Omar Ramirez Luna (6): > ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected > ARM: OMAP3: hwmod data: add mmu data for iva and isp > ARM: OMAP4: hwmod data: add mmu hwmod for ipu and dsp > ARM: OMAP3/4: iom

Re: PM/RTC 3.5-rc5: System suspends fails when not built with RTC?

2012-07-17 Thread Joe Woodward
-Original Message- From: Paul Walmsley To: Joe Woodward , "Mark A. Greer" Cc: Kevin Hilman , linux-omap@vger.kernel.org Date: Mon, 16 Jul 2012 18:43:15 -0600 (MDT) Subject: Re: PM/RTC 3.5-rc5: System suspends fails when not built with RTC? > On Mon, 16 Jul 2012, Mark A. Greer wrote: > >

Re: build error with linux-next and omap2plus_defconfig

2012-07-17 Thread Rajendra Nayak
On Tuesday 17 July 2012 02:53 PM, Archit Taneja wrote: Hi, The linux-next tree gives this with omap2plus_defconfig: ... ... LD init/built-in.o drivers/built-in.o: In function `of_clk_get': /home/a0393947/source_trees/linux-next/drivers/clk/clkdev.c:42: undefined reference to `of_clk_get_from_pr

build error with linux-next and omap2plus_defconfig

2012-07-17 Thread Archit Taneja
Hi, The linux-next tree gives this with omap2plus_defconfig: ... ... LD init/built-in.o drivers/built-in.o: In function `of_clk_get': /home/a0393947/source_trees/linux-next/drivers/clk/clkdev.c:42: undefined reference to `of_clk_get_from_provider' make: *** [vmlinux] Error

Re: [PATCH 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-07-17 Thread Arnd Bergmann
On Tuesday 17 July 2012, ABRAHAM, KISHON VIJAY wrote: > On Mon, Jul 16, 2012 at 7:43 PM, Kishon Vijay Abraham I wrote: > > Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of > > creating all the devices that is connected to OCP2SCP. In the case of OMAP4, > > USB2PHY is conne

[PATCH v2 00/11] usb: musb: adding multi instance support

2012-07-17 Thread Ajay Kumar Gupta
Hi, This series of patches adds, a) Multi instances support in musb driver b) DT support for musb_dsps glue layer c) DT support for NOP transceiver AM33xx and TI81xx has dual musb controller and has two usb PHY of same type. This patch series uses 'phandle' based API devm_usb_get_phy_by_phandle()

[PATCH v2 02/11] usb: musb: kill global and static for multi instance

2012-07-17 Thread Ajay Kumar Gupta
Moved global variable "musb_debugfs_root" and static variable "old_state" to 'struct musb' to help support multi instance of musb controller as present on AM335x platform. Also removed the global variable "orig_dma_mask" and filled the dev->dma_mask with parent device's dma_mask. Signed-off-by: A

[PATCH v2 05/11] usb: musb: dsps: add dt support

2012-07-17 Thread Ajay Kumar Gupta
Added device tree support for dsps musb glue driver and updated the Documentation with device tree binding information. Signed-off-by: Ajay Kumar Gupta --- .../devicetree/bindings/usb/am33xx-usb.txt | 14 + drivers/usb/musb/musb_dsps.c | 62 +

[PATCH v2 07/11] usb: otg: nop: add dt support

2012-07-17 Thread Ajay Kumar Gupta
Added device tree support for nop transceiver driver and updated the Documentation with device tree binding information for am33xx platform. Signed-off-by: Ajay Kumar Gupta --- .../devicetree/bindings/usb/am33xx-usb.txt |3 +++ drivers/usb/otg/nop-usb-xceiv.c| 1

[PATCH v2 04/11] usb: otg: nop: add support for multiple tranceiver

2012-07-17 Thread Ajay Kumar Gupta
Currently we have one single nop transceiver support as same is defined as a global variable in drivers/usb/otg/nop-usb-xceiv.c. This need to be changed to support multiple otg controller each using nop transceiver on a platform such as am335x. Signed-off-by: Ajay Kumar Gupta --- arch/arm/mach-o

[PATCH v2 03/11] usb: musb: am335x: add support for dual instance

2012-07-17 Thread Ajay Kumar Gupta
AM335x and TI81xx platform has dual musb controller so updating the musb_dspc.c to support the same. Changes: - Moved otg_workaround timer to glue structure - Moved static local variable last_timer to glue structure - PHY on/off related cleanups Signed-off-by: Ajay Kumar G

[PATCH v2 01/11] usb: musb: add musb->id to identify core instance

2012-07-17 Thread Ajay Kumar Gupta
Added 'id' field within 'struct musb' which can be used to determine the current instance of musb controller. Also defined musb_ida in musb_core.c to manage the core ids. Signed-off-by: Ajay Kumar Gupta --- drivers/usb/musb/am35x.c | 42 -- drivers/

[PATCH v2 08/11] arm/dts: am33xx: add dt data for usb nop phy

2012-07-17 Thread Ajay Kumar Gupta
AM33xx has two musb controller and they have one NOP PHY each. Added the device tree data for NOP PHY. Signed-off-by: Ajay Kumar Gupta --- arch/arm/boot/dts/am33xx.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/d

[PATCH v2 10/11] usb: musb: dsps: get the PHY using phandle api

2012-07-17 Thread Ajay Kumar Gupta
AM33xx has two PHY of same type used by each musb controller so use phandle of phy nodes to get the phy pointer. Signed-off-by: Ajay Kumar Gupta --- .../devicetree/bindings/usb/am33xx-usb.txt |2 ++ drivers/usb/musb/musb_dsps.c |4 +++- 2 files changed, 5 in

[PATCH v2 09/11] usb: musb: dsps: remove explicit NOP device creation

2012-07-17 Thread Ajay Kumar Gupta
As NOP device node is now added in am33xx tree so remove the call which creates the NOP platform_device. Signed-off-by: Ajay Kumar Gupta --- drivers/usb/musb/musb_dsps.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/mus

[PATCH v2 06/11] arm/dts: am33xx: Add dt data for usbss

2012-07-17 Thread Ajay Kumar Gupta
Added device tree data for usbss on am33xx. There are two musb controllers on am33xx platform so have port0_mode and port1_mode additional data. Signed-off-by: Ajay Kumar Gupta --- arch/arm/boot/dts/am33xx.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/a

[PATCH v2 11/11] arm/dts: am33xx: add phy phandle to usbss

2012-07-17 Thread Ajay Kumar Gupta
Added NOP PHY phandle to usbss device node as same will be used to get the phy from otg framework. Signed-off-by: Ajay Kumar Gupta --- arch/arm/boot/dts/am33xx.dtsi |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.

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

2012-07-17 Thread Kishon Vijay Abraham I
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/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index 22f4

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

2012-07-17 Thread Kishon Vijay Abraham I
All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related functionality like srp. This also includes device tree support for usb2 phy driver and the documentation with device tree binding information is

[PATCH v2 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-07-17 Thread Kishon Vijay Abraham I
All the PHY configuration other than VBUS, ID GND and OTG SRP are removed from twl6030. The phy configurations are taken care by the dedicated usb2 phy driver. So twl6030 is made as comparator driver for VBUS and ID detection. Writing to control module which is now handled in omap2430.c should be

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

2012-07-17 Thread Kishon Vijay Abraham I
Add device tree support for twl4030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 19 ++ drivers/usb/otg/twl4030-usb.c | 26 +++

[PATCH v2 09/11] drivers: usb: musb: Add device tree support for omap musb glue

2012-07-17 Thread Kishon Vijay Abraham I
Added device tree support for omap musb driver and updated the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/omap-usb.txt | 34 - drivers/usb/musb/omap2430.c| 55

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

2012-07-17 Thread Kishon Vijay Abraham I
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_phy_internal.c | 138 --- arch/arm/

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

2012-07-17 Thread Kishon Vijay Abraham I
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/boot/dts/omap3-evm.dts|6 ++ arch/arm/boot/dts/omap3.dtsi

Re: [PATCHv6 3/7] ARM: OMAP4: hwmod: flag hwmods/modules not supporting module level context status

2012-07-17 Thread Menon, Nishanth
On Mon, Jun 11, 2012 at 10:26 AM, Tero Kristo wrote: > On OMAP4 most modules/hwmods support module level context status. On > OMAP3 and earlier, we relied on the power domain level context status. > Identify all modules that don't support 'context_offs' by marking the > offset as USHRT_MAX. Rest h

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

2012-07-17 Thread Kishon Vijay Abraham I
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| 22 +++ drivers/usb/otg/twl6030-usb.c | 39 +-

[PATCH v2 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-07-17 Thread Kishon Vijay Abraham I
The mailbox register for usb otg in omap is present in control module. On detection of any events VBUS or ID, this register should be written to send the notification to musb core. Till we have a separate control module driver to write to control module, omap2430 will handle the register writes to

[PATCH v2 06/11] arm/dts: Add twl6030-usb data

2012-07-17 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4-panda.dts |4 arch/arm/boot/dts/omap4-sdp.dts |4 arch/arm/boot/dts/twl6030.dtsi|6 ++ 3 files changed, 14 insertions(+), 0 deletions(-) diff -

[PATCH v2 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-07-17 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index bda5df3..4d2dcc1 100644 --- a/a

[PATCH v2 00/11] omap: musb: Add device tree support

2012-07-17 Thread Kishon Vijay Abraham I
This patch series adds device tree support for MUSB and device tree support for all the related modules to get MUSB working in OMAP platform. A new omap-usb2 phy driver has been added (with only dt suppport) to perform phy configurations. Previously this configuration was performed by twl6030, usi

Re: [PATCHv6 4/7] ARM: OMAP: hwmod: Add support for per hwmod/module context lost count

2012-07-17 Thread Menon, Nishanth
Couple of minor comments: On Mon, Jun 11, 2012 at 10:26 AM, Tero Kristo wrote: [...] > /** > + * _omap4_update_context_lost - increment hwmod context loss counter if > + * hwmod context was lost, and clear hardware context loss reg > + * @oh: hwmod to check for context loss > + * > + * If the PRC

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

2012-07-17 Thread Javier Martinez Canillas
On Tue, Jul 10, 2012 at 9:24 AM, Enric Balletbò i Serra wrote: > > > 2012/7/10 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

Re: [PATCH v2 1/1] mmc: host: enable OMAP DMA engine support for omap hosts by default

2012-07-17 Thread Shilimkar, Santosh
On Tue, Jul 17, 2012 at 12:33 PM, Javier Martinez Canillas wrote: > The OMAP MMC and OMAP High Speed MMC hosts now use entirely the DMA > engine API instead of the previous private DMA API implementation. > > So, if the kernel is built with support for any of these hosts but it > doesn't support D

[PATCH v2 1/1] mmc: host: enable OMAP DMA engine support for omap hosts by default

2012-07-17 Thread Javier Martinez Canillas
The OMAP MMC and OMAP High Speed MMC hosts now use entirely the DMA engine API instead of the previous private DMA API implementation. So, if the kernel is built with support for any of these hosts but it doesn't support DMA devices nor OMAP DMA support, it fails when trying to obtain a DMA channe