Re: [PATCH] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-18 Thread Thierry Reding
On Wed, Aug 01, 2012 at 06:51:21AM +, Philip, Avinash wrote: > On Mon, Jul 30, 2012 at 12:28:05, Thierry Reding wrote: > > On Wed, Jul 25, 2012 at 05:54:02PM +0530, Philip, Avinash wrote: > > > Low Threshold Brightness should be configured to have a linear relation > > > in brightness scale. Th

Re: [PATCH v6 0/9] mmc: dw_mmc: add support for device tree based instantiation

2012-09-18 Thread Thomas Abraham
On 18 September 2012 07:22, Thomas Abraham wrote: > On 17 September 2012 23:46, Thomas Abraham wrote: >> This series add device tree support for Synopsis Designware IP - Mobile >> Storage >> Host Controller (MSHC). I had addressed all comments for the v5 version of >> this >> patch series and h

Re: [PATCH v3] gpio: Add Avionic Design N-bit GPIO expander support

2012-09-18 Thread Thierry Reding
On Tue, Sep 18, 2012 at 11:29:46PM +0200, Linus Walleij wrote: > On Tue, Sep 18, 2012 at 10:57 AM, Thierry Reding > wrote: > > > This commit adds a driver for the Avionic Design N-bit GPIO expander. > > The expander provides a variable number of GPIO pins with interrupt > > support. > > And you

Re: [PATCH v6 0/4] Runtime Interpreted Power Sequences

2012-09-18 Thread Mark Brown
On Thu, Sep 13, 2012 at 09:24:53AM -0600, Stephen Warren wrote: > On 09/13/2012 01:29 AM, Mark Brown wrote: > > The driver knows the power sequence. Having to type the same sequence > > into the DT or platform data for each board using the device wouuld be > > retarded so we need the drivers to b

Re: [PATCH v2 7/9] ARM: OMAP: iommu: optimize save and restore routines

2012-09-18 Thread Omar Ramirez Luna
Hi Tony, On 18 September 2012 13:04, Tony Lindgren wrote: > * Omar Ramirez Luna [120912 12:47]: >> --- a/arch/arm/plat-omap/include/plat/iommu.h >> +++ b/arch/arm/plat-omap/include/plat/iommu.h >> @@ -27,6 +27,13 @@ struct iotlb_entry { >> }; >> }; >> >> +/* context registers */ >> +struc

Re: [PATCH v4 00/14] MFD/ASoC/Input: twl4030-audio submodule DT support

2012-09-18 Thread Samuel Ortiz
Hi Peter, On Mon, Sep 10, 2012 at 01:46:18PM +0300, Peter Ujfalusi wrote: > Hello, > > Generated on top of: > git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/omap I applied the first 8 patches, but I'd like to get Mark's ACK for the rest of the serie. Unless you're expecting Mark

[PATCH REPOST] mfd: max8907: add power off control

2012-09-18 Thread Stephen Warren
From: Stephen Warren Add DT property "maxim,system-power-controller" to indicate whether the PMIC is in charge of controlling the system power. If this is set, the driver will provide the pm_power_off() function. Signed-off-by: Stephen Warren --- Samuel, I'm not sure if you have this in your li

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

2012-09-18 Thread Russell King - ARM Linux
On Wed, Sep 19, 2012 at 06:19:06AM +0800, Mitch Bradley wrote: > Is there ever a point when old architectures leave the Linux tree, or > will people have to see grep hits from them until the end of time? That depends on use and the burden of keeping them in the tree. I'm not aware of much activit

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

2012-09-18 Thread Mitch Bradley
On 9/18/2012 4:42 AM, Arnd Bergmann wrote: > On Saturday 15 September 2012, Russell King - ARM Linux wrote: >> >> On Fri, Sep 14, 2012 at 05:41:56PM -0500, Jon Hunter wrote: >>> 3. Supporting legacy devices not using DMA Engine >>> >>>These devices present a problem, as there may not be a unifo

Re: [PATCH v3] gpio: Add Avionic Design N-bit GPIO expander support

2012-09-18 Thread Linus Walleij
On Tue, Sep 18, 2012 at 10:57 AM, Thierry Reding wrote: > This commit adds a driver for the Avionic Design N-bit GPIO expander. > The expander provides a variable number of GPIO pins with interrupt > support. And you followed up on absolutely everything I commented so how could I resist this pat

Re: [PATCH v2] spi/pl022: Devicetree support w/o platform data

2012-09-18 Thread Linus Walleij
On Tue, Sep 18, 2012 at 3:53 PM, Roland Stigge wrote: > Even with devicetree support, we needed platform data to provide some data, > leading to mixed device tree and platform data. This patch makes it possible > to > provide all that information via device tree. Now, the data must be provided >

Re: [PATCH 1/2] ARM: LPC32xx: DTS update for devicetree completion of spi-pl022

2012-09-18 Thread Linus Walleij
On Tue, Sep 18, 2012 at 3:00 PM, Roland Stigge wrote: > spi-pl022 got a further update to its devicetree support, completing > properties > such that no platform data is necessary anymore. This patch adjusts > lpc32xx.dtsi accordingly. > > Signed-off-by: Roland Stigge FWIW Acked-by: Linus Wall

Re: [PATCH] gpio: pxa: using for_each_set_bit to simplify the code

2012-09-18 Thread Linus Walleij
On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Using for_each_set_bit() to simplify the code. > > spatch with a semantic match is used to found this. > (http://coccinelle.lip6.fr/) > > Signed-off-by: Wei Yongjun Applied with Eric's and Haojian's ACKs. Thanks! Linus

Re: [PATCH] gpio: Describe interrupt-controller binding

2012-09-18 Thread Rob Herring
On 09/18/2012 01:45 PM, Thierry Reding wrote: > On Tue, Sep 18, 2012 at 12:15:02PM -0600, Stephen Warren wrote: >> On 09/18/2012 12:06 PM, Thierry Reding wrote: >>> On Tue, Sep 18, 2012 at 08:55:40AM -0600, Stephen Warren wrote: On 09/18/2012 07:28 AM, Rob Herring wrote: > On 09/18/2012 03

Re: [PATCH v4 03/10] pinctrl: mvebu: kirkwood pinctrl driver

2012-09-18 Thread Andrew Lunn
On Thu, Sep 13, 2012 at 05:41:45PM +0200, Sebastian Hesselbarth wrote: > This patch adds a SoC specific pinctrl driver for Marvell Kirkwood SoCs > plus DT binding documentation. This driver will use the mvebu pinctrl > driver core. > > Signed-off-by: Sebastian Hesselbarth > --- > v2: > - restruct

Re: [PATCH] gpio: Describe interrupt-controller binding

2012-09-18 Thread Thierry Reding
On Tue, Sep 18, 2012 at 12:15:02PM -0600, Stephen Warren wrote: > On 09/18/2012 12:06 PM, Thierry Reding wrote: > > On Tue, Sep 18, 2012 at 08:55:40AM -0600, Stephen Warren wrote: > >> On 09/18/2012 07:28 AM, Rob Herring wrote: > >>> On 09/18/2012 03:51 AM, Thierry Reding wrote: > In order to

Re: [PATCH] gpio: Describe interrupt-controller binding

2012-09-18 Thread Stephen Warren
On 09/18/2012 12:06 PM, Thierry Reding wrote: > On Tue, Sep 18, 2012 at 08:55:40AM -0600, Stephen Warren wrote: >> On 09/18/2012 07:28 AM, Rob Herring wrote: >>> On 09/18/2012 03:51 AM, Thierry Reding wrote: In order to use GPIO controllers as interrupt controllers, they need to be marked

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-18 Thread Russell King - ARM Linux
On Tue, Sep 18, 2012 at 03:20:08PM +, Arnd Bergmann wrote: > On Tuesday 18 September 2012, Matt Porter wrote: > > FWIW, I'm already basing the EDMA dmaengine support for OMAP (specifically > > for AM335x) on using these helpers since AM335x only boots from DT. > > I suspect the same thing will

Re: [PATCH] gpio: Describe interrupt-controller binding

2012-09-18 Thread Thierry Reding
On Tue, Sep 18, 2012 at 08:55:40AM -0600, Stephen Warren wrote: > On 09/18/2012 07:28 AM, Rob Herring wrote: > > On 09/18/2012 03:51 AM, Thierry Reding wrote: > >> In order to use GPIO controllers as interrupt controllers, they need to > >> be marked with the DT interrupt-controller property. This

Re: [PATCH v2 7/9] ARM: OMAP: iommu: optimize save and restore routines

2012-09-18 Thread Tony Lindgren
* Omar Ramirez Luna [120912 12:47]: > --- a/arch/arm/plat-omap/include/plat/iommu.h > +++ b/arch/arm/plat-omap/include/plat/iommu.h > @@ -27,6 +27,13 @@ struct iotlb_entry { > }; > }; > > +/* context registers */ > +struct iommu_regs { > + u32 irqen; > + u32 cntl; > + u32 ttb;

Re: [PATCH v3 00/10] ARM: tegra: Add PCIe device tree support

2012-09-18 Thread Bjorn Helgaas
On Tue, Sep 18, 2012 at 12:33 AM, Thierry Reding wrote: > On Sat, Sep 08, 2012 at 11:51:00AM -0600, Bjorn Helgaas wrote: >> On Fri, Sep 7, 2012 at 6:04 PM, Russell King - ARM Linux >> wrote: >> > On Fri, Sep 07, 2012 at 05:34:35PM -0600, Stephen Warren wrote: >> >> I guess it's a pretty basic pre

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-18 Thread Arnd Bergmann
On Tuesday 18 September 2012, Matt Porter wrote: > On Tue, Sep 18, 2012 at 08:43:55AM +0530, Vinod Koul wrote: > > > > Now would it make sense to NOT merge these changes for 3.7 and postpone > > to 3.8. I can host these patches on a topic branch and merge them when > > we are ready. I plan to spen

Re: [PATCH] gpio: Describe interrupt-controller binding

2012-09-18 Thread Stephen Warren
On 09/18/2012 07:28 AM, Rob Herring wrote: > On 09/18/2012 03:51 AM, Thierry Reding wrote: >> In order to use GPIO controllers as interrupt controllers, they need to >> be marked with the DT interrupt-controller property. This commit adds >> some documentation about this to the general GPIO binding

Re: [PATCH] i2c: i2c-gpio: fix issue when DT node greater than 1

2012-09-18 Thread Stephen Warren
On 09/18/2012 03:02 AM, Bo Shen wrote: > When i2c-gpio node number is greater than 1, the second can not sucessfully > regiter > > Using alias method to get the pdev->id, or else the second device will use > the same id which will cause fail to register pdev->id shouldn't be used at all with devi

Re: [PATCH v4 06/24] docs: Xen ARM DT bindings

2012-09-18 Thread Dave Martin
On Mon, Sep 17, 2012 at 03:12:11PM +0100, Stefano Stabellini wrote: > On Mon, 17 Sep 2012, Rob Herring wrote: > > On 09/14/2012 09:26 AM, Stefano Stabellini wrote: > > > On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: > > >> On Fri, Sep 14, 2012 at 12:13:08PM +0100, Stefano Stabellini wrote: > >

Re: [PATCH v2] spi/pl022: Devicetree support w/o platform data

2012-09-18 Thread Roland Stigge
On 09/18/2012 04:43 PM, Arnd Bergmann wrote: > On Tuesday 18 September 2012, Roland Stigge wrote: >> Even with devicetree support, we needed platform data to provide some data, >> leading to mixed device tree and platform data. This patch makes it possible >> to >> provide all that information via

Re: [PATCH v2] spi/pl022: Devicetree support w/o platform data

2012-09-18 Thread Arnd Bergmann
On Tuesday 18 September 2012, Roland Stigge wrote: > Even with devicetree support, we needed platform data to provide some data, > leading to mixed device tree and platform data. This patch makes it possible > to > provide all that information via device tree. Now, the data must be provided > via

[PATCH v2] spi/pl022: Devicetree support w/o platform data

2012-09-18 Thread Roland Stigge
Even with devicetree support, we needed platform data to provide some data, leading to mixed device tree and platform data. This patch makes it possible to provide all that information via device tree. Now, the data must be provided via platform data _or_ device tree completely. Only in case of DM

Re: [PATCH] spi/pl022: Devicetree support w/o platform data

2012-09-18 Thread Roland Stigge
Hi! On 09/18/2012 03:13 PM, Arnd Bergmann wrote: > On Tuesday 18 September 2012, Roland Stigge wrote: >> --- linux-2.6.orig/Documentation/devicetree/bindings/spi/spi_pl022.txt >> +++ linux-2.6/Documentation/devicetree/bindings/spi/spi_pl022.txt >> @@ -10,6 +10,15 @@ Optional properties: >> - cs-g

Re: [PATCH v3] gpio: Add Avionic Design N-bit GPIO expander support

2012-09-18 Thread Thierry Reding
On Tue, Sep 18, 2012 at 08:37:07AM -0500, Rob Herring wrote: > On 09/18/2012 03:57 AM, Thierry Reding wrote: [...] > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-adnp.txt > > b/Documentation/devicetree/bindings/gpio/gpio-adnp.txt > > new file mode 100644 > > index 000..5a09a21 >

Re: [PATCH v3] gpio: Add Avionic Design N-bit GPIO expander support

2012-09-18 Thread Rob Herring
On 09/18/2012 03:57 AM, Thierry Reding wrote: > This commit adds a driver for the Avionic Design N-bit GPIO expander. > The expander provides a variable number of GPIO pins with interrupt > support. > > Cc: Grant Likely > Cc: Rob Herring > Cc: devicetree-discuss@lists.ozlabs.org > Cc: Linus Wall

Re: [PATCH] gpio: Describe interrupt-controller binding

2012-09-18 Thread Rob Herring
On 09/18/2012 03:51 AM, Thierry Reding wrote: > In order to use GPIO controllers as interrupt controllers, they need to > be marked with the DT interrupt-controller property. This commit adds > some documentation about this to the general GPIO binding document. > > Cc: Linus Walleij > Cc: Grant L

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-18 Thread Matt Porter
On Tue, Sep 18, 2012 at 08:43:55AM +0530, Vinod Koul wrote: > On Mon, 2012-09-17 at 23:36 +0100, Russell King - ARM Linux wrote: > > > > > > I believe that Jon is on vacation this week, so if this is the only issue > > > holding up the merge, maybe you can change this in his patch directly, or > >

Re: [PATCH] spi/pl022: Devicetree support w/o platform data

2012-09-18 Thread Arnd Bergmann
On Tuesday 18 September 2012, Roland Stigge wrote: > --- linux-2.6.orig/Documentation/devicetree/bindings/spi/spi_pl022.txt > +++ linux-2.6/Documentation/devicetree/bindings/spi/spi_pl022.txt > @@ -10,6 +10,15 @@ Optional properties: > - cs-gpios : should specify GPIOs used for chipselects. >T

[PATCH 2/2] ARM: LPC32xx: Platform update for devicetree completion of spi-pl022

2012-09-18 Thread Roland Stigge
spi-pl022 got a further update to its devicetree support, completing properties such that no platform data is necessary anymore. This patch adjusts phy3250.c accordingly: The supplied platform data is deleted. However, OF_DEV_AUXDATA() are still necessary due to device naming ("dev:ssp0"). Signed-

[PATCH 1/2] ARM: LPC32xx: DTS update for devicetree completion of spi-pl022

2012-09-18 Thread Roland Stigge
spi-pl022 got a further update to its devicetree support, completing properties such that no platform data is necessary anymore. This patch adjusts lpc32xx.dtsi accordingly. Signed-off-by: Roland Stigge --- I will do a git pull request for arm-soc.git when the respective change in spi-pl022.c is

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

2012-09-18 Thread Arnd Bergmann
On Monday 17 September 2012, David Brown wrote: > There is also a lot of similarity between the mmci hardware and the > msm_sdcc hardware. Enough so, that it is probably better for us to > make the mmci driver work with our hardware, rather than trying to > keep msm_sdcc going. > > There is also

[PATCH] spi/pl022: Devicetree support w/o platform data

2012-09-18 Thread Roland Stigge
Even with devicetree support, we needed platform data to provide some data like bus_id and enable_dma, leading to mixed device tree and platform data. This patch makes it possible to provide all that information via device tree. Now, the data must be provided via platform data _or_ device tree comp

[PATCH] video: drm: Add match table for drm platform device

2012-09-18 Thread Leela Krishna Amudala
This patch adds match table for drm platform device. Signed-off-by: Leela Krishna Amudala --- drivers/gpu/drm/exynos/exynos_drm_drv.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.

Re: [PATCH 09/19] ARM: ux500: Enable SSP (SPI) for HREF when booting Device Tree

2012-09-18 Thread Roland Stigge
Hi, On 09/18/2012 02:08 PM, Linus Walleij wrote: >> When we have sorted out this driver change (please check the new pl022 >> specific dt property names!), I will provide patches for arm-soc to >> actually use this new interface via dts files. > > OK cool I guess you will do this for the LPC32xx?

Re: [PATCH 09/19] ARM: ux500: Enable SSP (SPI) for HREF when booting Device Tree

2012-09-18 Thread Linus Walleij
On Mon, Sep 17, 2012 at 7:03 PM, Roland Stigge wrote: > On 09/10/2012 01:11 PM, Linus Walleij wrote: >> >> It appears Roland has written his bindings such that DT >> data augments platform data (yes, I am also getting crazy >> about this prioritization, mea culpa for ACKing this without >> proper

Re: [PATCH] spi/pl022: Devicetree support w/o platform data

2012-09-18 Thread Linus Walleij
On Mon, Sep 17, 2012 at 6:59 PM, Roland Stigge wrote: > Even with devicetree support, we needed platform data to provide some data > like > bus_id and enable_dma, leading to mixed device tree and platform data. This > patch makes it possible to provide all that information via device tree. Now,

[PATCH v3] gpio: Add Avionic Design N-bit GPIO expander support

2012-09-18 Thread Thierry Reding
This commit adds a driver for the Avionic Design N-bit GPIO expander. The expander provides a variable number of GPIO pins with interrupt support. Cc: Grant Likely Cc: Rob Herring Cc: devicetree-discuss@lists.ozlabs.org Cc: Linus Walleij Cc: linux-ker...@vger.kernel.org Signed-off-by: Thierry R

[PATCH] gpio: Describe interrupt-controller binding

2012-09-18 Thread Thierry Reding
In order to use GPIO controllers as interrupt controllers, they need to be marked with the DT interrupt-controller property. This commit adds some documentation about this to the general GPIO binding document. Cc: Linus Walleij Cc: Grant Likely Cc: Rob Herring Cc: devicetree-discuss@lists.ozlab

[PATCH] gpio: Describe interrupt-controller binding

2012-09-18 Thread Thierry Reding
In order to use GPIO controllers as interrupt controllers, they need to be marked with the DT interrupt-controller property. This commit adds some documentation about this to the general GPIO binding document. Cc: Linus Walleij Cc: Grant Likely Cc: Rob Herring Cc: devicetree-discuss@lists.ozlab

RE: [PATCH v3 4/4] ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm

2012-09-18 Thread AnilKumar, Chimata
Hi Andrew, On Tue, Sep 18, 2012 at 04:05:59, Andrew Morton wrote: > On Mon, 17 Sep 2012 12:53:22 +0530 > AnilKumar Ch wrote: > > > Add lis331dlh device tree data to am335x-evm.dts. In AM335x EVM > > lis331dlh accelerometer is connected to I2C2 bus. So this patch > > change the status of I2C2 nod

[PATCH v4 2/5] dt/powerpc/powernv: Use of_get_child_by_name to get a named child

2012-09-18 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla As follow-up to "dt: introduce of_get_child_by_name to get child node by name." patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla --- arch/powerpc/platforms/powern

[PATCH v4 5/5] dt/tty/opal: Use of_get_child_by_name to get a named child

2012-09-18 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla As follow-up to "dt: introduce of_get_child_by_name to get child node by name." patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla --- drivers/tty/hvc/hvc_opal.c |

[PATCH v4 4/5] dt/s3c64xx/spi: Use of_get_child_by_name to get a named child

2012-09-18 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla As follow-up to "dt: introduce of_get_child_by_name to get child node by name." patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla --- drivers/spi/spi-s3c64xx.c |

[PATCH v4 3/5] dt/powerpc/sysdev: Use of_get_child_by_name to get a named child

2012-09-18 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla As follow-up to "dt: introduce of_get_child_by_name to get child node by name." patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla --- arch/powerpc/sysdev/qe_lib/qe

[PATCH v4 1/5] dt: introduce of_get_child_by_name to get child node by name

2012-09-18 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla This patch introduces of_get_child_by_name function to get a child node by its name in a given parent node. Without this patch each driver code has to iterate the parent and do a string compare, However having of_get_child_by_name libary function would avoid code duplic

[PATCH v4 0/5] Introduce of_get_child_by_name

2012-09-18 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla This patch series introduces of_get_child_by_name function to get a child node by its name in a given parent node and also removes code duplication in some of the existing driver code by using of_get_child_by_name. Normally if a driver want to get a child node it woul

[RESEND PATCH v3 0/5] Introduce of_get_child_by_name

2012-09-18 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla This patch series introduces of_get_child_by_name function to get a child node by its name in a given parent node and also removes code duplication in some of the existing driver code by using of_get_child_by_name. Normally if a driver want to get a child node it woul