Re: [net-next resend PATCH 1/6] net: cpsw: enhance pinctrl support

2013-05-23 Thread David Miller
From: Mugunthan V N mugunthan...@ti.com Date: Tue, 21 May 2013 15:24:58 +0530 + priv-pins_default = pinctrl_lookup_state(priv-pinctrl, + PINCTRL_STATE_DEFAULT); This is not indented correctly. Argument on the second, and subsequent,

Re: [RFC/RFT] ARM: dts: add minimal DT support for Nokia N950 N9

2013-05-23 Thread Benoit Cousson
Hi Aaro, On 05/22/2013 09:44 PM, Aaro Koskinen wrote: Add minimal DT support for Nokia N950 N9. The basic boot works. I can connect to both devices with USB networking ssh. dmesg output looks OK. That's great! Tony will like that :-) It is too bad I just have a N900 :-( Functionality

[PATCH 0/2] ARM: dts: updates for omap3-overo

2013-05-23 Thread Florian Vaussard
Hello, This series adds support to omap3-overo for the onboard NAND memory, and restore the default trigger for the pwm-led provided by TWL4030. Best regards, Florian Florian Vaussard (2): ARM: dts: Add omap3-overo NAND flash memory binding ARM: dts: omap3-overo: add default trigger for

[PATCH 1/2] ARM: dts: Add omap3-overo NAND flash memory binding

2013-05-23 Thread Florian Vaussard
Add device-tree node for the on-board NAND memory. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo.dtsi | 50 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3-overo.dtsi

[PATCH 2/2] ARM: dts: omap3-overo: add default trigger for TWL4030 LED

2013-05-23 Thread Florian Vaussard
Commit c971ff1 'leds: leds-pwm: Defer led_pwm_set() if PWM can sleep' fixed a crash when using a trigger with a pwm-led provided by an external chip. Now it is safe to add the default trigger according to board-overo.c. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch ---

[PATCH] ARM: dts: omap3-devkit8000: fix NAND memory binding

2013-05-23 Thread Florian Vaussard
Commit d36b4cd 'ARM: OMAP2+: Add additional GPMC timing parameters' updated GPMC binding, but omap3-devkit8000 was not updated accordingly, resulting in a broken configuration. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-devkit8000.dts | 29

Re: [net-next resend PATCH 1/6] net: cpsw: enhance pinctrl support

2013-05-23 Thread Mugunthan V N
On 5/23/2013 12:27 PM, David Miller wrote: From: Mugunthan V N mugunthan...@ti.com Date: Tue, 21 May 2013 15:24:58 +0530 + priv-pins_default = pinctrl_lookup_state(priv-pinctrl, + PINCTRL_STATE_DEFAULT); This is not indented

[PATCH] OMAPDSS: Fix crash with DT boot

2013-05-23 Thread Tomi Valkeinen
When booting with DT, there's a crash when omapfb is probed. This is caused by the fact that omapdss+DT is not yet supported, and thus omapdss is not probed at all. On the other hand, omapfb is always probed. When omapfb tries to use omapdss, there's a NULL pointer dereference crash. The same

[PATCH 1/1] USB: ehci-omap: Reset dma_mask pointer on probe

2013-05-23 Thread Roger Quadros
Device tree probed devices don't get dma_mask set. Previously we were setting the dma_mask pointer only if it was NULL. However, the address of 'omap_ehci_dma_mask' would change each time the module is unloaded and loaded back thus causing the devices dma_mask pointer to be invalid on the next

RE: [net-next resend PATCH 1/6] net: cpsw: enhance pinctrl support

2013-05-23 Thread Hebbar, Gururaja
On Thu, May 23, 2013 at 12:27:41, David Miller wrote: From: Mugunthan V N mugunthan...@ti.com Date: Tue, 21 May 2013 15:24:58 +0530 + priv-pins_default = pinctrl_lookup_state(priv-pinctrl, + PINCTRL_STATE_DEFAULT); This is not indented

[net-next PATCH v2 0/6] Adding pinctrl PM support for CPSW and MDIO

2013-05-23 Thread Mugunthan V N
This patch series adds the following features * Adding pinctrl PM support for CPSW and MDIO for Power Optimization * Adding phy address to the CPSW node for EVMsk board Changes from initial version * Fixed the multiline function call indentation as per David Miller recommendation. Hebbar

[net-next PATCH v2 1/6] net: cpsw: enhance pinctrl support

2013-05-23 Thread Mugunthan V N
From: Hebbar Gururaja gururaja.heb...@ti.com Amend cpsw controller to optionally take a pin control handle and set the state of the pins to: - default on boot, resume - sleep on suspend() This should make it possible to optimize energy usage for the pins for the suspend/resume cycle. If any of

[net-next PATCH v2 2/6] net: davinci_mdio: enhance pinctrl support

2013-05-23 Thread Mugunthan V N
Amend cpsw controller to optionally take a pin control handle and set the state of the pins to: - default on boot, resume - sleep on suspend() This should make it possible to optimize energy usage for the pins for the suspend/resume cycle. If any of the above pin states are missing in dt, a

[net-next PATCH v2 3/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone

2013-05-23 Thread Mugunthan V N
Add pinmux configurations for MII based CPSW ethernet to am335x-bone. In this patch, only single named mode/state is added and these pins are configured during pinctrl driver initialization. Default mode is nothing but the values required for the module during active state. With this

[net-next PATCH v2 4/6] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-05-23 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts

[net-next PATCH v2 6/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM

2013-05-23 Thread Mugunthan V N
Add pinmux configurations for RGMII based CPSW ethernet to am335x-evm. In this patch, only single named mode/state is added and these pins are configured during pinctrl driver initialization. Default mode is nothing but the values required for the module during active state. With this

[net-next PATCH v2 5/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk

2013-05-23 Thread Mugunthan V N
Add pinmux configurations for MII based CPSW ethernet to AM335x EVMsk. In this patch, only single named mode/state is added and these pins are configured during pinctrl driver initialization. Default mode is nothing but the values required for the module during active state. With this

Re: [PATCH 1/1] USB: ehci-omap: Reset dma_mask pointer on probe

2013-05-23 Thread Alan Stern
On Thu, 23 May 2013, Roger Quadros wrote: Device tree probed devices don't get dma_mask set. Previously we were setting the dma_mask pointer only if it was NULL. However, the address of 'omap_ehci_dma_mask' would change each time the module is unloaded and loaded back thus causing the

Re: [Resend/PATCHv5 0/3] Omap serial cleanup

2013-05-23 Thread Kevin Hilman
Hi Sourav, Sourav Poddar sourav.pod...@ti.com writes: Resending this patch series again on top of 3.10-rc1. This is a cleanup series done in response to the serial driver fixes done for no_console_suspend case. Greg has queued the serial core changes for v3.11, and I've queued this series

Re: [PATCH 1/1] USB: ehci-omap: Reset dma_mask pointer on probe

2013-05-23 Thread Roger Quadros
On 05/23/2013 05:11 PM, Alan Stern wrote: On Thu, 23 May 2013, Roger Quadros wrote: Device tree probed devices don't get dma_mask set. Previously we were setting the dma_mask pointer only if it was NULL. However, the address of 'omap_ehci_dma_mask' would change each time the module is

[PATCH v2 0/5] ARM: dts: OMAP2+: use preprocessor for device trees

2013-05-23 Thread Florian Vaussard
Hello, Following a similar proposal by Stephen Warren for tegra [1], this series makes use of the C preprocessor when compiling OMAP DT files, and accomplishes some improvements to improve overall readability. Patch 1 is a preparation for the rest of the series. Patch 2 uses existing constants

[PATCH v2 1/5] ARM: dts: OMAP2+: use #include for all device trees

2013-05-23 Thread Florian Vaussard
Replace /include/ by #include for OMAP2+ DT, in order to use the C pre-processor, making use of #define features possible. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap2.dtsi |2 +- arch/arm/boot/dts/omap2420-h4.dts |2 +-

[PATCH v2 5/5] ARM: dts: OMAP2+: use pinctrl constants

2013-05-23 Thread Florian Vaussard
Using constants for pinctrl allows a better readability, and remove redundancy with comments. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap2.dtsi |1 + arch/arm/boot/dts/omap3-beagle.dts| 24

[PATCH v2 2/5] ARM: dts: OMAP2+: use existing constants for GPIOs

2013-05-23 Thread Florian Vaussard
Use standard GPIO constants to enhance the readability of DT GPIOs. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap2.dtsi |2 ++ arch/arm/boot/dts/omap3-beagle-xm.dts |4 ++-- arch/arm/boot/dts/omap3-beagle.dts|6 +++---

[PATCH v2 3/5] ARM: dts: OMAP4/5: use existing constants for IRQs

2013-05-23 Thread Florian Vaussard
Use the constants defined in include/dt-bindings/interrupt-controller/ to enhance readability. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap4-panda-common.dtsi |8 +- arch/arm/boot/dts/omap4-sdp.dts |6 +-

[PATCH v2 4/5] ARM: dts: OMAP2+: header file for pinctrl constants

2013-05-23 Thread Florian Vaussard
Most of the constants are taken from arch/arm/mach-omap2/mux.h. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- include/dt-bindings/pinctrl/omap.h | 54 1 files changed, 54 insertions(+), 0 deletions(-) create mode 100644

[PATCH] ARM: dts: OMAP4. fix missing omap4-sdp-es23plus.dtb in dtbs target

2013-05-23 Thread Florian Vaussard
When making the dtbs target, omap4-sdp-es23plus.dtb is not built. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index

Re: [PATCH v2 0/5] ARM: dts: OMAP2+: use preprocessor for device trees

2013-05-23 Thread Santosh Shilimkar
On Thursday 23 May 2013 11:36 AM, Florian Vaussard wrote: Hello, Following a similar proposal by Stephen Warren for tegra [1], this series makes use of the C preprocessor when compiling OMAP DT files, and accomplishes some improvements to improve overall readability. Patch 1 is a

Re: [PATCH 06/13] mmc: omap_hsmmc: add dt pbias and control mmc support

2013-05-23 Thread Balaji T K
On Thursday 16 May 2013 09:46 PM, Tony Lindgren wrote: Hi, * Balaji T K balaj...@ti.com [130430 07:09]: Add omap_hsmmc_control to support pbias, high speed mode configuration for mmc1, loopback clock configuration (when external transceiver is used) for mmc2 Thanks for working on this, few

Re: [PATCH 06/13] mmc: omap_hsmmc: add dt pbias and control mmc support

2013-05-23 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130523 09:13]: On Thursday 16 May 2013 09:46 PM, Tony Lindgren wrote: These before and after functions should be first converted to just usual regulator_set_voltage() eventually. In the PBIAS case it's really a mux plus a comparator, but we can set it up as a

Re: [PATCH v2 5/5] ARM: dts: OMAP2+: use pinctrl constants

2013-05-23 Thread Tony Lindgren
* Florian Vaussard florian.vauss...@epfl.ch [130523 08:42]: index f39b237..b3cc896 100644 --- a/arch/arm/boot/dts/omap2.dtsi +++ b/arch/arm/boot/dts/omap2.dtsi @@ -9,6 +9,7 @@ */ #include dt-bindings/gpio/gpio.h +#include dt-bindings/pinctrl/omap.h #include skeleton.dtsi diff

Re: [PATCH v2 2/5] ARM: dts: OMAP2+: use existing constants for GPIOs

2013-05-23 Thread Tony Lindgren
* Florian Vaussard florian.vauss...@epfl.ch [130523 08:42]: --- a/arch/arm/boot/dts/omap3-beagle-xm.dts +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts @@ -29,13 +29,13 @@ heartbeat { label = beagleboard::usr0; - gpios = gpio5 22 0; /*

Re: [BISECTED] 3.10-rc1 OMAP1 GPIO IRQ regression

2013-05-23 Thread Jon Hunter
On 22/05/13 22:20, Aaro Koskinen wrote: On Tue, May 21, 2013 at 08:37:16PM +0100, Jon Hunter wrote: On 21/05/13 18:39, Aaro Koskinen wrote: On Mon, May 20, 2013 at 10:46:21AM -0700, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [130516 14:50]: * Aaro Koskinen aaro.koski...@iki.fi

Re: [net-next resend PATCH 1/6] net: cpsw: enhance pinctrl support

2013-05-23 Thread David Miller
From: Hebbar, Gururaja gururaja.heb...@ti.com Date: Thu, 23 May 2013 11:28:38 + On Thu, May 23, 2013 at 12:27:41, David Miller wrote: From: Mugunthan V N mugunthan...@ti.com Date: Tue, 21 May 2013 15:24:58 +0530 + priv-pins_default = pinctrl_lookup_state(priv-pinctrl, +

Re: [RESEND PATCH v2 1/3] mmc: omap_hsmmc: Enable SDIO IRQ using a GPIO in idle mode.

2013-05-23 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [130520 19:55]: * Tony Lindgren t...@atomide.com [130520 14:03]: * Andreas Fenkart andreas.fenk...@streamunlimited.com [130515 01:51]: Without functional clock the omap_hsmmc module can't forward SDIO IRQs to the system. This patch reconfigures dat1 line

Re: [BISECTED] 3.10-rc1 OMAP1 GPIO IRQ regression

2013-05-23 Thread Aaro Koskinen
On Thu, May 23, 2013 at 08:02:05PM +0100, Jon Hunter wrote: On 22/05/13 22:20, Aaro Koskinen wrote: On Tue, May 21, 2013 at 08:37:16PM +0100, Jon Hunter wrote: On 21/05/13 18:39, Aaro Koskinen wrote: On Mon, May 20, 2013 at 10:46:21AM -0700, Tony Lindgren wrote: * Tony Lindgren