[Uboot-stm32] [PATCH] ARM: dts: stm32mp: remove hnp-srp-disable for usbotg on dk1

Patrice CHOTARD patrice.chotard at st.com
Thu Jul 2 10:19:55 CEST 2020


Hi Patrick

On 7/1/20 1:10 PM, Patrick Delaunay wrote:
> Remove hnp-srp-disable for usbotg node because this feature is only needed
> for usbotg in HOST mode (in drivers/usb/host/dwc2.c)
> and this feature is not activated in stm32mp15 U-Boot
> (stm32mp15_basic_defconfig and stm32mp15_trusted_defconfig);
> only the device mode is activated and OTG is not supported in DWC2 driver.
>
> This patch reduces the difference between U-Boot and Linux kernel
> device-tree.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
>  arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
> index e13dade463..6e4e4922ab 100644
> --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
> @@ -203,5 +203,4 @@
>  
>  &usbotg_hs {
>  	u-boot,force-b-session-valid;
> -	hnp-srp-disable;
>  };

Reviewed-by: Patrice Chotard <patrice.chotard at st.com>

Thanks


More information about the U-Boot mailing list