diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-11-28 15:03:16 +0000 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-12-26 16:15:44 +0800 |
commit | 4607135cc05a34f0297e81162135b979550ae9ff (patch) | |
tree | 2217084881bbe186189c46b9d14a3314e1a905d9 /arch | |
parent | 88ce7253daf8613f1db0a628118ce0a8ff64349b (diff) | |
download | linux-4607135cc05a34f0297e81162135b979550ae9ff.tar.bz2 |
ARM: dts: imx6qdl-cubox-i: update GPIO specification
Fabio Estevam suggested using GPIO_ACTIVE_HIGH in the gpio specification
for the USB regulators. Change them to conform.
Suggested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi index ca04ec56d2af..d1cfdc264126 100644 --- a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi +++ b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi @@ -73,7 +73,7 @@ v_usb2: regulator-v-usb2 { compatible = "regulator-fixed"; enable-active-high; - gpio = <&gpio1 0 0>; + gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_cubox_i_usbh1_vbus>; regulator-max-microvolt = <5000000>; @@ -85,7 +85,7 @@ v_usb1: regulator-v-usb1 { compatible = "regulator-fixed"; enable-active-high; - gpio = <&gpio3 22 0>; + gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_cubox_i_usbotg_vbus>; regulator-max-microvolt = <5000000>; |