* [PATCH] ARM: dts: i.MX8MP: add dual-role usb-type-c PORT1 support
@ 2023-03-22 21:03 Marco Felsch
2023-03-24 12:19 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Marco Felsch @ 2023-03-22 21:03 UTC (permalink / raw)
To: barebox
Enable the dual-role support locally till we have upstream devicetree
support. By this patch and with the recent usb-otg patches from Sascha
usbgadget/fastboot does work now on the i.MX8MP-EVK as well.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
arch/arm/dts/imx8mp-evk.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm/dts/imx8mp-evk.dts b/arch/arm/dts/imx8mp-evk.dts
index c7e1f35d2d..0376743068 100644
--- a/arch/arm/dts/imx8mp-evk.dts
+++ b/arch/arm/dts/imx8mp-evk.dts
@@ -60,6 +60,23 @@
off-on-delay-us = <20000>;
};
+&usb3_phy0 {
+ status = "okay";
+};
+
+&usb3_0 {
+ status = "okay";
+};
+
+&usb_dwc3_0 {
+ dr_mode = "otg";
+ hnp-disable;
+ srp-disable;
+ adp-disable;
+ usb-role-switch;
+ status = "okay";
+};
+
&usdhc2 {
#address-cells = <1>;
#size-cells = <1>;
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: i.MX8MP: add dual-role usb-type-c PORT1 support
2023-03-22 21:03 [PATCH] ARM: dts: i.MX8MP: add dual-role usb-type-c PORT1 support Marco Felsch
@ 2023-03-24 12:19 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-03-24 12:19 UTC (permalink / raw)
To: Marco Felsch; +Cc: barebox
On Wed, Mar 22, 2023 at 10:03:22PM +0100, Marco Felsch wrote:
> Enable the dual-role support locally till we have upstream devicetree
> support. By this patch and with the recent usb-otg patches from Sascha
> usbgadget/fastboot does work now on the i.MX8MP-EVK as well.
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> arch/arm/dts/imx8mp-evk.dts | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/arch/arm/dts/imx8mp-evk.dts b/arch/arm/dts/imx8mp-evk.dts
> index c7e1f35d2d..0376743068 100644
> --- a/arch/arm/dts/imx8mp-evk.dts
> +++ b/arch/arm/dts/imx8mp-evk.dts
> @@ -60,6 +60,23 @@
> off-on-delay-us = <20000>;
> };
>
> +&usb3_phy0 {
> + status = "okay";
> +};
> +
> +&usb3_0 {
> + status = "okay";
> +};
> +
> +&usb_dwc3_0 {
> + dr_mode = "otg";
> + hnp-disable;
> + srp-disable;
> + adp-disable;
> + usb-role-switch;
> + status = "okay";
> +};
> +
> &usdhc2 {
> #address-cells = <1>;
> #size-cells = <1>;
> --
> 2.30.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-24 12:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22 21:03 [PATCH] ARM: dts: i.MX8MP: add dual-role usb-type-c PORT1 support Marco Felsch
2023-03-24 12:19 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox