Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-11-11 Thread Linus Walleij
On Thu, Nov 1, 2012 at 3:01 PM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Nov 1, 2012 at 1:07 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Thu, Nov 01, 2012 at 09:54:00AM +0100, Linus Walleij wrote: For the pin hogging I'd actually been thinking separately that we

[RFC] MIPS: BCM63XX: add initial Device Tree support

2012-11-11 Thread Jonas Gorski
This patch series adds initial Device Tree support to BCM63XX by adding bindings for interrupts, GPIOs and clocks to Device Tree. Finally it adds one real user, the serial driver, to the device tree boards. The main intention of this patch series is to make the transition to device tree as smooth

[RFC] MIPS: BCM63XX: add support for loading DTB

2012-11-11 Thread Jonas Gorski
Add support for loading DTBs embedded into the kernel. Iterate through all embedded ones until a match is found and use that. Use the NVRAM provided board name for constructing the compatible property for selecting the appropriate in-kernel DTB. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com

[RFC] MIPS: BCM63XX: add Device Tree glue code for IRQ handling

2012-11-11 Thread Jonas Gorski
Register IRQ domains through Device Tree for the internal and external interrupt controllers. Register the same IRQ ranges as previously to provide backward compatibility for non-DT drivers. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- .../devicetree/bindings/mips/bcm63xx/epic.txt

[RFC] SPI: spi-bcm63xx: use clk_{prepare_enable,disable_unprepare}

2012-11-11 Thread Jonas Gorski
Use proper clk_prepare/unprepare calls in preparation for switching to the generic clock framework. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- drivers/spi/spi-bcm63xx.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c

[RFC] MIPS: BCM63XX: add generic fallback device trees

2012-11-11 Thread Jonas Gorski
Add generic fallback device trees to load if there is no specific device tree for the board available. This ensures that always present devices like interrupt controllers are always available. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- arch/mips/bcm63xx/dts/Makefile |

[RFC] bcm63xx-rng: use clk_{prepare_enable,disable_unprepare}

2012-11-11 Thread Jonas Gorski
Use proper clk_prepare/unprepare calls in preparation for switching to the generic clock framework. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- drivers/char/hw_random/bcm63xx-rng.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[RFC] net: ethernet: bcm63xx_enet: use clk_{prepare_enable, disable_unprepare}

2012-11-11 Thread Jonas Gorski
Use proper clk_prepare/unprepare calls in preparation for switching to the generic clock framework. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

[RFC] serial: bcm63xx_uart: remove unnecessary include

2012-11-11 Thread Jonas Gorski
bcm63xx_clk.h does not need to be included anymore as clk.h already provides all required prototypes. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- drivers/tty/serial/bcm63xx_uart.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[RFC] MIPS: BCM63XX: add Device Tree clock definitions

2012-11-11 Thread Jonas Gorski
Add definitions for the clocks found and used in all supported SoCs. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- arch/mips/bcm63xx/dts/bcm6328.dtsi | 90 ++ arch/mips/bcm63xx/dts/bcm6338.dtsi | 47 + arch/mips/bcm63xx/dts/bcm6345.dtsi | 33

[RFC] MIPS: BCM63XX: switch to common clock and Device Tree

2012-11-11 Thread Jonas Gorski
Switch BCM63XX to the common clock framework and use clkdev for providing clock name lookups for non-DT devices. Clocks can have a frequency and gate-bit, or none, in case they are just provided for drivers expecting them to be present. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com ---

[RFC] MIPS: BCM63XX: add empty Device Trees for all supported boards

2012-11-11 Thread Jonas Gorski
Add empty board files for all boards supported by the legacy board support. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- arch/mips/bcm63xx/dts/96328avng.dts | 22 +++ arch/mips/bcm63xx/dts/96338gw.dts | 22 +++ arch/mips/bcm63xx/dts/96338w.dts | 22

[RFC] MIPS: BCM63XX: enable serial through Device Tree

2012-11-11 Thread Jonas Gorski
Enable serial through Device Tree board files instead of legacy board files. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- arch/mips/bcm63xx/boards/board_bcm963xx.c | 15 --- arch/mips/bcm63xx/dts/96328avng.dts |3 +++ arch/mips/bcm63xx/dts/96338gw.dts |

Re: [RFC] MIPS: BCM63XX: add initial Device Tree support

2012-11-11 Thread Jonas Gorski
[RFC] MIPS: BCM63XX: add initial Device Tree support Disregard that, I can't git :-( That obviously should have been 0/15 and so on (even if many patches work stand alone). To not spam the lists, I'll wait for some comments before resending the patch series (with proper numbering). Jonas

Re: [PATCH Resend V2] dt: add helper function to read u8 u16 variables arrays

2012-11-11 Thread Rob Herring
On 11/06/2012 10:22 PM, viresh kumar wrote: On Tue, Nov 6, 2012 at 7:48 PM, Rob Herring robherri...@gmail.com wrote: +#define of_property_read_array(_np, _pname, _out, _sz) \ + while (_sz--) \ + *_out++

[PATCH 1/3] gpio: Add simple poweroff-gpio driver

2012-11-11 Thread Andrew Lunn
From: Jamie Lentin j...@lentin.co.uk Given appropriate devicetree bindings, this driver registers a pm_power_off function to set a GPIO line high/low to power down your board. Signed-off-by: Jamie Lentin j...@lentin.co.uk Signed-off-by: Andrew Lunn and...@lunn.ch ---

[PATCH 3/3] ARM: Kirkwood: Convert IB62x0 to use gpio-poweroff.

2012-11-11 Thread Andrew Lunn
Signed-off-by: Andrew Lunn and...@lunn.ch --- arch/arm/boot/dts/kirkwood-ib62x0.dts |6 ++ arch/arm/mach-kirkwood/board-ib62x0.c | 13 - 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/kirkwood-ib62x0.dts

[PATCH 0/3] GPIO driver to turn power off

2012-11-11 Thread Andrew Lunn
A few of the Kirkwood systems use a GPIO line to turn the power off on shutdown. They request the GPIO line in the board setup code, optionally setting it as an output and driving it inactive. They then register a function for pm_power_off. At the end of the shutdown, this function is called. The

Re: [RFC] dt/platform: Use cell-index for device naming if available

2012-11-11 Thread Grant Likely
On Sun, Nov 11, 2012 at 2:32 AM, Rob Herring robherri...@gmail.com wrote: On 11/09/2012 06:48 PM, Stepan Moskovchenko wrote: Use the cell-index property to construct names for platform devices, falling back on the existing scheme of using the device register address if cell-index is not

Re: [PATCH 1/3] gpio: Add simple poweroff-gpio driver

2012-11-11 Thread Linus Walleij
On Sun, Nov 11, 2012 at 5:21 PM, Andrew Lunn and...@lunn.ch wrote: From: Jamie Lentin j...@lentin.co.uk Given appropriate devicetree bindings, this driver registers a pm_power_off function to set a GPIO line high/low to power down your board. Signed-off-by: Jamie Lentin j...@lentin.co.uk

Re: [PATCH 1/3] gpio: Add simple poweroff-gpio driver

2012-11-11 Thread Anton Vorontsov
On Mon, Nov 12, 2012 at 02:00:31AM +0100, Linus Walleij wrote: On Sun, Nov 11, 2012 at 5:21 PM, Andrew Lunn and...@lunn.ch wrote: From: Jamie Lentin j...@lentin.co.uk Given appropriate devicetree bindings, this driver registers a pm_power_off function to set a GPIO line high/low to

RE: [PATCH v7 0/5] usb: phy: samsung: Introducing usb phy driver for samsung SoCs

2012-11-11 Thread Kukjin Kim
Felipe Balbi wrote: Hi, Hi :-) [...] Sure, but I still need Kukjin's 'say-so' for the arch/arm/plat-samsung and arch/arm/mach-exynos part. Basically, this approach looks OK to me. BTW, I have some comments and need to update... From 4th patch... diff --git

Re: [PATCH 1/3] gpio: Add simple poweroff-gpio driver

2012-11-11 Thread Andrew Lunn
On Sun, Nov 11, 2012 at 05:12:58PM -0800, Anton Vorontsov wrote: On Mon, Nov 12, 2012 at 02:00:31AM +0100, Linus Walleij wrote: On Sun, Nov 11, 2012 at 5:21 PM, Andrew Lunn and...@lunn.ch wrote: From: Jamie Lentin j...@lentin.co.uk Given appropriate devicetree bindings, this driver

Re: [PATCH 1/3] gpio: Add simple poweroff-gpio driver

2012-11-11 Thread Anton Vorontsov
Hi Andrew, On Mon, Nov 12, 2012 at 07:07:40AM +0100, Andrew Lunn wrote: [...] But I suspect Anton may be ready to welcome a driver like this under drivers/power/* which I think is where it belongs. Yup. driver/power/reset/ seems appropriate. I was unsure where to put it. I will

Re: [PATCH 2/2] drm: tegra: Add HDMI support

2012-11-11 Thread Thierry Reding
On Sun, Nov 11, 2012 at 03:46:44PM +0100, Daniel Vetter wrote: On Sat, Nov 10, 2012 at 10:01:18PM +0100, Thierry Reding wrote: On Fri, Nov 09, 2012 at 05:00:54PM +0100, Christian König wrote: On 09.11.2012 16:45, Rafał Miłecki wrote: 2012/11/9 Thierry Reding

[PATCH v5 1/3] ARM: at91: atmel-ssc: add pinctrl support

2012-11-11 Thread Bo Shen
Add pinctrl support for atmel ssc peripheral Signed-off-by: Bo Shen voice.s...@atmel.com --- Change since v4 - This is initial version --- arch/arm/boot/dts/at91sam9260.dtsi | 18 ++ arch/arm/boot/dts/at91sam9263.dtsi | 36