From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] arm: dts: imx: add aliases for usbotg nodes
Date: Wed, 26 Apr 2017 15:12:56 -0400 [thread overview]
Message-ID: <20170426191256.GA3132@bill-the-cat> (raw)
In-Reply-To: <20170424212052.11496-1-lexszero@gmail.com>
On Tue, Apr 25, 2017 at 12:20:52AM +0300, Alexey Ignatov wrote:
> 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.
>
> Signed-off-by: Alexey Ignatov <lexszero@gmail.com>
> ---
> 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(+)
>
> diff --git a/arch/arm/dts/imx6qdl.dtsi b/arch/arm/dts/imx6qdl.dtsi
> index b13b0b2db8..1253d14b18 100644
> --- a/arch/arm/dts/imx6qdl.dtsi
> +++ b/arch/arm/dts/imx6qdl.dtsi
> @@ -46,6 +46,7 @@
> spi3 = &ecspi4;
> usbphy0 = &usbphy1;
> usbphy1 = &usbphy2;
> + usb0 = &usbotg1;
> };
>
> clocks {
> diff --git a/arch/arm/dts/imx6sll.dtsi b/arch/arm/dts/imx6sll.dtsi
> index 349c47a03a..95c04edfb7 100644
> --- a/arch/arm/dts/imx6sll.dtsi
> +++ b/arch/arm/dts/imx6sll.dtsi
> @@ -37,6 +37,8 @@
> spi4 = &ecspi4;
> usbphy0 = &usbphy1;
> usbphy1 = &usbphy2;
> + usb0 = &usbotg1;
> + usb1 = &usbotg2;
> };
>
> cpus {
> diff --git a/arch/arm/dts/imx6sx.dtsi b/arch/arm/dts/imx6sx.dtsi
> index 1a473e83ef..99e8f0a4df 100644
> --- a/arch/arm/dts/imx6sx.dtsi
> +++ b/arch/arm/dts/imx6sx.dtsi
> @@ -47,6 +47,8 @@
> spi4 = &ecspi5;
> usbphy0 = &usbphy1;
> usbphy1 = &usbphy2;
> + usb0 = &usbotg1;
> + usb1 = &usbotg2;
> };
>
> cpus {
> diff --git a/arch/arm/dts/imx6ul.dtsi b/arch/arm/dts/imx6ul.dtsi
> index c5c05fdccc..0b27ba85a0 100644
> --- a/arch/arm/dts/imx6ul.dtsi
> +++ b/arch/arm/dts/imx6ul.dtsi
> @@ -45,6 +45,8 @@
> spi3 = &ecspi4;
> usbphy0 = &usbphy1;
> usbphy1 = &usbphy2;
> + usb0 = &usbotg1;
> + usb1 = &usbotg2;
> };
>
> cpus {
> diff --git a/arch/arm/dts/imx6ull.dtsi b/arch/arm/dts/imx6ull.dtsi
> index 65950e8019..61ce305428 100644
> --- a/arch/arm/dts/imx6ull.dtsi
> +++ b/arch/arm/dts/imx6ull.dtsi
> @@ -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!
--
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>
next prev parent reply other threads:[~2017-04-26 19:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-24 21:20 [U-Boot] [PATCH] arm: dts: imx: add aliases for usbotg nodes Alexey Ignatov
2017-04-26 19:12 ` Tom Rini [this message]
2017-04-27 7:53 ` Sébastien Szymanski
2017-05-18 8:53 ` Stefano Babic
2017-05-18 10:13 ` Stefano Babic
2017-05-18 10:28 ` Sébastien Szymanski
2017-05-18 10:26 ` Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170426191256.GA3132@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox