Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6*-hummingboard: use proper gpio flags definitions

Use proper gpio flag definitions for GPIOs rather than using opaque
uninformative numbers.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Russell King and committed by
Shawn Guo
1041f98f 4adf3d6e

+3 -3
+3 -3
arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
··· 48 48 49 49 ir_recv: ir-receiver { 50 50 compatible = "gpio-ir-receiver"; 51 - gpios = <&gpio3 5 1>; 51 + gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; 52 52 pinctrl-names = "default"; 53 53 pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>; 54 54 }; ··· 67 67 reg_usbh1_vbus: usb-h1-vbus { 68 68 compatible = "regulator-fixed"; 69 69 enable-active-high; 70 - gpio = <&gpio1 0 0>; 70 + gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>; 71 71 pinctrl-names = "default"; 72 72 pinctrl-0 = <&pinctrl_hummingboard_usbh1_vbus>; 73 73 regulator-name = "usb_h1_vbus"; ··· 78 78 reg_usbotg_vbus: usb-otg-vbus { 79 79 compatible = "regulator-fixed"; 80 80 enable-active-high; 81 - gpio = <&gpio3 22 0>; 81 + gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; 82 82 pinctrl-names = "default"; 83 83 pinctrl-0 = <&pinctrl_hummingboard_usbotg_vbus>; 84 84 regulator-name = "usb_otg_vbus";