ARM: davinvi: da850 add ohci DT nodes
cover ARM: davinvi: da850 add ohci DT nodes
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(+)
Signature · 1 line
2.9.3
PATCH 1/2 ARM: dts: da850: Add usb device node
Add the usb1 device node for the da850 soc.
This will allow boards to use the usb1 port
when booting through DT.
--- arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/da850.dtsi +8 -0
@@ -406,6 +406,14 @@ >; status = "disabled"; }; + usb1: usb at 225000 { + compatible = "ti,da830-ohci"; + reg = <0x225000 0x1000>; + interrupts = <59>; + phys = <&usb_phy 1>; + phy-names = "usb-phy"; + status = "disabled"; + }; gpio: gpio at 226000 { compatible = "ti,dm6441-gpio"; gpio-controller;
Signature · 1 line
2.9.3
PATCH 2/2 ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk
In reply to Axel HaslamEnable the usb1 controller (ohci) and phy for the lcdk board
--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/da850-lcdk.dts +8 -0
@@ -86,6 +86,14 @@ }; }; +&usb_phy { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; + &serial2 { pinctrl-names = "default"; pinctrl-0 = <&serial2_rxtx_pins>;
Signature · 1 line
2.9.3
Quoted 11 lines · 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/5582. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
https://lkml.org/lkml/2016/11/4/465
Quoted 8 lines
Axel Haslam (2):
ARM: dts: da850: Add usb device node
ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdkarch/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
Quoted 22 lines · David Lechner
Quoted 12 lines · 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/5582. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
https://lkml.org/lkml/2016/11/4/465Quoted 8 lines
Axel Haslam (2):
ARM: dts: da850: Add usb device node
ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdkarch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 2 files changed, 16 insertions(+)
Quoted 5 lines
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.
Quoted 29 lines · Axel Haslam
Quoted 22 lines · David Lechner
Quoted 12 lines · 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/5582. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
https://lkml.org/lkml/2016/11/4/465Quoted 8 lines
Axel Haslam (2):
ARM: dts: da850: Add usb device node
ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdkarch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 2 files changed, 16 insertions(+)Quoted 5 lines
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
Quoted 9 lines
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. ;-)
Quoted 43 lines · David Lechner
Quoted 42 lines · Axel Haslam
Quoted 25 lines · David Lechner
Quoted 14 lines · 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/5582. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
https://lkml.org/lkml/2016/11/4/465Quoted 8 lines
Axel Haslam (2):
ARM: dts: da850: Add usb device node
ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdkarch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 2 files changed, 16 insertions(+)Quoted 6 lines
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.
Quoted 6 lines
Quoted 3 lines
Regards
Axel.OK. I think the first patch is fine, but you will have two
&usb_phy{ status = "okay"; }; inda850-lcdk.dtsnow even if applies cleanly. ;-)
mmm, right! ill remove it when i resend.
Quoted 7 lines · 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
Looks like atleast this series is not merged (checking today's linux-next).
Quoted 3 lines
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
Quoted 9 lines · Sekhar Nori
Quoted 7 lines · 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
Quoted 7 lines
Looks like atleast this series is not merged (checking today's linux-next).
Quoted 3 lines
2. [PATCH v3 0/2] regulator: handling of error conditions for usb drivers
https://lkml.org/lkml/2016/11/4/465Can 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.
Quoted 3 lines
Thanks,
Sekhar
Re: [PATCH 1/2] ARM: dts: da850: Add usb device node
In reply to Axel HaslamHi Sekhar,
Quoted 19 lines · 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 <[email protected]>--- arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +1
-0@@ -406,6 +406,14 @@ >; status = "disabled"; }; + usb1: usb at 225000 {
arch/arm/boot/dts/da850.dtsi line 419
Quoted 10 lines
arch/arm/boot/dts/da850.dtsi +7
-0+ compatible = "ti,da830-ohci"; + reg = <0x225000 0x1000>; + interrupts = <59>; + phys = <&usb_phy 1>; + phy-names = "usb-phy"; + status = "disabled"; + }; gpio: gpio at 226000 { compatible = "ti,dm6441-gpio"; gpio-controller;
This patch can be pickup up now. I have just tested with next-20171015 + linux-davinci/master.
Re: [PATCH 1/2] ARM: dts: da850: Add usb device node
Quoted 29 lines · David Lechner
Hi Sekhar,
Quoted 26 lines · 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 <[email protected]>--- arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +8
-0@@ -406,6 +406,14 @@ >; status = "disabled"; }; + usb1: usb at 225000 { + compatible = "ti,da830-ohci"; + reg = <0x225000 0x1000>; + interrupts = <59>; + phys = <&usb_phy 1>; + phy-names = "usb-phy"; + status = "disabled"; + };
Quoted 8 lines
arch/arm/boot/dts/da850.dtsi line 419
Quoted 4 lines
arch/arm/boot/dts/da850.dtsi +0
-0gpio: gpio at 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.