diff options
author | Harald Seiler <hws@denx.de> | 2020-04-16 10:52:19 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-04-18 13:00:35 +0200 |
commit | 2c8627110e0c3eace3c5daab4e437dd989f3cf49 (patch) | |
tree | 863a93fafbe4f3e888b96c936de1e9b248279c02 /arch | |
parent | 15df6b31b62671d4e2347131bdbf4c07a305cab1 (diff) | |
download | u-boot-2c8627110e0c3eace3c5daab4e437dd989f3cf49.zip u-boot-2c8627110e0c3eace3c5daab4e437dd989f3cf49.tar.gz u-boot-2c8627110e0c3eace3c5daab4e437dd989f3cf49.tar.bz2 |
ARM: imx6: DHCOM i.MX6 PDK: Fix usb-otg VBUS regulator
During the conversion of this board to DM_REGULATOR, usb-mass-storage
was broken and started failing with the following error:
=> ums 0 mmc 2
UMS: LUN 0, dev 2, hwpart 0, sector 0x0, count 0xe90000
Error enabling VBUS supply
g_dnl_register: failed!, error: -38
g_dnl_register failed
Fix this by adding the relevant GPIO to the regulator node.
Fixes: 4ca99fe81aea ("ARM: imx: dh-imx6: Enable DM regulator")
Signed-off-by: Harald Seiler <hws@denx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi b/arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi index a54e421..32128d4 100644 --- a/arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi +++ b/arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi @@ -3,6 +3,8 @@ * Copyright (C) 2020 Harald Seiler <hws@denx.de> */ +#include "imx6qdl-dhcom-u-boot.dtsi" + / { fec_vio: regulator-fec { compatible = "regulator-fixed"; diff --git a/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi new file mode 100644 index 0000000..4c3b5e8 --- /dev/null +++ b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: (GPL-2.0+) +/* + * Copyright (C) 2020 Harald Seiler <hws@denx.de> + */ + +®_usb_otg_vbus { + gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>; + enable-active-high; +}; |