Re: [PATCH 04/17] phy: omap-usb2: use omap_usb_power_off to power off the PHY during probe

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:49 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: No functional change. Previously omap_control_phy_power() was used to power off the PHY during probe. But once phy-omap-usb2 driver is adapted to use syscon, omap_control_phy_power() cannot be used. Hence used

Re: [PATCH 05/17] phy: omap-usb2: Add a new compatible string for USB2 PHY2

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:50 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: The USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, add a new compatible string. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH 06/17] phy: omap-usb2: use *syscon* framework to power on/off the PHY

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:03 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:51 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to power on/off the PHY, and use *syscon* framework to do the same. This handles powering on/off the PHY for

Re: [PATCH 03/17] phy: ti-pipe3: use *syscon* framework to set PCS value of the PHY

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:48 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to set PCS value of the PHY and start using *syscon* framework to do the same. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH 07/17] usb: musb: omap2430: use *syscon* framework to write to mailbox register

2015-06-24 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: Deprecate using phy-omap-control driver to write to the mailbox register and start using *syscon* framework to do the same. All this stuff needs to go to some generic syscon USB phy driver. Let's not start adding phy specific stuff to a USB

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 14:50:17 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe registers are present. Signed-off-by: Kishon Vijay Abraham I

Re: [PATCH 17/17] ARM: dts: omap4: Use syscon-otghs instead of ctrl-module in USB node

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 03:41:16 -0700 Tony Lindgren t...@atomide.com wrote: * Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -852,12 +852,6 @@ }; }; -

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [150624 04:58]: On Wed, 24 Jun 2015 14:50:17 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe registers

Re: [PATCH 06/17] phy: omap-usb2: use *syscon* framework to power on/off the PHY

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:51 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to power on/off the PHY, and use *syscon* framework to do the same. This handles powering on/off the PHY for the USB2 PHYs used in various TI SoCs. Signed-off-by: Kishon

Re: [PATCH v2] usb: dwc3: pci: make better use of gpiod API

2015-06-24 Thread Heikki Krogerus
On Tue, Jun 23, 2015 at 02:25:06PM +0200, Uwe Kleine-König wrote: Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Use this

Re: [PATCH 17/17] ARM: dts: omap4: Use syscon-otghs instead of ctrl-module in USB node

2015-06-24 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -852,12 +852,6 @@ }; }; - omap_control_usbotg: control-phy@4a00233c { - compatible =

Re: [PATCH 02/17] phy: ti-pipe3: use *syscon* framework to power on/off the PHY

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Tuesday 23 June 2015 08:23 PM, Roger Quadros wrote: Hi Kishon, On Tue, 23 Jun 2015 17:28:47 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to power on/off the PHY and use *syscon* framework to do the same. Signed-off-by: Kishon Vijay Abraham

Re: [PATCH 17/17] ARM: dts: omap4: Use syscon-otghs instead of ctrl-module in USB node

2015-06-24 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [150624 04:23]: On Wednesday 24 June 2015 04:11 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -852,12 +852,6 @@ };

Re: [PATCH V2 4/5] drivers/rtc/rtc-ds1307.c: Support optional wakeup interrupt source

2015-06-24 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [150623 09:21]: With the recent pinctrl-single changes, SoCs such as Texas Instrument's OMAP processors can treat wake-up events from deeper idle states as interrupts. Let's add support for the optional second interrupt for wake-up using the generic wakeirq

Re: [PATCH 11/17] ARM: dts: dra7: Use ti,dra7x-usb2-phy2 compatible string for USB2 PHY2

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:56 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: The USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, use the new compatible string ti,dra7x-usb2-phy2 for the second instance of USB2 PHY.

Re: [PATCH 09/17] ARM: dts: dra7: Use syscon-phy-power instead of ctrl-module in SATA PHY node

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 15:06:02 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:54 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add syscon-phy-power property and remove the deprecated ctrl-module property from SATA PHY node. Since omap_control_sata note is no longer

Re: [PATCH 17/17] ARM: dts: omap4: Use syscon-otghs instead of ctrl-module in USB node

2015-06-24 Thread Kishon Vijay Abraham I
Hi Tony, On Wednesday 24 June 2015 04:11 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -852,12 +852,6 @@ }; }; -

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe registers are present. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/dra7.dtsi |5 + 1 file

Re: [PATCH 09/17] ARM: dts: dra7: Use syscon-phy-power instead of ctrl-module in SATA PHY node

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:54 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add syscon-phy-power property and remove the deprecated ctrl-module property from SATA PHY node. Since omap_control_sata note is no longer used, remove it. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 05:09:39 -0700 Tony Lindgren t...@atomide.com wrote: * Roger Quadros rog...@ti.com [150624 04:58]: On Wed, 24 Jun 2015 14:50:17 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [150624 05:21]: On Wed, 24 Jun 2015 05:09:39 -0700 Tony Lindgren t...@atomide.com wrote: My take is we should only use regmap for the scm_conf area in general. +1 should we get rid of dra7_ctrl_core and dra7_ctrl_general? or move them to scm node?

Re: [PATCH 07/17] usb: musb: omap2430: use *syscon* framework to write to mailbox register

2015-06-24 Thread Kishon Vijay Abraham I
Hi Tony, On Wednesday 24 June 2015 05:19 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: Deprecate using phy-omap-control driver to write to the mailbox register and start using *syscon* framework to do the same. All this stuff needs to go to some generic

Re: [PATCH 07/17] usb: musb: omap2430: use *syscon* framework to write to mailbox register

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:52 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to write to the mailbox register and start using *syscon* framework to do the same. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH 07/17] usb: musb: omap2430: use *syscon* framework to write to mailbox register

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:09 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:52 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to write to the mailbox register and start using *syscon* framework to do the same. Signed-off-by: Kishon

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:26 PM, Roger Quadros wrote: On Wed, 24 Jun 2015 14:50:17 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe

Re: [PATCH 03/17] phy: ti-pipe3: use *syscon* framework to set PCS value of the PHY

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 04:04 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:48 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to set PCS value of the PHY and start using *syscon* framework to do the same. Signed-off-by: Kishon Vijay

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:20 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe registers are present. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

Re: [PATCH 11/17] ARM: dts: dra7: Use ti,dra7x-usb2-phy2 compatible string for USB2 PHY2

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 18:40:31 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Wednesday 24 June 2015 05:37 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:56 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: The USB2 PHY2 has a different register map compared to USB2 PHY1

Re: [PATCH V2 0/5] drivers/rtc/rtc-ds1307.c: Basic cleanups and support for wakeupirq

2015-06-24 Thread Felipe Balbi
Hi, On Tue, Jun 23, 2015 at 11:15:09AM -0500, Nishanth Menon wrote: Hi, Here is the revamp of the patch posted eariler to support wakeupirq. This series does a few cleanups as well prior to introducing the generic apis required to support the wakeirq mechanism used on certain TI SoCs.

[4.2-rc1][PATCH] gpio: omap: add missed spin_unlock_irqrestore in omap_gpio_irq_type

2015-06-24 Thread Grygorii Strashko
From: Grygorii Strashko grygorii.stras...@linaro.org Add missed spin_unlock_irqrestore in omap_gpio_irq_type when omap_set_gpio_triggering() is failed. It fixes static checker warning: drivers/gpio/gpio-omap.c:523 omap_gpio_irq_type() warn: inconsistent returns

Re: [PATCH 11/17] ARM: dts: dra7: Use ti,dra7x-usb2-phy2 compatible string for USB2 PHY2

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:37 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:56 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: The USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, use the new compatible string

Re: [PATCH 09/17] ARM: dts: dra7: Use syscon-phy-power instead of ctrl-module in SATA PHY node

2015-06-24 Thread Kishon Vijay Abraham I
On Wednesday 24 June 2015 05:42 PM, Roger Quadros wrote: On Wed, 24 Jun 2015 15:06:02 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:54 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add syscon-phy-power property and remove the deprecated ctrl-module property from

Re: [PATCH 03/17] phy: ti-pipe3: use *syscon* framework to set PCS value of the PHY

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 18:46:08 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Wednesday 24 June 2015 04:04 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:48 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to set PCS value of the

Re: [PATCH V2 4/5] drivers/rtc/rtc-ds1307.c: Support optional wakeup interrupt source

2015-06-24 Thread Grygorii Strashko
On 06/23/2015 07:15 PM, Nishanth Menon wrote: With the recent pinctrl-single changes, SoCs such as Texas Instrument's OMAP processors can treat wake-up events from deeper idle states as interrupts. Let's add support for the optional second interrupt for wake-up using the generic wakeirq support

Re: [PATCH 05/17] phy: omap-usb2: Add a new compatible string for USB2 PHY2

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 04:33 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:50 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: The USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, add a new compatible string.

Re: [PATCH V2 0/5] drivers/rtc/rtc-ds1307.c: Basic cleanups and support for wakeupirq

2015-06-24 Thread Grygorii Strashko
On 06/24/2015 05:34 PM, Felipe Balbi wrote: Hi, On Tue, Jun 23, 2015 at 11:15:09AM -0500, Nishanth Menon wrote: Hi, Here is the revamp of the patch posted eariler to support wakeupirq. This series does a few cleanups as well prior to introducing the generic apis required to support the

Re: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision

2015-06-24 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150506 04:45]: On Wednesday 06 May 2015 13:04:01 Arnd Bergmann wrote: It needs to be done in this code, so system_rev variable is set properly... What I mean is which code accesses this variable that early? ATAG code is doing it at same

Re: [PATCH 1/2] arm: devtree: Save atags if are in DT atags field

2015-06-24 Thread Tony Lindgren
* Arnd Bergmann a...@arndb.de [150515 13:11]: On Friday 15 May 2015 21:50:06 Pali Rohár wrote: @@ -256,5 +257,10 @@ const struct machine_desc * __init setup_machine_fdt(unsigned int dt_phys) system_rev = 0; } + /* Save atags */ + prop =

Re: [PATCH 2/2] arm: boot: store ATAG structure into DT atags field

2015-06-24 Thread Tony Lindgren
* Arnd Bergmann a...@arndb.de [150515 13:23]: On Friday 15 May 2015 22:16:24 Pali Rohár wrote: On Friday 15 May 2015 22:12:41 Arnd Bergmann wrote: On Friday 15 May 2015 21:50:07 Pali Rohár wrote: } } + /* include the terminating

Re: [PATCH V2 4/5] drivers/rtc/rtc-ds1307.c: Support optional wakeup interrupt source

2015-06-24 Thread Nishanth Menon
On 06/24/2015 10:36 AM, Grygorii Strashko wrote: On 06/23/2015 07:15 PM, Nishanth Menon wrote: [...] +ds1307-wakeirq = of_irq_get(node, 1); +if (ds1307-wakeirq = 0) { +if (ds1307-wakeirq == -EPROBE_DEFER) { +err =

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-06-24 Thread Vinod Koul
On Mon, Jun 22, 2015 at 02:31:00PM +0300, Peter Ujfalusi wrote: On 06/12/2015 03:58 PM, Vinod Koul wrote: Sorry this slipped thru I was away for a week anyways ;) Thinking about it again, I think we should coverge to two APIs and mark the legacy depracuated and look to convert folks

Re: [PATCH V2 4/5] drivers/rtc/rtc-ds1307.c: Support optional wakeup interrupt source

2015-06-24 Thread Grygorii Strashko
On 06/24/2015 07:07 PM, Nishanth Menon wrote: On 06/24/2015 10:36 AM, Grygorii Strashko wrote: On 06/23/2015 07:15 PM, Nishanth Menon wrote: [...] + ds1307-wakeirq = of_irq_get(node, 1); + if (ds1307-wakeirq = 0) { + if (ds1307-wakeirq ==

Re: [PATCH V2 4/5] drivers/rtc/rtc-ds1307.c: Support optional wakeup interrupt source

2015-06-24 Thread Nishanth Menon
On 11:07-20150624, Nishanth Menon wrote: On 06/24/2015 10:36 AM, Grygorii Strashko wrote: On 06/23/2015 07:15 PM, Nishanth Menon wrote: [...] + ds1307-wakeirq = of_irq_get(node, 1); + if (ds1307-wakeirq = 0) { + if (ds1307-wakeirq == -EPROBE_DEFER

[PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node.

2015-06-24 Thread Mugunthan V N
From: Sourav Poddar sourav.pod...@ti.com Add clock node for qspi controller driver on am437x. Cc: Keerthy j-keer...@ti.com Cc: Tero Kristo t-kri...@ti.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am4372.dtsi