Re: [PATCH 2/2] ARM: Exynos: Hook up power domains to generic power domain infrastructure

2012-01-02 Thread Sylwester Nawrocki
Hi Thomas, thank you for clarifying. On 01/02/2012 03:14 AM, Thomas Abraham wrote: > > The following is a snippet from the dts file used for testing. > >[...] > >lcd0:power-domain-lcd0 { > compatible = "samsung,exynos4210-pd"; > reg = <0x10023C00 0x10>; >};

Re: [PATCH v3] Input: keyboard - add device tree bindings for simple key matrixes

2012-01-02 Thread Simon Glass
Hi Olof, On Sun, Jan 1, 2012 at 10:09 PM, Olof Johansson wrote: > This adds a simple device tree binding for simple key matrix data and > a helper to fill in the platform data. > > The implementation is in a shared file outside if drivers/input/keyboard > since some drivers in drivers/input/misc

Re: [PATCH v2] gpio: pl061: convert to use generic irq chip

2012-01-02 Thread Rob Herring
Grant, On 01/02/2012 02:54 AM, Grant Likely wrote: > On Mon, Dec 19, 2011 at 02:52:07PM -0600, Rob Herring wrote: >> From: Rob Herring >> >> Convert the pl061 irq_chip code to use the generic irq chip code. >> >> This has the side effect of using 32-bit accesses rather than 8-bit >> accesses to i

Re: [PATCH] of: add picochip vendor prefix

2012-01-02 Thread Rob Herring
On 01/02/2012 08:11 AM, Jamie Iles wrote: > Cc: Grant Likely > Cc: Rob Herring > Signed-off-by: Jamie Iles > --- Applied. Rob > .../devicetree/bindings/vendor-prefixes.txt|1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/Documentation/devicetree/bindings/

[PATCHv4 4/4] ARM: picoxcell: use new Synopsys Designware GPIO binding

2012-01-02 Thread Jamie Iles
Use the DesignWare specific binding rather than the generic binding which isn't supported in mainline. Signed-off-by: Jamie Iles --- arch/arm/boot/dts/picoxcell-pc3x2.dtsi | 19 --- arch/arm/boot/dts/picoxcell-pc3x3.dtsi | 28 +++- 2 files changed, 19

[PATCHv4 3/4] gpio: dwapb: add support for GPIO interrupts

2012-01-02 Thread Jamie Iles
The controller supports interrupts on bank A (up to 8 interrupt sources). Use the generic IRQ chip to implement interrupt support for this bank. Cc: Grant Likely Cc: Linus Walleij Acked-by: Rob Herring Signed-off-by: Jamie Iles --- drivers/gpio/Kconfig |2 +- drivers/gpio/gpio-dwapb

[PATCHv4 2/4] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2012-01-02 Thread Jamie Iles
The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. v3: - depend on rather than select IRQ_DOMAIN - split IRQ support into a separate patch v2: - use Rob Herring's irqdomain in generic irq chip patches

[PATCHv4 1/4] of: document common interrupt controller details

2012-01-02 Thread Jamie Iles
It's common for interrupt controllers to need to encode interrupt trigger types and the Linux specific types seem common. Document these in a centralized place so that they don't get reinvented each time a new controller is added. Suggested-by: Mark Brown Cc: Grant Likely Cc: Rob Herring Signe

Re: [PATCHv3 1/3] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2012-01-02 Thread Mark Brown
On Mon, Jan 02, 2012 at 01:51:45PM +, Jamie Iles wrote: > On Mon, Jan 02, 2012 at 01:25:00PM +, Mark Brown wrote: > > > v2: - use Rob Herring's irqdomain in generic irq chip patches > > > - use reg property to indicate bank index > > > - support irqs on both edges based on LinusW

[PATCH] of: add picochip vendor prefix

2012-01-02 Thread Jamie Iles
Cc: Grant Likely Cc: Rob Herring Signed-off-by: Jamie Iles --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.t

Re: [PATCHv3 1/3] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2012-01-02 Thread Jamie Iles
Hi Mark, On Mon, Jan 02, 2012 at 01:25:00PM +, Mark Brown wrote: > On Mon, Jan 02, 2012 at 12:53:16PM +, Jamie Iles wrote: > > The Synopsys DesignWare block is used in some ARM devices (picoxcell) > > and can be configured to provide multiple banks of GPIO pins. > > > > v3: - depend on ra

Re: [PATCHv3 1/3] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2012-01-02 Thread Linus Walleij
On Mon, Jan 2, 2012 at 2:25 PM, Mark Brown wrote: > On Mon, Jan 02, 2012 at 12:53:16PM +, Jamie Iles wrote: >> The Synopsys DesignWare block is used in some ARM devices (picoxcell) >> and can be configured to provide multiple banks of GPIO pins. >> >> v3:   - depend on rather than select IRQ_

Re: [PATCHv3 1/3] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2012-01-02 Thread Mark Brown
On Mon, Jan 02, 2012 at 12:53:16PM +, Jamie Iles wrote: > The Synopsys DesignWare block is used in some ARM devices (picoxcell) > and can be configured to provide multiple banks of GPIO pins. > > v3: - depend on rather than select IRQ_DOMAIN > - split IRQ support into a separate patch

[PATCHv3 3/3] ARM: picoxcell: use new Synopsys Designware GPIO binding

2012-01-02 Thread Jamie Iles
Use the DesignWare specific binding rather than the generic binding which isn't supported in mainline. Signed-off-by: Jamie Iles --- arch/arm/boot/dts/picoxcell-pc3x2.dtsi | 19 --- arch/arm/boot/dts/picoxcell-pc3x3.dtsi | 28 +++- 2 files changed, 19

[PATCHv3 2/3] gpio: dwapb: add support for GPIO interrupts

2012-01-02 Thread Jamie Iles
The controller supports interrupts on bank A (up to 8 interrupt sources). Use the generic IRQ chip to implement interrupt support for this bank. Cc: Grant Likely Cc: Linus Walleij Acked-by: Rob Herring Signed-off-by: Jamie Iles --- drivers/gpio/Kconfig |2 +- drivers/gpio/gpio-dwapb

[PATCHv3 1/3] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2012-01-02 Thread Jamie Iles
The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. v3: - depend on rather than select IRQ_DOMAIN - split IRQ support into a separate patch v2: - use Rob Herring's irqdomain in generic irq chip patches

[PATCHv3 0/3] Synopsys DesignWare GPIO support

2012-01-02 Thread Jamie Iles
Pretty much the same as last time with the exception that I've split the IRQ portion from the GPIO bit and added a dependency on IRQ_DOMAIN rather than selecting it. The 2nd patch is dependent on Rob's irqdomain support for the generic irq chip so can be dropped if needed. Jamie Iles (3): gpio:

Re: [PATCHv2 1/2] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2012-01-02 Thread Mark Brown
On Mon, Jan 02, 2012 at 12:24:00PM +, Jamie Iles wrote: > The IRQ part is dependent on Rob's patches to introduce irq domain > support into the generic chip though, so how about I split this into two > patches, one that does the basic GPIO stuff and another that does the > IRQ portion (with

Re: [PATCHv2 1/2] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2012-01-02 Thread Jamie Iles
On Mon, Jan 02, 2012 at 12:14:28PM +, Mark Brown wrote: > On Fri, Dec 30, 2011 at 02:25:25PM -0600, Rob Herring wrote: > > > We've got to sort out getting irq domains enabled on x86 and MIPS in > > order to merge generic irq chip using domains. I'm not sure that will > > get done in time. > >

Re: [PATCHv2 1/2] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2012-01-02 Thread Mark Brown
On Fri, Dec 30, 2011 at 02:25:25PM -0600, Rob Herring wrote: > We've got to sort out getting irq domains enabled on x86 and MIPS in > order to merge generic irq chip using domains. I'm not sure that will > get done in time. > Can you leave out the interrupt portion of the driver? Or that is neede

Re: [PATCH v4 03/12] mfd: twl-core: Add initial DT support for twl4030/twl6030

2012-01-02 Thread Grant Likely
On Thu, Dec 22, 2011 at 03:56:37PM +0100, Benoit Cousson wrote: > Add initial device-tree support for twl familly chips. > The current version is missing the regulator entries due > to the lack of DT regulator bindings for the moment. > Only the simple sub-modules that do not depend on > platform_d

Re: [PATCH 7/9] arm/tegra: emc: device tree bindings

2012-01-02 Thread Grant Likely
On Thu, Dec 22, 2011 at 04:17:46PM -0800, Olof Johansson wrote: > Device tree bindings for the EMC tables on tegra. > > Signed-off-by: Olof Johansson > Cc: Rob Herring > Cc: devicetree-discuss@lists.ozlabs.org Okay by me. Acked-by: Grant Likely > --- > .../devicetree/bindings/arm/tegra/emc.

Re: [PATCH] staging:iio: isl29018: add of_match table for device-tree probing

2012-01-02 Thread Grant Likely
On Thu, Dec 22, 2011 at 06:44:43PM -0800, Olof Johansson wrote: > As simple as can be right now; just one ID and no custom properties to parse. > > Signed-off-by: Olof Johansson Acked-by: Grant Likely > --- > drivers/staging/iio/light/isl29018.c |7 +++ > 1 files changed, 7 insertions

Re: [PATCH] staging:iio: ak8975: add of_match table for device-tree probing

2012-01-02 Thread Grant Likely
On Thu, Dec 22, 2011 at 06:46:42PM -0800, Olof Johansson wrote: > Just like isl29018; trivial addition. Using both asahi-kasei,ak8975 and > the non-prefixed version (I couldn't figure out if Asahi Kasei had a > stock symbol to use, I only found numerical indexes for their stock info). > > Signed-o

Re: [PATCH v2] gpio: pl061: convert to use generic irq chip

2012-01-02 Thread Grant Likely
On Mon, Dec 19, 2011 at 02:52:07PM -0600, Rob Herring wrote: > From: Rob Herring > > Convert the pl061 irq_chip code to use the generic irq chip code. > > This has the side effect of using 32-bit accesses rather than 8-bit > accesses to interrupt registers. The h/w TRM and testing seem to indica

Re: [PATCH 1/6] drivers/gpio/gpio-tegra.c: use devm_request_and_ioremap

2012-01-02 Thread Grant Likely
On Tue, Dec 27, 2011 at 03:01:26PM +0100, Julia Lawall wrote: > From: Julia Lawall Merged, thanks. g. > > Reimplement a call to devm_request_mem_region followed by a call to ioremap > or ioremap_nocache by a call to devm_request_and_ioremap. > > The semantic patch that makes this transformati

Re: [PATCH] Input: mpu3050: add of_match table for device-tree probing

2012-01-02 Thread Grant Likely
On Tue, Dec 27, 2011 at 09:14:31AM -0800, Olof Johansson wrote: > On Tue, Dec 27, 2011 at 8:07 AM, Rob Herring wrote: > > On 12/23/2011 09:58 AM, Olof Johansson wrote: > >> Hi, > >> > >> On Fri, Dec 23, 2011 at 1:22 AM, Dmitry Torokhov > >> wrote: > >>> Hi Olof, > >>> > >>> On Thu, Dec 22, 2011 a

Re: [PATCH 4/4] microblaze: Remove NO_IRQ from architecture

2012-01-02 Thread Grant Likely
On Wed, Dec 21, 2011 at 03:32:12PM +0100, Michal Simek wrote: > NO_IRQ shouldn't be used by any driver. All Microblaze > drivers are fixed that's why NO_IRQ can be removed. > > Signed-off-by: Michal Simek > CC: Grant Likely > CC: Benjamin Herrenschmidt > CC: Ryan Mallon Acked-by: Grant Likely

Re: [PATCH 3/4] input: xilinx_ps2: Don't use NO_IRQ

2012-01-02 Thread Grant Likely
On Wed, Dec 21, 2011 at 03:32:11PM +0100, Michal Simek wrote: > Drivers shouldn't use NO_IRQ. Microblaze and PPC > define NO_IRQ as 0 and this reference will be removed > in near future. > > Signed-off-by: Michal Simek > CC: Grant Likely > CC: Rob Herring > CC: Ryan Mallon Acked-by: Grant Lik

Re: [PATCH 2/4] net: ethernet: xilinx: Don't use NO_IRQ in xilinx

2012-01-02 Thread Grant Likely
On Wed, Dec 21, 2011 at 03:32:10PM +0100, Michal Simek wrote: > Fix ll_temac and emaclite drivers. Only Microblaze and Xilinx PPC > use then and both use NO_IRQ as 0. It will be removed in near future. > > Signed-off-by: Michal Simek > CC: "David S. Miller" (commit_signer:7/10=70%) > CC: Stephen

Re: [PATCH 1/4] block: xsysace: Don't use NO_IRQ

2012-01-02 Thread Grant Likely
On Wed, Dec 21, 2011 at 03:32:09PM +0100, Michal Simek wrote: > Drivers shouldn't use NO_IRQ. Microblaze and PPC > define NO_IRQ as 0 and this reference will be removed > in near future. > > Signed-off-by: Michal Simek > CC: Grant Likely > CC: Rob Herring > CC: Ryan Mallon Acked-by: Grant Lik

Re: [PATCH v2 1/2] Input: tegra-kbc - add device tree bindings

2012-01-02 Thread Grant Likely
On Tue, Dec 27, 2011 at 10:19:29PM -0800, Olof Johansson wrote: > This adds a simple device tree binding to the tegra keyboard controller. > > Also, mark the default keymap as __devinitdata since it is not referenced > after boot, and shorten the name to not have to avoid line wraps. > > Signed-o

Re: [PATCH v2 1/2] Input: tegra-kbc - add device tree bindings

2012-01-02 Thread Grant Likely
On Thu, Dec 29, 2011 at 01:23:08AM -0800, Dmitry Torokhov wrote: > On Wed, Dec 28, 2011 at 10:00:06PM -0800, Stephen Warren wrote: > > Dmitry Torokhov wrote at Tuesday, December 27, 2011 11:49 PM: > > > On Tue, Dec 27, 2011 at 10:19:29PM -0800, Olof Johansson wrote: > > > > This adds a simple devic