[PATCH 1/1] ARM: dtsi: imx6qdl-sabresd: Add USB host 1 VBUS regulator

Fabio Estevam festevam at gmail.com
Thu Aug 8 22:22:43 EDT 2013


On Thu, Aug 8, 2013 at 9:23 PM, Peter Chen <peter.chen at freescale.com> wrote:
> We enabled USB host 1, so host 1's vbus should be on to let
> host 1 work.
>
> Signed-off-by: Peter Chen <peter.chen at freescale.com>
> ---
>  arch/arm/boot/dts/imx6qdl-sabresd.dtsi |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> index 6e5dfdb..6e9d4d7 100644
> --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> @@ -27,6 +27,15 @@
>                         enable-active-high;
>                 };
>
> +               reg_usb_h1_vbus: usb_h1_vbus {
> +                       compatible = "regulator-fixed";
> +                       regulator-name = "usb_h1_vbus";
> +                       regulator-min-microvolt = <5000000>;
> +                       regulator-max-microvolt = <5000000>;
> +                       gpio = <&gpio1 29 0>;

You should also add en entry into pinctrl_hog for this gpio.



More information about the linux-arm-kernel mailing list