[PATCH 1/3] phycore-imx8mp: add USB host support

Fabio Estevam festevam at gmail.com
Tue Jan 30 13:36:42 CET 2024


Hi Benjamin,

On Mon, Jan 29, 2024 at 4:56 AM Benjamin Hahn <B.Hahn at phytec.de> wrote:

> diff --git a/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi b/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi
> index 1c7b250549..5d6974f8fa 100644
> --- a/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi
> @@ -70,6 +70,19 @@
>         bootph-pre-ram;
>  };
>
> +&usb3_1 {
> +       status = "okay";
> +       dr_mode = "host";
> +};
> +
> +&usb_dwc3_1 {
> +       status = "okay";
> +};
> +
> +&usb3_phy1 {
> +       status = "okay";
> +};

Why are these USB nodes being added to -u-boot.dtsi?

These nodes are already present in  the kernel dts:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts?h=v6.8-rc2#n169

Please add a patch to the series that syncs
imx8mp-phyboard-pollux-rdk.dts with the upstream version, then you
don't need to touch u-boot.dtsi.


More information about the U-Boot mailing list