Re: [RFC 33/42] drivers/video/omap2: don't check resource with devm_ioremap_resource

2013-05-10 Thread Jingoo Han
On Friday, May 10, 2013 5:17 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang Reviewed-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/omap2/vrfb.c |5

Re: [RFC 34/42] drivers/video/omap2/dss: don't check resource with devm_ioremap_resource

2013-05-10 Thread Jingoo Han
On Friday, May 10, 2013 5:17 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang It looks good. Reviewed-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/omap2/dss

Re: [RFC 09/42] drivers/i2c/busses: don't check resource with devm_ioremap_resource

2013-05-10 Thread Jingoo Han
On Friday, May 10, 2013 5:17 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang > --- > drivers/i2c/busses/i2c-davinci.c|6 +- > drivers/i2c/busses/i2c-designw

[PATCH] ARM: dts: Fix musb interrupt for device tree booting

2013-05-10 Thread Tony Lindgren
Commit ad871c10 (ARM: dts: OMAP: Add usb_otg and glue data to OMAP3+ boards) added support for MUSB on omap3 for device tree, but added the interrupts the wrong way probably as they were copied from the omap4.dtsi file. On omap3 we have TI specific interrupt controller, not GIC. Fix this by specif

[PATCH] ARM: dts: OMAP: Add usb_otg and glue data to OMAP3+ boards

2013-05-10 Thread Tony Lindgren
Commit ad871c10 (ARM: dts: OMAP: Add usb_otg and glue data to OMAP3+ boards) added support for MUSB on omap3 for device tree, but added the interrupts the wrong way probably as they were copied from the omap4.dtsi file. On omap3 we have TI specific interrupt controller, not GIC. Fix this by specif

[PATCH v2 2/2] ARM: dts: omap3-igep0030: Add NAND flash support

2013-05-10 Thread Javier Martinez Canillas
The IGEP COM Module has an 512MB NAND flash memory. Add a device node for this NAND and its parition layout. Signed-off-by: Javier Martinez Canillas --- Changes since v1: - I just realized that sent a wrong version of the patch, sorry for the noise arch/arm/boot/dts/omap3-igep0030.dts | 50

[PATCH 2/2] ARM: dts: omap3-igep0030: Add NAND flash support

2013-05-10 Thread Javier Martinez Canillas
The IGEP COM Module has an 512MB NAND flash memory. Add a device node for this NAND and its parition layout. Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/omap3-igep0020.dts |1 + arch/arm/boot/dts/omap3-igep0030.dts | 50 ++ 2 files changed

[PATCH 1/2] ARM: dts: omap3-igep0020: Add NAND flash support

2013-05-10 Thread Javier Martinez Canillas
The IGEPv2 board has an 512MB NAND flash memory. Add a device node for this NAND and its parition layout. Signed-off-by: Javier Martinez Canillas --- Benoit, This patch depends on a previous posted patch: [PATCH] ARM: dts: omap3-igep0020: Add SMSC911x LAN chip support Best regards, Javier

Re: [RFC 38/42] arch/arm/plat-omap: don't check resource with devm_ioremap_resource

2013-05-10 Thread Tony Lindgren
* Wolfram Sang [130510 01:23]: > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang Acked-by: Tony Lindgren > --- > arch/arm/plat-omap/dmtimer.c |7 +-- > 1 file changed, 1 insertion(+), 6 deletio

Re: arch/arm/mach-omap2/id.c - IS_ERR_OR_NULL()

2013-05-10 Thread Russell King - ARM Linux
On Fri, May 10, 2013 at 12:50:42PM +0300, Ruslan Bilovol wrote: > Hi Russell, > > On Thu, May 9, 2013 at 12:09 PM, Russell King - ARM Linux > wrote: > > So, I eliminated all but a very few of these from arch/arm, and I notice > > today that there's a new couple of instances introduced by: > > > >

Re: [PATCH v2 0/6] ARM; OMAP2+: hwmod and SERIAL: Remove sysc handling from driver

2013-05-10 Thread Nishanth Menon
On 11:09-20130426, Kevin Hilman wrote: > Rajendra Nayak writes: > > [...] > > > OMAP UART IP needs manual idle modes based on functional state of the > > IP. Currently this is handled by the driver with function pointers > > implemented in platform code. > > > > This however breaks in case of de

[PATCH 1/3] mmc: omap_hsmmc: Fix the DT pbias workaround for MMC controllers 2 to 5

2013-05-10 Thread Balaji T K
From: Tony Lindgren Otherwise SDIO cards won't necessarily work when booted with device tree as we will never power down the SDIO cards. This means the SDIO card reset does not happen which at least some WLAN controllers expect to happen with ifconfig wlan0 down. The PBIAS voltage is only availa

[PATCH 2/3] mmc: omap_hsmmc: convert to dma_request_slave_channel_compat

2013-05-10 Thread Balaji T K
From: Matt Porter Convert dmaengine channel requests to use dma_request_slave_channel_compat(). This supports platforms booting with or without DT populated. Signed-off-by: Matt Porter Acked-by: Tony Lindgren Acked-by: Arnd Bergmann Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.

[PATCH 3/3] mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case

2013-05-10 Thread Balaji T K
From: Santosh Shilimkar MMC driver probe will abort for DT case because of failed platform_get_resource_byname() lookup. Fix it by skipping resource lookup byname for device tree build. Issue is hidden because hwmod populates the IO resources which helps to succeed platform_get_resource_byname()

[PATCH 0/3] mmc: omap_hsmmc: fixes for 3.10

2013-05-10 Thread Balaji T K
Fix to make wlan/sdio work with dt and to use dma binding from dt Matt Porter (1): mmc: omap_hsmmc: convert to dma_request_slave_channel_compat Santosh Shilimkar (1): mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case Tony Lindgren (1): mmc: omap_hsmmc: Fix the DT pbias worka

Re: [PATCH] spi/omap2: Let device core handle pinctrl

2013-05-10 Thread Mark Brown
On Tue, May 07, 2013 at 10:47:31AM +, Hebbar, Gururaja wrote: > On Tue, May 07, 2013 at 14:25:35, Mark Brown wrote: > > There's also been some discussion about factoring out the suspend/resume > > code since it's going to get equally repetitive. > Really. Any link/referenceso that I can follo

Re: arch/arm/mach-omap2/id.c - IS_ERR_OR_NULL()

2013-05-10 Thread Ruslan Bilovol
Hi Russell, On Thu, May 9, 2013 at 12:09 PM, Russell King - ARM Linux wrote: > So, I eliminated all but a very few of these from arch/arm, and I notice > today that there's a new couple of instances introduced by: > > commit 6770b211432564c562c856d612b43bbd42e4ab5e > Author: Ruslan Bilovol > Dat

[RFC 09/42] drivers/i2c/busses: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-davinci.c|6 +- drivers/i2c/busses/i2c-designware-platdrv.c |6 +- drivers/i2c/busses/i2c-imx.c

[RFC 33/42] drivers/video/omap2: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang --- drivers/video/omap2/vrfb.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/video/omap2/vrfb.c b/drivers/video/omap2/vrfb.c index 5261229..f3

[RFC 34/42] drivers/video/omap2/dss: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang --- drivers/video/omap2/dss/hdmi.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap

[RFC 38/42] arch/arm/plat-omap: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang --- arch/arm/plat-omap/dmtimer.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmt