Re: [RFC 4/5] ARM: tegra: Enable UDC on Dalmore
On Thu, May 26, 2016 at 05:40:04PM +0200, Thierry Reding wrote: > From: Thierry Reding> > Override the compatible string of the first USB controller to enable > device mode. > > Signed-off-by: Thierry Reding > --- > arch/arm/boot/dts/tegra114-dalmore.dts | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts > b/arch/arm/boot/dts/tegra114-dalmore.dts > index c970bf65c74c..53d664f718ff 100644 > --- a/arch/arm/boot/dts/tegra114-dalmore.dts > +++ b/arch/arm/boot/dts/tegra114-dalmore.dts > @@ -1122,6 +1122,17 @@ > non-removable; > }; > > + usb@7d00 { > + compatible = "nvidia,tegra114-udc"; > + status = "okay"; > + dr_mode = "otg"; > + }; > + > + usb-phy@7d00 { > + status = "okay"; > + dr_mode = "otg"; > + }; > + It is a USB PHY node, you don't need to set dr_mode for it. -- Best Regards, Peter Chen
Re: [RFC 4/5] ARM: tegra: Enable UDC on Dalmore
On Thu, May 26, 2016 at 05:40:04PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Override the compatible string of the first USB controller to enable > device mode. > > Signed-off-by: Thierry Reding > --- > arch/arm/boot/dts/tegra114-dalmore.dts | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts > b/arch/arm/boot/dts/tegra114-dalmore.dts > index c970bf65c74c..53d664f718ff 100644 > --- a/arch/arm/boot/dts/tegra114-dalmore.dts > +++ b/arch/arm/boot/dts/tegra114-dalmore.dts > @@ -1122,6 +1122,17 @@ > non-removable; > }; > > + usb@7d00 { > + compatible = "nvidia,tegra114-udc"; > + status = "okay"; > + dr_mode = "otg"; > + }; > + > + usb-phy@7d00 { > + status = "okay"; > + dr_mode = "otg"; > + }; > + It is a USB PHY node, you don't need to set dr_mode for it. -- Best Regards, Peter Chen
[RFC 4/5] ARM: tegra: Enable UDC on Dalmore
From: Thierry RedingOverride the compatible string of the first USB controller to enable device mode. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra114-dalmore.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index c970bf65c74c..53d664f718ff 100644 --- a/arch/arm/boot/dts/tegra114-dalmore.dts +++ b/arch/arm/boot/dts/tegra114-dalmore.dts @@ -1122,6 +1122,17 @@ non-removable; }; + usb@7d00 { + compatible = "nvidia,tegra114-udc"; + status = "okay"; + dr_mode = "otg"; + }; + + usb-phy@7d00 { + status = "okay"; + dr_mode = "otg"; + }; + usb@7d008000 { status = "okay"; }; -- 2.8.3
[RFC 4/5] ARM: tegra: Enable UDC on Dalmore
From: Thierry Reding Override the compatible string of the first USB controller to enable device mode. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra114-dalmore.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index c970bf65c74c..53d664f718ff 100644 --- a/arch/arm/boot/dts/tegra114-dalmore.dts +++ b/arch/arm/boot/dts/tegra114-dalmore.dts @@ -1122,6 +1122,17 @@ non-removable; }; + usb@7d00 { + compatible = "nvidia,tegra114-udc"; + status = "okay"; + dr_mode = "otg"; + }; + + usb-phy@7d00 { + status = "okay"; + dr_mode = "otg"; + }; + usb@7d008000 { status = "okay"; }; -- 2.8.3