arm: dts: imx: add aliases for usbotg nodes
Subsystems (2)
PATCH 1/1 arm: dts: imx: add aliases for usbotg nodes
Aliases must be present for USB gadget with DM_USB. Without this, usb_setup_ehci_gadget() fails because it can't find required devices in UCLASS_USB.
--- arch/arm/dts/imx6qdl.dtsi | 1 + arch/arm/dts/imx6sll.dtsi | 2 ++ arch/arm/dts/imx6sx.dtsi | 2 ++ arch/arm/dts/imx6ul.dtsi | 2 ++ arch/arm/dts/imx6ull.dtsi | 2 ++ 5 files changed, 9 insertions(+)
arch/arm/dts/imx6qdl.dtsi +1 -0
@@ -46,6 +46,7 @@ spi3 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; }; clocks {
arch/arm/dts/imx6sll.dtsi +2 -0
@@ -37,6 +37,8 @@ spi4 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; + usb1 = &usbotg2; }; cpus {
arch/arm/dts/imx6sx.dtsi +2 -0
@@ -47,6 +47,8 @@ spi4 = &ecspi5; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; + usb1 = &usbotg2; }; cpus {
arch/arm/dts/imx6ul.dtsi +2 -0
@@ -45,6 +45,8 @@ spi3 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; + usb1 = &usbotg2; }; cpus {
arch/arm/dts/imx6ull.dtsi +2 -0
@@ -44,6 +44,8 @@ spi3 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; + usb1 = &usbotg2; }; cpus {
Signature · 1 line
2.12.2
Quoted 69 lines · Alexey Ignatov
Aliases must be present for USB gadget with
DM_USB. Without this,usb_setup_ehci_gadget()fails because it can't find required devices inUCLASS_USB.Signed-off-by Alexey Ignatov <[email protected]>--- arch/arm/dts/imx6qdl.dtsi | 1 + arch/arm/dts/imx6sll.dtsi | 2 ++ arch/arm/dts/imx6sx.dtsi | 2 ++ arch/arm/dts/imx6ul.dtsi | 2 ++ arch/arm/dts/imx6ull.dtsi | 2 ++ 5 files changed, 9 insertions(+)arch/arm/dts/imx6qdl.dtsi +1
-0@@ -46,6 +46,7 @@ spi3 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; }; clocks {arch/arm/dts/imx6sll.dtsi +2
-0@@ -37,6 +37,8 @@ spi4 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; + usb1 = &usbotg2; }; cpus {arch/arm/dts/imx6sx.dtsi +2
-0@@ -47,6 +47,8 @@ spi4 = &ecspi5; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; + usb1 = &usbotg2; }; cpus {arch/arm/dts/imx6ul.dtsi +2
-0@@ -45,6 +45,8 @@ spi3 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; + usb1 = &usbotg2; }; cpus {arch/arm/dts/imx6ull.dtsi +0
-0
arch/arm/dts/imx6ull.dtsi line 51
Quoted 8 lines
arch/arm/dts/imx6ull.dtsi +2
-0@@ -44,6 +44,8 @@ spi3 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; + usb1 = &usbotg2; }; cpus {
Do these come from the Linux dtsi file or are being pushed there? If not, you need to put it in the -u-boot.dtsi file (but really see about pushing it upstream). Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170426/d84847c3/attachment.sig>
PATCH 1/1 arm: dts: imx: add aliases for usbotg nodes
In reply to Alexey IgnatovHi,
Quoted 10 lines · Alexey Ignatov
Aliases must be present for USB gadget with
DM_USB. Without this,usb_setup_ehci_gadget()fails because it can't find required devices inUCLASS_USB.Signed-off-by Alexey Ignatov <[email protected]>--- arch/arm/dts/imx6qdl.dtsi | 1 + arch/arm/dts/imx6sll.dtsi | 2 ++ arch/arm/dts/imx6sx.dtsi | 2 ++ arch/arm/dts/imx6ul.dtsi | 2 ++
...
Quoted 7 lines
(quoted diff) +0
-0cpus {arch/arm/dts/imx6ul.dtsi +0
-0
arch/arm/dts/imx6ul.dtsi line 52
Quoted 8 lines
arch/arm/dts/imx6ul.dtsi +2
-0@@ -45,6 +45,8 @@ spi3 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg1; + usb1 = &usbotg2; }; cpus {
The imx6ul.dtsi file already has usbotg{0,1} aliases.
http://git.denx.de/?p=u-boot.git;a=commit;h=b3cab814232d3b5e165c09ffad4af5b71bde15f3
Regards,
Signature · 5 lines
Sébastien Szymanski Software Engineer, Armadeus Systems sebastien.szymanski at armadeus.com Tel: +33 (0)9 72 29 41 44 Fax: +33 (0)9 72 28 79 26
PATCH 1/1 arm: dts: imx: add aliases for usbotg nodes
In reply to Alexey IgnatovQuoted 6 lines · Alexey Ignatov
Aliases must be present for USB gadget with
DM_USB. Without this,usb_setup_ehci_gadget()fails because it can't find required devices inUCLASS_USB.Signed-off-by Alexey Ignatov <[email protected]>---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 1/1 arm: dts: imx: add aliases for usbotg nodes
Quoted 11 lines · Stefano Babic
Quoted 6 lines · Alexey Ignatov
Aliases must be present for USB gadget with
DM_USB. Without this,usb_setup_ehci_gadget()fails because it can't find required devices inUCLASS_USB.Signed-off-by Alexey Ignatov <[email protected]>---
Applied to u-boot-imx, thanks !
Sorry, I cannot. This patch is breaking several boards with "Reference to non-existent node or label "usbotg1"" when DTS is compiled:
opos6uldevmx6sllevk_pluginmx6slevk_spinorimx6qdl_icore_rqs_mmc
...
Can you check this, please ?
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 1/1 arm: dts: imx: add aliases for usbotg nodes
Hi,
Quoted 13 lines · Stefano Babic
Quoted 11 lines · Stefano Babic
Quoted 6 lines · Alexey Ignatov
Aliases must be present for USB gadget with
DM_USB. Without this,usb_setup_ehci_gadget()fails because it can't find required devices inUCLASS_USB.Signed-off-by Alexey Ignatov <[email protected]>---
Applied to u-boot-imx, thanks !
Quoted 9 lines
Sorry, I cannot. This patch is breaking several boards with "Reference to non-existent node or label "usbotg1"" when DTS is compiled:
opos6uldev
mx6sllevk_pluginmx6slevk_spinorimx6qdl_icore_rqs_mmc
...
It looks like my comment has been missed.
The imx6ul.dtsi file already has usbotg{0,1} aliases.
Regards,
Quoted 7 lines
Can you check this, please ?
Best regards,
Stefano Babic
Signature · 5 lines
Sébastien Szymanski Software Engineer, Armadeus Systems sebastien.szymanski at armadeus.com Tel: +33 (0)9 72 29 41 44 Fax: +33 (0)9 72 28 79 26
PATCH 1/1 arm: dts: imx: add aliases for usbotg nodes
Quoted 26 lines · Sébastien Szymanski
Hi,
Quoted 13 lines · Stefano Babic
Quoted 11 lines · Stefano Babic
Quoted 6 lines · Alexey Ignatov
Aliases must be present for USB gadget with
DM_USB. Without this,usb_setup_ehci_gadget()fails because it can't find required devices inUCLASS_USB.Signed-off-by Alexey Ignatov <[email protected]>---
Applied to u-boot-imx, thanks !
Quoted 9 lines
Sorry, I cannot. This patch is breaking several boards with "Reference to non-existent node or label "usbotg1"" when DTS is compiled:
opos6uldev
mx6sllevk_pluginmx6slevk_spinorimx6qdl_icore_rqs_mmc
...
Quoted 2 lines
It looks like my comment has been missed.
Theimx6ul.dtsifile already has usbotg{0,1} aliases.
Yes, sorry, I have missed them. Thanks for pointing me in the right direction.
Regards,
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================