[PATCH 5/6] arm64: dts: imx8mp-evk: enable usb1 as host mode
Jun Li
jun.li at nxp.com
Tue Jun 23 08:37:34 EDT 2020
> > +
> > + reg_usb1_host_vbus: regulator-usb1-vbus {
> > + compatible = "regulator-fixed";
> > + regulator-name = "usb1_host_vbus";
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_usb1_vbus>;
> > + regulator-min-microvolt = <5000000>;
> > + regulator-max-microvolt = <5000000>;
> > + gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
> > + enable-active-high;
> > + regulator-always-on;
>
> Instead of having it regulator-always-on, it should be controlled by usb device,
> right?
Right, I will try to use that pin as usb power function instead of
GPIO(regulator) for vbus control in v2.
Thanks
Li Jun
More information about the linux-arm-kernel
mailing list