linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes
@ 2016-11-21 16:59 Axel Haslam
  2016-11-21 16:59 ` [PATCH 1/2] ARM: dts: da850: Add usb device node Axel Haslam
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Axel Haslam @ 2016-11-21 16:59 UTC (permalink / raw)
  To: nsekhar, khilman, david; +Cc: linux-kernel, linux-arm-kernel, Axel Haslam

This adds the DT node for the ohci controller and
enables it for the omapl138-lckd platform.

DEPENDENCIES:

1. [PATCH v6 0/5] USB: ohci-da8xx: Add device tree support
https://lkml.org/lkml/2016/11/21/558

2. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
https://lkml.org/lkml/2016/11/4/465

Axel Haslam (2):
  ARM: dts: da850: Add usb device node
  ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk

 arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
 arch/arm/boot/dts/da850.dtsi     | 8 ++++++++
 2 files changed, 16 insertions(+)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/2] ARM: dts: da850: Add usb device node
  2016-11-21 16:59 [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes Axel Haslam
@ 2016-11-21 16:59 ` Axel Haslam
  2017-01-05 22:49   ` David Lechner
  2016-11-21 16:59 ` [PATCH 2/2] ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk Axel Haslam
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Axel Haslam @ 2016-11-21 16:59 UTC (permalink / raw)
  To: nsekhar, khilman, david; +Cc: linux-kernel, linux-arm-kernel, Axel Haslam

Add the usb1 device node for the da850 soc.
This will allow boards to use the usb1 port
when booting through DT.

Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
---
 arch/arm/boot/dts/da850.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 1bb1f6d..fbd50d6 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -406,6 +406,14 @@
 					>;
 			status = "disabled";
 		};
+		usb1: usb@225000 {
+			compatible = "ti,da830-ohci";
+			reg = <0x225000 0x1000>;
+			interrupts = <59>;
+			phys = <&usb_phy 1>;
+			phy-names = "usb-phy";
+			status = "disabled";
+		};
 		gpio: gpio@226000 {
 			compatible = "ti,dm6441-gpio";
 			gpio-controller;
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/2] ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk
  2016-11-21 16:59 [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes Axel Haslam
  2016-11-21 16:59 ` [PATCH 1/2] ARM: dts: da850: Add usb device node Axel Haslam
@ 2016-11-21 16:59 ` Axel Haslam
  2016-11-21 17:04 ` [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes David Lechner
  2016-11-22  9:33 ` Sekhar Nori
  3 siblings, 0 replies; 11+ messages in thread
From: Axel Haslam @ 2016-11-21 16:59 UTC (permalink / raw)
  To: nsekhar, khilman, david; +Cc: linux-kernel, linux-arm-kernel, Axel Haslam

Enable the usb1 controller (ohci) and phy for the lcdk board

Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
---
 arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts
index 7b8ab21..a739603 100644
--- a/arch/arm/boot/dts/da850-lcdk.dts
+++ b/arch/arm/boot/dts/da850-lcdk.dts
@@ -86,6 +86,14 @@
 	};
 };
 
+&usb_phy {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
+};
+
 &serial2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&serial2_rxtx_pins>;
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes
  2016-11-21 16:59 [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes Axel Haslam
  2016-11-21 16:59 ` [PATCH 1/2] ARM: dts: da850: Add usb device node Axel Haslam
  2016-11-21 16:59 ` [PATCH 2/2] ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk Axel Haslam
@ 2016-11-21 17:04 ` David Lechner
  2016-11-21 17:29   ` Axel Haslam
  2016-11-22  9:33 ` Sekhar Nori
  3 siblings, 1 reply; 11+ messages in thread
From: David Lechner @ 2016-11-21 17:04 UTC (permalink / raw)
  To: Axel Haslam, nsekhar, khilman; +Cc: linux-kernel, linux-arm-kernel

On 11/21/2016 10:59 AM, Axel Haslam wrote:
> This adds the DT node for the ohci controller and
> enables it for the omapl138-lckd platform.
>
> DEPENDENCIES:
>
> 1. [PATCH v6 0/5] USB: ohci-da8xx: Add device tree support
> https://lkml.org/lkml/2016/11/21/558
>
> 2. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
> https://lkml.org/lkml/2016/11/4/465
>
> Axel Haslam (2):
>   ARM: dts: da850: Add usb device node
>   ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk
>
>  arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
>  arch/arm/boot/dts/da850.dtsi     | 8 ++++++++
>  2 files changed, 16 insertions(+)
>

It does not look like you rebased these patches. Sekhar pushed the musb 
counterpart to v4.10/dt yesterday, which will cause conflicts with this 
series.

https://git.kernel.org/cgit/linux/kernel/git/nsekhar/linux-davinci.git/log/?h=v4.10/dt

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes
  2016-11-21 17:04 ` [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes David Lechner
@ 2016-11-21 17:29   ` Axel Haslam
  2016-11-21 17:45     ` David Lechner
  0 siblings, 1 reply; 11+ messages in thread
From: Axel Haslam @ 2016-11-21 17:29 UTC (permalink / raw)
  To: David Lechner; +Cc: Sekhar Nori, Kevin Hilman, linux-kernel, linux-arm-kernel

On Mon, Nov 21, 2016 at 6:04 PM, David Lechner <david@lechnology.com> wrote:
> On 11/21/2016 10:59 AM, Axel Haslam wrote:
>>
>> This adds the DT node for the ohci controller and
>> enables it for the omapl138-lckd platform.
>>
>> DEPENDENCIES:
>>
>> 1. [PATCH v6 0/5] USB: ohci-da8xx: Add device tree support
>> https://lkml.org/lkml/2016/11/21/558
>>
>> 2. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
>> https://lkml.org/lkml/2016/11/4/465
>>
>> Axel Haslam (2):
>>   ARM: dts: da850: Add usb device node
>>   ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk
>>
>>  arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
>>  arch/arm/boot/dts/da850.dtsi     | 8 ++++++++
>>  2 files changed, 16 insertions(+)
>>
>
> It does not look like you rebased these patches. Sekhar pushed the musb
> counterpart to v4.10/dt yesterday, which will cause conflicts with this
> series.
>
> https://git.kernel.org/cgit/linux/kernel/git/nsekhar/linux-davinci.git/log/?h=v4.10/dt

Hi David,

i verified that they apply to the current linux-davinci/master.
Anyways, i can rebase
and resend once the dependencies are met, and we are ready to merge it.

Regards
Axel.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes
  2016-11-21 17:29   ` Axel Haslam
@ 2016-11-21 17:45     ` David Lechner
  2016-11-21 18:54       ` Axel Haslam
  0 siblings, 1 reply; 11+ messages in thread
From: David Lechner @ 2016-11-21 17:45 UTC (permalink / raw)
  To: Axel Haslam; +Cc: Sekhar Nori, Kevin Hilman, linux-kernel, linux-arm-kernel

On 11/21/2016 11:29 AM, Axel Haslam wrote:
> On Mon, Nov 21, 2016 at 6:04 PM, David Lechner <david@lechnology.com> wrote:
>> On 11/21/2016 10:59 AM, Axel Haslam wrote:
>>>
>>> This adds the DT node for the ohci controller and
>>> enables it for the omapl138-lckd platform.
>>>
>>> DEPENDENCIES:
>>>
>>> 1. [PATCH v6 0/5] USB: ohci-da8xx: Add device tree support
>>> https://lkml.org/lkml/2016/11/21/558
>>>
>>> 2. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
>>> https://lkml.org/lkml/2016/11/4/465
>>>
>>> Axel Haslam (2):
>>>   ARM: dts: da850: Add usb device node
>>>   ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk
>>>
>>>  arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
>>>  arch/arm/boot/dts/da850.dtsi     | 8 ++++++++
>>>  2 files changed, 16 insertions(+)
>>>
>>
>> It does not look like you rebased these patches. Sekhar pushed the musb
>> counterpart to v4.10/dt yesterday, which will cause conflicts with this
>> series.
>>
>> https://git.kernel.org/cgit/linux/kernel/git/nsekhar/linux-davinci.git/log/?h=v4.10/dt
>
> Hi David,
>
> i verified that they apply to the current linux-davinci/master.
> Anyways, i can rebase
> and resend once the dependencies are met, and we are ready to merge it.
>
> Regards
> Axel.
>

OK. I think the first patch is fine, but you will have two &usb_phy {
status = "okay"; }; in da850-lcdk.dts now even if applies cleanly. ;-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes
  2016-11-21 17:45     ` David Lechner
@ 2016-11-21 18:54       ` Axel Haslam
  0 siblings, 0 replies; 11+ messages in thread
From: Axel Haslam @ 2016-11-21 18:54 UTC (permalink / raw)
  To: David Lechner; +Cc: Sekhar Nori, Kevin Hilman, linux-kernel, linux-arm-kernel

On Mon, Nov 21, 2016 at 6:45 PM, David Lechner <david@lechnology.com> wrote:
> On 11/21/2016 11:29 AM, Axel Haslam wrote:
>>
>> On Mon, Nov 21, 2016 at 6:04 PM, David Lechner <david@lechnology.com>
>> wrote:
>>>
>>> On 11/21/2016 10:59 AM, Axel Haslam wrote:
>>>>
>>>>
>>>> This adds the DT node for the ohci controller and
>>>> enables it for the omapl138-lckd platform.
>>>>
>>>> DEPENDENCIES:
>>>>
>>>> 1. [PATCH v6 0/5] USB: ohci-da8xx: Add device tree support
>>>> https://lkml.org/lkml/2016/11/21/558
>>>>
>>>> 2. [PATCH v3 0/2] regulator: handling of error conditions for usb
>>>> drivers
>>>> https://lkml.org/lkml/2016/11/4/465
>>>>
>>>> Axel Haslam (2):
>>>>   ARM: dts: da850: Add usb device node
>>>>   ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk
>>>>
>>>>  arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
>>>>  arch/arm/boot/dts/da850.dtsi     | 8 ++++++++
>>>>  2 files changed, 16 insertions(+)
>>>>
>>>
>>> It does not look like you rebased these patches. Sekhar pushed the musb
>>> counterpart to v4.10/dt yesterday, which will cause conflicts with this
>>> series.
>>>
>>>
>>> https://git.kernel.org/cgit/linux/kernel/git/nsekhar/linux-davinci.git/log/?h=v4.10/dt
>>
>>
>> Hi David,
>>
>> i verified that they apply to the current linux-davinci/master.
>> Anyways, i can rebase
>> and resend once the dependencies are met, and we are ready to merge it.
>>
>> Regards
>> Axel.
>>
>
> OK. I think the first patch is fine, but you will have two &usb_phy {
> status = "okay"; }; in da850-lcdk.dts now even if applies cleanly. ;-)

mmm, right! ill remove it when i resend.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes
  2016-11-21 16:59 [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes Axel Haslam
                   ` (2 preceding siblings ...)
  2016-11-21 17:04 ` [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes David Lechner
@ 2016-11-22  9:33 ` Sekhar Nori
  2016-11-22  9:38   ` Axel Haslam
  3 siblings, 1 reply; 11+ messages in thread
From: Sekhar Nori @ 2016-11-22  9:33 UTC (permalink / raw)
  To: Axel Haslam, khilman, david; +Cc: linux-kernel, linux-arm-kernel

On Monday 21 November 2016 10:29 PM, Axel Haslam wrote:
> This adds the DT node for the ohci controller and
> enables it for the omapl138-lckd platform.
> 
> DEPENDENCIES:
> 
> 1. [PATCH v6 0/5] USB: ohci-da8xx: Add device tree support
> https://lkml.org/lkml/2016/11/21/558

Looks like atleast this series is not merged (checking today's linux-next).

> 
> 2. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
> https://lkml.org/lkml/2016/11/4/465

Can you let me know once the dependencies are merged so I can pick these.

Thanks,
Sekhar

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes
  2016-11-22  9:33 ` Sekhar Nori
@ 2016-11-22  9:38   ` Axel Haslam
  0 siblings, 0 replies; 11+ messages in thread
From: Axel Haslam @ 2016-11-22  9:38 UTC (permalink / raw)
  To: Sekhar Nori; +Cc: Kevin Hilman, David Lechner, linux-kernel, linux-arm-kernel

On Tue, Nov 22, 2016 at 10:33 AM, Sekhar Nori <nsekhar@ti.com> wrote:
> On Monday 21 November 2016 10:29 PM, Axel Haslam wrote:
>> This adds the DT node for the ohci controller and
>> enables it for the omapl138-lckd platform.
>>
>> DEPENDENCIES:
>>
>> 1. [PATCH v6 0/5] USB: ohci-da8xx: Add device tree support
>> https://lkml.org/lkml/2016/11/21/558
>
> Looks like atleast this series is not merged (checking today's linux-next).
>
>>
>> 2. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
>> https://lkml.org/lkml/2016/11/4/465
>
> Can you let me know once the dependencies are merged so I can pick these.

Right, the driver changes are not yet picked up, ill ping once those get in.

Regards
Axel.

>
> Thanks,
> Sekhar

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] ARM: dts: da850: Add usb device node
  2016-11-21 16:59 ` [PATCH 1/2] ARM: dts: da850: Add usb device node Axel Haslam
@ 2017-01-05 22:49   ` David Lechner
  2017-01-06  9:03     ` Axel Haslam
  0 siblings, 1 reply; 11+ messages in thread
From: David Lechner @ 2017-01-05 22:49 UTC (permalink / raw)
  To: Axel Haslam, nsekhar, khilman; +Cc: linux-kernel, linux-arm-kernel

Hi Sekhar,

On 11/21/2016 10:59 AM, Axel Haslam wrote:
> Add the usb1 device node for the da850 soc.
> This will allow boards to use the usb1 port
> when booting through DT.
>
> Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
> ---
>  arch/arm/boot/dts/da850.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
> index 1bb1f6d..fbd50d6 100644
> --- a/arch/arm/boot/dts/da850.dtsi
> +++ b/arch/arm/boot/dts/da850.dtsi
> @@ -406,6 +406,14 @@
>  					>;
>  			status = "disabled";
>  		};
> +		usb1: usb@225000 {
> +			compatible = "ti,da830-ohci";
> +			reg = <0x225000 0x1000>;
> +			interrupts = <59>;
> +			phys = <&usb_phy 1>;
> +			phy-names = "usb-phy";
> +			status = "disabled";
> +		};
>  		gpio: gpio@226000 {
>  			compatible = "ti,dm6441-gpio";
>  			gpio-controller;
>


This patch can be pickup up now. I have just tested with next-20171015 + 
linux-davinci/master.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] ARM: dts: da850: Add usb device node
  2017-01-05 22:49   ` David Lechner
@ 2017-01-06  9:03     ` Axel Haslam
  0 siblings, 0 replies; 11+ messages in thread
From: Axel Haslam @ 2017-01-06  9:03 UTC (permalink / raw)
  To: David Lechner; +Cc: Sekhar Nori, Kevin Hilman, linux-kernel, linux-arm-kernel

On Thu, Jan 5, 2017 at 11:49 PM, David Lechner <david@lechnology.com> wrote:
> Hi Sekhar,
>
> On 11/21/2016 10:59 AM, Axel Haslam wrote:
>>
>> Add the usb1 device node for the da850 soc.
>> This will allow boards to use the usb1 port
>> when booting through DT.
>>
>> Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
>> ---
>>  arch/arm/boot/dts/da850.dtsi | 8 ++++++++
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
>> index 1bb1f6d..fbd50d6 100644
>> --- a/arch/arm/boot/dts/da850.dtsi
>> +++ b/arch/arm/boot/dts/da850.dtsi
>> @@ -406,6 +406,14 @@
>>                                         >;
>>                         status = "disabled";
>>                 };
>> +               usb1: usb@225000 {
>> +                       compatible = "ti,da830-ohci";
>> +                       reg = <0x225000 0x1000>;
>> +                       interrupts = <59>;
>> +                       phys = <&usb_phy 1>;
>> +                       phy-names = "usb-phy";
>> +                       status = "disabled";
>> +               };
>>                 gpio: gpio@226000 {
>>                         compatible = "ti,dm6441-gpio";
>>                         gpio-controller;
>>
>
>
> This patch can be pickup up now. I have just tested with next-20171015 +
> linux-davinci/master.

Yes, the regulator patches, are not actually needed for the lcdk, since
it does not have the over current pin connected to a gpio.

ill resend v2 removing the phy from the dts so that they can be both
applied.

-Axel.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-06  9:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-21 16:59 [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes Axel Haslam
2016-11-21 16:59 ` [PATCH 1/2] ARM: dts: da850: Add usb device node Axel Haslam
2017-01-05 22:49   ` David Lechner
2017-01-06  9:03     ` Axel Haslam
2016-11-21 16:59 ` [PATCH 2/2] ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk Axel Haslam
2016-11-21 17:04 ` [PATCH 0/2] ARM: davinvi: da850 add ohci DT nodes David Lechner
2016-11-21 17:29   ` Axel Haslam
2016-11-21 17:45     ` David Lechner
2016-11-21 18:54       ` Axel Haslam
2016-11-22  9:33 ` Sekhar Nori
2016-11-22  9:38   ` Axel Haslam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).