Re: [PATCH 1/3] misc: Add crossbar driver

2013-07-19 Thread Tony Lindgren
On Thursday 18 July 2013 02:56 PM, Nishanth Menon wrote: Since the cross-bar is not limited t0 IRQ lines and applicable for DMA request lines as well, making it IRQ chip doesn't make sense. Its not typical pin control functionality either but at least that framework is much closer to

Re: [PATCH 04/15] ARM: OMAP: USB: Add phy binding information

2013-07-18 Thread Tony Lindgren
()) + musb_plat.phy_label = twl4030; + if (soc_is_am35xx()) { oh_name = am35x_otg_hs; name = musb-am35x; I don't think there's a USB PHY on non-twl4030 chips, so this should be OK: Acked-by: Tony Lindgren t...@atomide.com diff --git a/include/linux

Re: [PATCH 05/15] ARM: dts: omap: update usb_otg_hs data

2013-07-18 Thread Tony Lindgren
. But sounds like things will stop working for USB unless we do it like this so: Acked-by: Tony Lindgren t...@atomide.com --- Documentation/devicetree/bindings/usb/omap-usb.txt |5 + Documentation/devicetree/bindings/usb/usb-phy.txt |6 ++ arch/arm/boot/dts/omap3-beagle-xm.dts

Re: [PATCH 3/3] ARM: dts: omap4-sdp: add dynamic pin states for uart3/4

2013-07-18 Thread Tony Lindgren
* Grygorii Strashko grygorii.stras...@ti.com [130717 09:48]: Hi, On 07/17/2013 06:32 PM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130717 04:49]: Add dynamic active/idle pin states for uart3/4 which will be applied when uart3/4 state is switched from active to idle

Re: [PATCH 2/3] ARM: OMAP2+: omap_device: add pinctrl handling

2013-07-18 Thread Tony Lindgren
* Grygorii Strashko grygorii.stras...@ti.com [130717 10:11]: On 07/17/2013 06:38 PM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130717 04:49]: Before switching to DT pinctrl states of OMAP IPs have been handled by hwmod framework. After switching to DT-boot the pinctrl

Re: [PATCH 3/3] ARM: dts: omap4-sdp: add dynamic pin states for uart3/4

2013-07-18 Thread Tony Lindgren
* Grygorii Strashko grygorii.stras...@ti.com [130718 02:01]: On 07/18/2013 11:09 AM, Tony Lindgren wrote: Don't think it's debug code - IO chain need to be rearmed after each PRCM IO IRQ - otherwise IO wakeup events may be lost (at least on OMAP4, OMAP5 requires more complex handling

Re: [PATCH 3/3] ARM: dts: omap4-sdp: add dynamic pin states for uart3/4

2013-07-17 Thread Tony Lindgren
* Grygorii Strashko grygorii.stras...@ti.com [130717 04:49]: Add dynamic active/idle pin states for uart3/4 which will be applied when uart3/4 state is switched from active to idle and back by Runtime PM or during system suspend. This is good for testing code, but should not be merged because

Re: [PATCH 2/3] ARM: OMAP2+: omap_device: add pinctrl handling

2013-07-17 Thread Tony Lindgren
* Grygorii Strashko grygorii.stras...@ti.com [130717 04:49]: Before switching to DT pinctrl states of OMAP IPs have been handled by hwmod framework. After switching to DT-boot the pinctrl handling was dropped from hwmod framework and, as it was recommended, OMAP IP's drivers have to be

Re: [PATCH 1/3] pinctrl: rollback check for !dev-pins in pinctrl_pm_select*() APIs

2013-07-17 Thread Tony Lindgren
* Grygorii Strashko grygorii.stras...@ti.com [130717 04:49]: The pinctrl support in Device core assumed to be optional - so, It's valid case, when there are no definition for default device's pinctrl states in DT at all (default, active, idle, sleep). And in this case dev-pins == NULL and

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130715 07:11]: Hi Tony, On 06/18/2013 07:04 PM, Roger Quadros wrote: Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide clock alias to the USB PHY clocks. Without this, USB Host Ethernet will not be functional

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130716 06:45]: On 07/16/2013 03:32 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [130715 07:11]: Hi Tony, On 06/18/2013 07:04 PM, Roger Quadros wrote: Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide

Re: [PATCH v2 1/2] ARM: configs: Enable TI_EDMA in omap2plus_defconfig

2013-07-04 Thread Tony Lindgren
* Joel Fernandes jo...@ti.com [130626 20:48]: Build EDMA in by default to avoid fewer people stepping on their toes with broken DMA on drivers needing EDMA. Thanks applying this one into omap-for-v3.11/fixes. Tony ___ devicetree-discuss mailing list

Re: [PATCH v2 4/9] wl12xx: use frequency instead of enumerations for pdata clocks

2013-07-03 Thread Tony Lindgren
a boolean to specify whether the clock is XTAL or not. Change all board files to reflect this. Cc: Tony Lindgren t...@atomide.com Cc: Sekhar Nori nsek...@ti.com Signed-off-by: Luciano Coelho coe...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c |3 +- arch/arm

Re: [PATCH] leds: Add device tree binding for pca9633

2013-07-02 Thread Tony Lindgren
* Bryan Wu coolo...@gmail.com [130701 12:12]: On Thu, Jun 27, 2013 at 7:24 AM, Tony Lindgren t...@atomide.com wrote: * Tony Lindgren t...@atomide.com [130627 00:28]: * Bryan Wu coolo...@gmail.com [130626 16:53]: On Wed, Jun 26, 2013 at 7:17 AM, Tony Lindgren t...@atomide.com wrote

Re: [PATCH] leds: Add device tree binding for pca9633

2013-06-27 Thread Tony Lindgren
* Bryan Wu coolo...@gmail.com [130626 16:53]: On Wed, Jun 26, 2013 at 7:17 AM, Tony Lindgren t...@atomide.com wrote: @@ -22,6 +22,7 @@ #include linux/i2c.h #include linux/workqueue.h #include linux/slab.h +#include linux/of.h #include linux/platform_data/leds-pca9633.h /* LED

Re: [PATCH] leds: Add device tree binding for pca9633

2013-06-27 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [130627 00:28]: * Bryan Wu coolo...@gmail.com [130626 16:53]: On Wed, Jun 26, 2013 at 7:17 AM, Tony Lindgren t...@atomide.com wrote: @@ -22,6 +22,7 @@ #include linux/i2c.h #include linux/workqueue.h #include linux/slab.h +#include linux/of.h

Re: [PATCH] Documentation: dt: bindings: TI WiLink modules

2013-06-26 Thread Tony Lindgren
* Luciano Coelho coe...@ti.com [130625 12:43]: (oh crap, now *really* fixed the ARM mailing list address) On Tue, 2013-06-25 at 11:35 +0300, Luciano Coelho wrote: Add device tree bindings documentation for the TI WiLink modules. Currently only the WLAN part of the WiLink6, WiLink7 and

Re: [PATCH v2] ARM: DTS: OMAP4: Add OMAP4 Blaze Tablet support

2013-06-26 Thread Tony Lindgren
* Dan Murphy dmur...@ti.com [130625 07:13]: On 06/25/2013 06:32 AM, Ruslan Bilovol wrote: The OMAP4 Blaze Tablet is TI OMAP4 processor-based development platform in a tablet formfactor. The platform contains many of the features found in present-day handsets (such as audio, video, wireless

Re: [PATCH] Documentation: dt: bindings: TI WiLink modules

2013-06-26 Thread Tony Lindgren
* Luciano Coelho coe...@ti.com [130626 01:19]: Hi Tony, On Tue, 2013-06-25 at 23:24 -0700, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130625 12:43]: On Tue, 2013-06-25 at 11:35 +0300, Luciano Coelho wrote: Add device tree bindings documentation for the TI WiLink modules

[PATCH] leds: Add device tree binding for pca9633

2013-06-26 Thread Tony Lindgren
Similar to tca6507, we can just parse the standard LED properties for pca9633. Tested on a pca9632, which is compatible with pca9633. Signed-off-by: Tony Lindgren t...@atomide.com --- /dev/null +++ b/Documentation/devicetree/bindings/leds/pca9633.txt @@ -0,0 +1,42 @@ +LEDs connected to pca9633

Re: [PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-25 Thread Tony Lindgren
* Benoit Cousson b-cous...@ti.com [130624 07:42]: Hi Tony, On 06/24/2013 12:19 PM, Tony Lindgren wrote: Hi, For merging this series, I suggest the following sets: * Joel A Fernandes joelag...@ti.com [130620 14:13]: Joel A Fernandes (3): edma: config: Enable config options

Re: [PATCHv2 11/11] ARM: OMAP4: register DT clocks and remove old data

2013-06-24 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [130624 00:51]: On 06/21/2013 10:25 AM, Tony Lindgren wrote: * Tero Kristo t-kri...@ti.com [130619 06:25]: Now that the OMAP4 PRCM clock data has been converted to device tree representation, it is no longer needed as static clock data. OMAP4 clock init routine

Re: [PATCH v12 04/11] dmaengine: edma: enable build for AM33XX

2013-06-24 Thread Tony Lindgren
to be taken by Tony. Sekhar, please go ahead and take this one. I'll reply to the header email of this series how it should be queued. For the mach-omap2/Kconfig change: Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/Kconfig |1 + drivers/dma/Kconfig |2

Re: [PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-24 Thread Tony Lindgren
Hi, For merging this series, I suggest the following sets: * Joel A Fernandes joelag...@ti.com [130620 14:13]: Joel A Fernandes (3): edma: config: Enable config options for EDMA da8xx: config: Enable MMC and FS options ARM: davinci: Fix compiler warnings in devices-da8xx Matt

Re: [PATCHv2 11/11] ARM: OMAP4: register DT clocks and remove old data

2013-06-21 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [130619 06:25]: Now that the OMAP4 PRCM clock data has been converted to device tree representation, it is no longer needed as static clock data. OMAP4 clock init routine is also changed to register DT clocks first. Signed-off-by: Tero Kristo t-kri...@ti.com

Re: [PATCHv2 06/11] CLK: omap: move part of the machine specific clock header contents to driver

2013-06-21 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [130619 06:25]: Some of the clock.h contents are needed by the new OMAP clock driver, including dpll_data and clk_hw_omap. Thus, move these to the generic omap header file which can be accessed by the driver. Do you mean are only needed by the new OMAP clock

Re: [PATCH v2 1/4] ARM: dts: omap4-panda: Add USB Host support

2013-06-19 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130619 00:42]: Hi Benoit, On 06/19/2013 04:17 AM, Benoit Cousson wrote: Hi Roger, On 06/18/2013 11:04 AM, Roger Quadros wrote: Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin

Re: [PATCH v2 1/4] ARM: dts: omap4-panda: Add USB Host support

2013-06-19 Thread Tony Lindgren
* Benoit Cousson b-cous...@ti.com [130619 03:17]: On 06/19/2013 02:46 AM, Tony Lindgren wrote: We have a similar issue with the MMC1 PBIAS. I think in the long run we should expand regulator (and possibly pinctrl) framework(s) to handle comparators. We could just assume that a comparatator

Re: [PATCH v2 1/4] ARM: dts: omap4-panda: Add USB Host support

2013-06-19 Thread Tony Lindgren
* Benoit Cousson b-cous...@ti.com [130619 05:30]: On 06/19/2013 07:05 AM, Florian Vaussard wrote: + +/* HS USB Port 1 RESET */ +hsusb1_reset: hsusb1_reset_reg { +compatible = regulator-fixed; +regulator-name = hsusb1_reset; +regulator-min-microvolt = 330;

Re: [PATCH v2 1/4] ARM: dts: omap4-panda: Add USB Host support

2013-06-19 Thread Tony Lindgren
* Benoit Cousson b-cous...@ti.com [130619 05:41]: Hi Tony, On 06/19/2013 07:27 AM, Tony Lindgren wrote: * Benoit Cousson b-cous...@ti.com [130619 03:17]: On 06/19/2013 02:46 AM, Tony Lindgren wrote: We have a similar issue with the MMC1 PBIAS. I think in the long run we should expand

Re: [PATCH 4/4] ARM: OMAP2+: dts: HACK: Provide alias to USB PHY clock

2013-06-18 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130618 04:17]: Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide clock alias to the USB PHY clocks. Without this, USB Host Ethernet will not be functional with device tree boots on Panda and uEVM. Thanks, this looks

Re: [PATCH 2/2] ARM: dts: add AM33XX MMC support

2013-06-17 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [130615 08:12]: fair enough, then let's just add those interrupts to hwmod which will, eventually, let us drop all of that data from hwmod. Nope, we're already dropping the duplicate data from hwmod for am33xx and omap4. See omap-for-v3.11/cleanup branch. Regards,

Re: [PATCH 01/11] pinctrl: single: adopt pinctrl sleep mode management

2013-06-17 Thread Tony Lindgren
from unloading pinctrl-single.. But the patch seems fine to me: Acked-by: Tony Lindgren t...@atomide.com ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 01/11] pinctrl: single: adopt pinctrl sleep mode management

2013-06-17 Thread Tony Lindgren
* Linus Walleij linus.wall...@linaro.org [130617 09:14]: On Mon, Jun 17, 2013 at 2:03 PM, Tony Lindgren t...@atomide.com wrote: * Linus Walleij linus.wall...@linaro.org [130617 04:38]: On Fri, May 31, 2013 at 12:13 PM, Hebbar Gururaja gururaja.heb...@ti.com wrote: Make pinctrl-single

Re: [PATCH v2 06/10] mmc: omap_hsmmc: add support for pbias configuration in dt

2013-06-13 Thread Tony Lindgren
* Linus Walleij linus.wall...@linaro.org [130613 02:42]: On Thu, Jun 6, 2013 at 9:14 PM, Balaji T K balaj...@ti.com wrote: PBIAS register configuration is based on the regulator voltage which supplies these pbias cells, sd i/o pads. With PBIAS register address and bit definitions

Re: [PATCH v2 02/14] ARM: OMAP2+: AM43x: Kconfig

2013-06-13 Thread Tony Lindgren
* Mohammed, Afzal af...@ti.com [130613 00:04]: Hi Tony, On Wed, Jun 12, 2013 at 22:42:00, Tony Lindgren wrote: I've updated this patch to remove the default y and depends on ARCH_OMAP2PLUS entries for the usual reasons and applied the first ten patches into omap-for-v3.11/soc

Re: [PATCH v2 02/14] ARM: OMAP2+: AM43x: Kconfig

2013-06-13 Thread Tony Lindgren
* Mohammed, Afzal af...@ti.com [130613 03:08]: Hi Tony, On Thu, Jun 13, 2013 at 15:24:54, Tony Lindgren wrote: * Mohammed, Afzal af...@ti.com [130613 00:04]: Patch 10 ARM: OMAP2+: AM43x: basic dt support is missing in omap-for-v3.11/soc branch and omap soc pull request, can you

Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-12 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130611 05:57]: On 06/10/2013 06:21 PM, Tony Lindgren wrote: * Quadros, Roger rog...@ti.com [130610 03:09]: + +static int __init pcs_omap_init(void) +{ + platform_driver_register(pcs_omap_soc_driver); + platform_driver_register(pcs_omap_driver

Re: [PATCH v2 01/10] ARM: OMAP2+: add needs_vmmc to hsmmc_info

2013-06-12 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130606 12:20]: Add needs_vmmc and needs_vmmc_aux to indicate whether regulator is applicable so that omap_hsmmc can handle deferred probe error properly for regulators. Remove the assumption that vmmc_aux regulator to be available only if vmmc is present.

Re: [PATCH v2 02/10] mmc: omap_hsmmc: make vcc and vcc_aux independent

2013-06-12 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130606 12:20]: handle vcc and vcc_aux independently Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

Re: [PATCH v2 09/10] ARM: dts: omap3: add pbias and mmc_init pinctrl states

2013-06-12 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130606 12:20]: add pbias states for pbias 0, 1.8V, 3V add omap3 sd/mmc2 loop back clock config for devconf1 in mmc2_init pinctrl state add OMAP3430 sd/mmc1 loop back clock config for devconf0 in mmc1_init pinctrl state add OMAP3630 sd/mmc1 speed mode config

Re: [PATCH v2 10/10] ARM: dts: omap4: add pbias and mmc_init pinctrl states

2013-06-12 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130606 12:20]: add pbias states for pbias 0, 1.8V, 3V add sd/mmc1 pull strength values for control_mmc1 in mmc_init pinctrl state This too should be under mmc1 in the omap4.dtsi file. Tony Signed-off-by: Balaji T K balaj...@ti.com ---

Re: [PATCH v2 06/10] mmc: omap_hsmmc: add support for pbias configuration in dt

2013-06-12 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130606 12:20]: PBIAS register configuration is based on the regulator voltage which supplies these pbias cells, sd i/o pads. With PBIAS register address and bit definitions different across omap[3,4,5], Simplify PBIAS configuration under three different regulator

Re: [PATCH v2 02/10] mmc: omap_hsmmc: make vcc and vcc_aux independent

2013-06-12 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130612 07:39]: On Wednesday 12 June 2013 07:55 PM, Tony Lindgren wrote: * Balaji T K balaj...@ti.com [130606 12:20]: handle vcc and vcc_aux independently Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c |9 + 1 files

Re: [PATCH v2 08/10] ARM: dts: omap3: split omap3_pmx_core

2013-06-12 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130606 12:20]: omap3_pmx_core: padconf register are in two banks 0x48003000 to 0x48002268 and 0x480025c0 to 0x480025f8. split omap3_pmx_core into 2 banks as register between 0x48002270 and 0x48002564 belongs to type pinctrl-single,bit-per-mux with access to

Re: [PATCH v2 02/14] ARM: OMAP2+: AM43x: Kconfig

2013-06-12 Thread Tony Lindgren
* Afzal Mohammed af...@ti.com [130527 07:41]: --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -149,6 +149,16 @@ config SOC_AM33XX select MULTI_IRQ_HANDLER select COMMON_CLK +config SOC_AM43XX + bool TI AM43x + depends on ARCH_OMAP2PLUS +

Re: [PATCH v2 07/14] ARM: OMAP2+: AM43x: early init

2013-06-12 Thread Tony Lindgren
* Afzal Mohammed af...@ti.com [130527 07:42]: --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c @@ -586,6 +586,20 @@ void __init am33xx_init_early(void) } #endif +#ifdef CONFIG_SOC_AM43XX +void __init am43xx_init_early(void) +{ + omap2_set_globals_tap(AM335X_CLASS, +

Re: [PATCH v2 08/10] ARM: dts: omap3: split omap3_pmx_core

2013-06-12 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130612 10:14]: On Wednesday 12 June 2013 08:05 PM, Tony Lindgren wrote: * Balaji T K balaj...@ti.com [130606 12:20]: omap3_pmx_core: padconf register are in two banks 0x48003000 to 0x48002268 and 0x480025c0 to 0x480025f8. split omap3_pmx_core into 2 banks

Re: [PATCH v2 09/10] ARM: dts: omap3: add pbias and mmc_init pinctrl states

2013-06-12 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130612 10:50]: On Wednesday 12 June 2013 08:05 PM, Tony Lindgren wrote: * Balaji T K balaj...@ti.com [130606 12:20]: add pbias states for pbias 0, 1.8V, 3V add omap3 sd/mmc2 loop back clock config for devconf1 in mmc2_init pinctrl state add OMAP3430 sd/mmc1

Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-10 Thread Tony Lindgren
* Quadros, Roger rog...@ti.com [130610 03:09]: + +static int __init pcs_omap_init(void) +{ + platform_driver_register(pcs_omap_soc_driver); + platform_driver_register(pcs_omap_driver); + + return 0; +} +module_init(pcs_omap_init); It seems this has to be moved to an

Re: [PATCH 4/4] ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap

2013-06-10 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [130607 13:58]: * Tony Lindgren t...@atomide.com [130607 13:56]: Now pinctrl-single-omap can handle the wake-up events for us now as long as the events are configured in the .dts files. This patch I should queue separately, the rest should go via

Re: [PATCH 2/4] pinctrl: single: Add hardware specific hooks for IRQ and GPIO wake-up events

2013-06-10 Thread Tony Lindgren
to sync with his style? Thanks for catching that, yes that's how it should be now. Updated patch below. Regards, Tony From: Tony Lindgren t...@atomide.com Date: Sat, 8 Jun 2013 08:40:35 -0700 Subject: [PATCH] pinctrl: single: Add hardware specific hooks for IRQ and GPIO wake-up events At least

Re: [PATCH 1/4] pinctrl: single: Prepare for supporting SoC specific features

2013-06-08 Thread Tony Lindgren
in the pinctrl tree. Here's a version of this one against current Linux next + Manjunathappa's patches. Regards, Tony From: Tony Lindgren t...@atomide.com Date: Sat, 8 Jun 2013 08:03:07 -0700 Subject: [PATCH] pinctrl: single: Prepare for supporting SoC specific features Let's replace is_pinconf with flags

Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-08 Thread Tony Lindgren
...@ti.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Tony Lindgren t...@atomide.com --- Here's a version of against current Linux next to as also the Makefile entry for sirf had changed. diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl

[PATCH 2/4] pinctrl: single: Add hardware specific hooks for IRQ and GPIO wake-up events

2013-06-07 Thread Tony Lindgren
for the enable and disable calls. Done in collaboration with Roger Quadros rog...@ti.com. Cc: Haojian Zhuang haojian.zhu...@gmail.com Cc: Peter Ujfalusi peter.ujfal...@ti.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Tony Lindgren t

[PATCH 1/4] pinctrl: single: Prepare for supporting SoC specific features

2013-06-07 Thread Tony Lindgren
: Haojian Zhuang haojian.zhu...@gmail.com Cc: Peter Ujfalusi peter.ujfal...@ti.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Tony Lindgren t...@atomide.com --- drivers/pinctrl/pinctrl-single.c | 53

[PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-07 Thread Tony Lindgren
...@ti.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Tony Lindgren t...@atomide.com --- drivers/pinctrl/Makefile |3 drivers/pinctrl/pinctrl-single-omap.c | 287 + include/linux

[PATCH 4/4] ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap

2013-06-07 Thread Tony Lindgren
@lists.ozlabs.org Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/boot/dts/omap3.dtsi |4 ++-- arch/arm/boot/dts/omap4.dtsi |4 ++-- arch/arm/boot/dts/omap5.dtsi |4 ++-- arch/arm/mach-omap2/mux.c|8 ++-- arch/arm

Re: [GIT PULL v2] ARM: dts: OMAP fixes for 3.10-rc5

2013-06-07 Thread Tony Lindgren
* Benoit Cousson b-cous...@ti.com [130603 07:42]: Hi Tony, Please pull three DTS fixes for the next -rc. Thanks pulling into omap-for-v3.10/fixes. Regards, Tony The following changes since commit d683b96b072dc4680fc74964eca77e6a23d1fa6e: Linus Torvalds (1): Linux 3.10-rc4

Re: [PATCH -next] serial: omap: fix potential NULL pointer dereference in serial_omap_runtime_suspend()

2013-06-05 Thread Tony Lindgren
-by: Tony Lindgren t...@atomide.com Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/tty/serial/omap-serial.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 1aaeca8..156b5aa

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

2013-06-05 Thread Tony Lindgren
* Mugunthan V N mugunthan...@ti.com [130530 01:14]: On 5/28/2013 7:35 PM, Mugunthan V N wrote: On 5/28/2013 3:06 AM, Tony Lindgren wrote: * Mugunthan V N mugunthan...@ti.com [130526 11:28]: From: Hebbar Gururaja gururaja.heb...@ti.com Amend cpsw controller to optionally take a pin control

Re: [PATCH 1/3] pinctrl: pinctrl-single: enhance to configure multiple pins of different modules

2013-06-05 Thread Tony Lindgren
. Thanks for fixing this! Looks good to me, and things keep working for me just fine with these applied: Acked-by: Tony Lindgren t...@atomide.com ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo

Re: [PATCH 09/11] mmc: omap_hsmmc: enhance pinctrl support

2013-06-04 Thread Tony Lindgren
* Hebbar Gururaja gururaja.heb...@ti.com [130531 03:19]: Amend the hsmmc controller to optionally take a pin control handle and set the state of the pins to: - default on boot, resume and before performing a mmc transfer - idle after initial default, after resume default, and after each

Re: [PATCH RFC 1/3] clk: omap: introduce clock driver

2013-06-04 Thread Tony Lindgren
* Mike Turquette mturque...@linaro.org [130603 23:45]: Parses OMAP clock data from DT and registers those clocks with the clock framework. dt_omap_clk_init must be called early during boot for timer initialization so it is exported and called from the existing clock code instead of probing

Re: [PATCH RFC 2/3] ARM: dts: omap4 clock data

2013-06-04 Thread Tony Lindgren
* Mike Turquette mturque...@linaro.org [130603 23:45]: This is a first pass at creating a unique node for each clock in the OMAP4 power, reset and clock manager (PRCM). So far I have only converted mux clocks fixed-rate clocks, which coexist with the current clock data in the kernel. The

Re: [PATCH RFC 2/3] ARM: dts: omap4 clock data

2013-06-04 Thread Tony Lindgren
* Mike Turquette mturque...@linaro.org [130604 11:40]: Quoting Tony Lindgren (2013-06-04 07:55:43) * Mike Turquette mturque...@linaro.org [130603 23:45]: This is a first pass at creating a unique node for each clock in the OMAP4 power, reset and clock manager (PRCM). So far I have only

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

2013-06-01 Thread Tony Lindgren
* Andreas Fenkart andreas.fenk...@streamunlimited.com [130531 01:05]: Hi, this email adress will soon expire, my alternate email adress is OK, noticed that the SDIO wake behaves in a different way between wl12xx and mwifiex, and there's an issue with the muxing still for legacy non-SDIO

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

2013-05-29 Thread Tony Lindgren
* Aaro Koskinen aaro.koski...@iki.fi [130529 14:02]: Hi, On Thu, May 23, 2013 at 09:22:04AM +0200, Benoit Cousson wrote: 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.

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

2013-05-27 Thread Tony Lindgren
* Mugunthan V N mugunthan...@ti.com [130526 11:28]: 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

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: [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: [PATCH 2/5] ARM: dts: OMAP2+: create a DT header for GPIO

2013-05-22 Thread Tony Lindgren
* Stephen Warren swar...@wwwdotorg.org [130522 08:32]: On 05/22/2013 08:27 AM, Florian Vaussard wrote: Define the OMAP_GPIO macro to conveniently use GPIO inside OMAP DT. For example: gpios = gpio6 3 0; /* GPIO 163 */ can be replaced by gpios = OMAP_GPIO(163, 0);

Re: [PATCH 4/5] ARM: dts: OMAP3: fix incorrect notation for musb-hdrc interrupt

2013-05-22 Thread Tony Lindgren
* Florian Vaussard florian.vauss...@epfl.ch [130522 07:33]: On OMAP3, the INTC interrupt controller has only 1 cell. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch Thanks a similar fix is already queued up and on it's way to mainline tree. Regards, Tony ---

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

2013-05-22 Thread Tony Lindgren
* Florian Vaussard florian.vauss...@epfl.ch [130522 07:33]: Replace /include/ by #include for OMAP2+ DT, in order to use the C pre-processor, making use of #define features possible. This is good, but let's use it with case. Probably the best use for this right now is to add defines for the mux

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

2013-05-20 Thread Tony Lindgren
* 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 as a gpio while the fclk is off. When the fclk is present it uses the standard SDIO IRQ detection of the

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

2013-05-20 Thread Tony Lindgren
* 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 as a gpio while the fclk is off. When the fclk

Re: [PATCH] ARM: dts: OMAP2+: Simplify NAND support

2013-05-16 Thread Tony Lindgren
* Jon Hunter jon-hun...@ti.com [130430 07:16]: Commit 8c8a777 (ARM: OMAP2+: Add function to read GPMC settings from device-tree) added a device-tree property gpmc,device-nand to indicate is the GPMC child device is NAND. This commit should have updated the GPMC NAND documentation

Re: [PATCHv2] ARM:dts:omap4-panda:Update the LED support for the panda DTS

2013-05-09 Thread Tony Lindgren
* Dan Murphy dmur...@ti.com [130509 11:13]: Can we cleanly append to omap4_pmx_core without overriding the whole node? I don't want to recreate the pmx_core node in the es file. Yes that should work just fine. Regards, Tony ___ devicetree-discuss

Re: [PATCH 0/2] ARM: dts: OMAP36xx/OMAP4460 Fix CPU OPP voltages

2013-05-08 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [130426 10:44]: Hi, It seems that I have not been paying close attention to actual voltage value seen on scope to map it back to verify the validity of the voltage value. Even though I did verify[1] that voltage did scale to values in DT entries, the values in the

Re: [PATCHv2] ARM:dts:omap4-panda:Update the LED support for the panda DTS

2013-05-08 Thread Tony Lindgren
* Dan Murphy dmur...@ti.com [130418 11:35]: On 04/18/2013 04:30 AM, Vincent Stehlé wrote: On 04/17/2013 10:16 PM, Dan Murphy wrote: The GPIO for LED D1 on the omap4-panda a1-a3 rev and the omap4-panda-es are different. (..) diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi

Re: [v2, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-08 Thread Tony Lindgren
* Sekhar Nori nsek...@ti.com [130429 22:11]: On 4/29/2013 1:25 PM, Gupta, Pekon wrote: From: avinash philip avinashphi...@ti.com NAND flash connected in am335x-evm on GPMC controller. This patch adds device tree node in am3355-evm with GPMC contoller timing for NAND flash interface,

Re: [GIT PULL] ARM: OMAP2+: GPMC fixes for v3.10

2013-05-08 Thread Tony Lindgren
* Jon Hunter jon-hun...@ti.com [130430 06:59]: The following changes since commit aecb65a34a780cd07fbaa652cc5d640f13f3ed5f: Merge branch 'omap-gpmc-for-v3.10-take2' of git://github.com/jonhunter/linux into omap-for-v3.10/gpmc (2013-04-04 11:22:33 -0700) are available in the git

Re: [PATCH v3,2/3] ARM: dts: AM33XX: Add GPMC node

2013-05-08 Thread Tony Lindgren
* Gupta, Pekon pe...@ti.com [130502 02:49]: From: Philip, Avinash avinashphi...@ti.com Add GPMC data node to AM33XX device tree file. Signed-off-by: Philip Avinash avinashphi...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Signed-off-by: Pekon Gupta pe...@ti.com Thanks adding into

Re: [PATCH 1/3] ARM: OMAP2+: Legacy support for wl12xx when booted with devicetree

2013-04-26 Thread Tony Lindgren
* Koen Kooi k...@dominion.thruhere.net [130426 02:39]: Op 26 apr. 2013, om 05:52 heeft Tony Lindgren t...@atomide.com het volgende geschreven: Without WLAN we cannot switch omap4 to use device tree only booting. This patch can be reverted when the binding for wl12xx is added. How

Re: [PATCH 2/3] ARM: dts: Add muxing for wl12xx on the SDIO bus for pandaboard

2013-04-26 Thread Tony Lindgren
* Luciano Coelho coe...@ti.com [130426 06:29]: On Thu, 2013-04-25 at 20:52 -0700, Tony Lindgren wrote: This is needed to get wl12xx working with device tree based booting. Note that we claim the various GPIO inputs in the regulator as the proper muxing is needed to enable and disable

[PATCH 1/3] ARM: OMAP2+: Legacy support for wl12xx when booted with devicetree

2013-04-25 Thread Tony Lindgren
Without WLAN we cannot switch omap4 to use device tree only booting. This patch can be reverted when the binding for wl12xx is added. Cc: Luciano Coelho coe...@ti.com Cc: Benoit Cousson b-cous...@ti.com Cc: Rajendra Nayak rna...@ti.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Tony

[PATCH 2/3] ARM: dts: Add muxing for wl12xx on the SDIO bus for pandaboard

2013-04-25 Thread Tony Lindgren
no_regulator_off_init which is really not what we want as then wl12xx won't get powered up and down which is needed for resetting it. Cc: Luciano Coelho coe...@ti.com Cc: Benoit Cousson b-cous...@ti.com Cc: Rajendra Nayak rna...@ti.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Tony

[PATCH 3/3] ARM: dts: Add muxing for wl12xx on the SDIO bus for blaze

2013-04-25 Thread Tony Lindgren
the the panda for what's currently missing. Cc: Luciano Coelho coe...@ti.com Cc: Benoit Cousson b-cous...@ti.com Cc: Rajendra Nayak rna...@ti.com Cc: Ruslan Bilovol ruslan.bilo...@ti.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/boot/dts/omap4

Re: Query on pinctrl usage for DT nodes

2013-04-23 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [130423 00:47]: On 04/16/2013 11:32 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [130415 01:30]: On 04/10/2013 10:34 PM, Tony Lindgren wrote: Yeah how about just change the pintctrl-single,bits register naming to be register + bit

Re: [PATCH] ARM: dts: omap4-panda: Add USB Host support

2013-04-19 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130419 01:23]: On 04/18/2013 11:09 PM, Tony Lindgren wrote: the naming should be mode0name.modename to be consistent. Here's what I dumped out, please check and replace spaces with tabs: 0x82 0x10c

Re: [PATCH v3 0/4] ARM: dts: Add USB host support for Panda and Beagle-xm

2013-04-19 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130419 03:02]: Hi Benoit/Tony I've consolidated all the USB host device tree patches for Panda and Beagles to one place and addressed Tony's comments. NOTE: patch 1 depends on OMAP clock binding introduced in https://lkml.org/lkml/2013/4/12/407 v3: -

Re: [PATCH] ARM: dts: omap4-panda: Add USB Host support

2013-04-18 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130415 01:53]: Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. The USB PHY needs AUXCLK3 to operate. Provide this information as well. Also provide pin multiplexer information for the USB host pins. This

Re: [PATCH] ARM: dts: omap3-beagle-xm: Add USB Host support for Rev Ax/Bx

2013-04-17 Thread Tony Lindgren
* Igor Grinberg grinb...@compulab.co.il [130417 05:31]: On 04/17/13 11:38, Roger Quadros wrote: On 04/17/2013 10:56 AM, Igor Grinberg wrote: On 04/17/13 04:30, Robert Nelson wrote: On Tue, Apr 16, 2013 at 7:52 PM, Tony Lindgren t...@atomide.com wrote: * Roger Quadros rog...@ti.com [130415

Re: [BUG] omap: mfd/regulator: twl/core: init order

2013-04-16 Thread Tony Lindgren
* Grygorii Strashko grygorii.stras...@ti.com [130416 01:39]: On 04/16/2013 10:45 AM, Peter Ujfalusi wrote: On 04/15/2013 06:25 PM, Tony Lindgren wrote: This fix should not be needed. It just means the real problem is somewhere else. Pinctrl is already before the i2c in drivers/Makefile. Maybe

Re: Query on pinctrl usage for DT nodes

2013-04-16 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [130415 01:30]: On 04/10/2013 10:34 PM, Tony Lindgren wrote: Yeah how about just change the pintctrl-single,bits register naming to be register + bit? Something like 0xdeadbeef.0 and 0xdeadbeef.1 and so on. Something like this might work I think

Re: [PATCH] ARM: dts: omap3-beagle-xm: Add USB Host support for Rev Ax/Bx

2013-04-16 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130415 05:44]: On 04/15/2013 03:35 PM, Roger Quadros wrote: Provide RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for USB host pins. This will not work for Rev Cx

Re: [BUG] omap: mfd/regulator: twl/core: init order

2013-04-15 Thread Tony Lindgren
* Grygorii Strashko grygorii.stras...@ti.com [130415 04:05]: On 04/15/2013 01:56 PM, Christoph Fritz wrote: On Mon, 2013-04-15 at 13:20 +0300, Grygorii Strashko wrote: --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -1014,7 +1014,18 @@ static struct

Re: [PATCH V4 1/6] clk: OMAP: introduce device tree binding to kernel clock data

2013-04-13 Thread Tony Lindgren
/drivers/clk/omap/clk.c @@ -0,0 +1,95 @@ +/* + * Texas Instruments OMAP Clock driver + * + * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ + * Nishanth Menon n...@ti.com + * Tony Lindgren t...@atomide.com + * + * This program is free software; you can redistribute

Re: [PATCH V4 1/6] clk: OMAP: introduce device tree binding to kernel clock data

2013-04-12 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [130412 15:59]: --- /dev/null +++ b/drivers/clk/omap/clk.c +/** + * omap_clk_src_get() - Get OMAP clock from node name when needed + * @clkspec: clkspec argument + * @data:unused + * + * REVISIT: We assume the following: + * 1. omap clock names end with

  1   2   3   4   5   >