Ver Fonte

treewide: gpio to gpios

The former is deprecated.

Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20116
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev há 3 meses atrás
pai
commit
5572d35f77

+ 1 - 1
target/linux/ath79/dts/ar9344_nec_aterm.dtsi

@@ -129,7 +129,7 @@
 		regulator-name = "usb-vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&gpio 20 GPIO_ACTIVE_HIGH>;
+		gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 		regulator-always-on;
 	};

+ 1 - 1
target/linux/mediatek/dts/mt7981b-openfi-6c.dts

@@ -98,7 +98,7 @@
 		regulator-name = "usb_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&pio 8 GPIO_ACTIVE_LOW>;
+		gpios = <&pio 8 GPIO_ACTIVE_LOW>;
 		regulator-boot-on;
 	};
 };

+ 4 - 4
target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-wd_cloud-mirror-gen2.dts

@@ -264,7 +264,7 @@
 		regulator-max-microvolt = <5000000>;
 		enable-active-high;
 		regulator-always-on;
-		gpio = <&gpio0 26 GPIO_ACTIVE_HIGH>;
+		gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
 	};
 
 	reg_usb3_1_vbus: usb3-vbus1 {
@@ -276,7 +276,7 @@
 		regulator-max-microvolt = <5000000>;
 		enable-active-high;
 		regulator-always-on;
-		gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>;
+		gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
 	};
 
 	reg_sata0: pwr-sata0 {
@@ -286,7 +286,7 @@
 		regulator-max-microvolt = <12000000>;
 		enable-active-high;
 		regulator-boot-on;
-		gpio = <&gpio1 23 GPIO_ACTIVE_HIGH>;
+		gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
 	};
 
 	reg_5v_sata0: v5-sata0 {
@@ -312,7 +312,7 @@
 		regulator-max-microvolt = <12000000>;
 		enable-active-high;
 		regulator-boot-on;
-		gpio = <&gpio1 24 GPIO_ACTIVE_HIGH>;
+		gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
 	};
 
 	reg_5v_sata1: v5-sata1 {

+ 2 - 2
target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-rb5009.dts

@@ -34,7 +34,7 @@
 		regulator-name = "usb3_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&cp0_gpio2 23 GPIO_ACTIVE_HIGH>;
+		gpios = <&cp0_gpio2 23 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 	};
 
@@ -43,7 +43,7 @@
 		regulator-name = "LED-power";
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
-		gpio = <&cp0_gpio2 27 GPIO_ACTIVE_HIGH>;
+		gpios = <&cp0_gpio2 27 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 		regulator-boot-on;
 	};

+ 6 - 6
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ax6000.dts

@@ -51,37 +51,37 @@
 		led_wlan_green: wlan-green {
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WLAN;
-			gpio = <&tlmm 23 GPIO_ACTIVE_HIGH>;
+			gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_system_blue: system-blue {
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_POWER;
-			gpio = <&tlmm 24 GPIO_ACTIVE_HIGH>;
+			gpios = <&tlmm 24 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_system_yellow: system-yellow {
 			color = <LED_COLOR_ID_YELLOW>;
 			function = LED_FUNCTION_POWER;
-			gpio = <&tlmm 25 GPIO_ACTIVE_HIGH>;
+			gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_net_blue: net-blue {
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_WAN_ONLINE;
-			gpio = <&tlmm 26 GPIO_ACTIVE_HIGH>;
+			gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_net_yellow: net-yellow {
 			color = <LED_COLOR_ID_YELLOW>;
 			function = LED_FUNCTION_WAN;
-			gpio = <&tlmm 27 GPIO_ACTIVE_HIGH>;
+			gpios = <&tlmm 27 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_phy_green: phy-green {
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_LAN;
-			gpio = <&tlmm 28 GPIO_ACTIVE_HIGH>;
+			gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>;
 		};
 	};
 

+ 2 - 2
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts

@@ -46,13 +46,13 @@
 		led_system_blue: system-blue {
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_STATUS;
-			gpio = <&tlmm 24 GPIO_ACTIVE_HIGH>;
+			gpios = <&tlmm 24 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_status_white: status-white {
 			color = <LED_COLOR_ID_WHITE>;
 			function = LED_FUNCTION_STATUS;
-			gpio = <&tlmm 23 GPIO_ACTIVE_HIGH>;
+			gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
 		};
 	};
 

+ 1 - 1
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts

@@ -24,7 +24,7 @@
 		regulator-min-microvolt = <500000>;
 		regulator-max-microvolt = <500000>;
 		regulator-name = "fixed_5p0";
-		gpio = <&tlmm 17 GPIO_ACTIVE_LOW>;
+		gpios = <&tlmm 17 GPIO_ACTIVE_LOW>;
 	};
 };
 

+ 1 - 1
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6000-gl-axt1800.dts

@@ -27,7 +27,7 @@
 		regulator-name = "vcc_fan";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&tlmm 29 GPIO_ACTIVE_HIGH>;
+		gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 		regulator-boot-on;
 	};

+ 1 - 1
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6000-glinet.dtsi

@@ -61,7 +61,7 @@
 		regulator-name = "usb_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&tlmm 0 GPIO_ACTIVE_HIGH>;
+		gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 		regulator-boot-on;
 	};

+ 1 - 1
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6000-mr7350.dts

@@ -60,7 +60,7 @@
 		regulator-name = "usb_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&tlmm 61 GPIO_ACTIVE_LOW>;
+		gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
 		regulator-boot-on;
 	};
 };

+ 3 - 3
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6010-xe3-4.dts

@@ -48,13 +48,13 @@
 		led_status_white: status-white {
 			color = <LED_COLOR_ID_WHITE>;
 			function = LED_FUNCTION_STATUS;
-			gpio = <&tlmm 56 GPIO_ACTIVE_LOW>;
+			gpios = <&tlmm 56 GPIO_ACTIVE_LOW>;
 		};
 
 		led_status_amber: status-amber {
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_STATUS;
-			gpio = <&tlmm 35 GPIO_ACTIVE_LOW>;
+			gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
 		};
 	};
 
@@ -66,7 +66,7 @@
 
 		startup-delay-us = <200>;
 
-		gpio = <&tlmm 66 GPIO_ACTIVE_HIGH>;
+		gpios = <&tlmm 66 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 
 		pinctrl-names = "default";

+ 1 - 1
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-mr7500.dts

@@ -97,7 +97,7 @@
 		regulator-name = "usb_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&tlmm 25 GPIO_ACTIVE_LOW>;
+		gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
 	};
 };
 

+ 1 - 1
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-aw1000.dts

@@ -160,7 +160,7 @@
 		regulator-name = "usb_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&tlmm 9 GPIO_ACTIVE_LOW>;
+		gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
 		regulator-boot-on;
 	};
 };

+ 2 - 2
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rt-ax89x.dts

@@ -146,7 +146,7 @@
 		regulator-name = "usb0_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&tlmm 30 GPIO_ACTIVE_HIGH>;
+		gpios = <&tlmm 30 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 		regulator-boot-on;
 	};
@@ -156,7 +156,7 @@
 		regulator-name = "usb1_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>;
+		gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 		regulator-boot-on;
 	};

+ 2 - 2
target/linux/siflower/dts/sf21h8898_bananapi_bpi-rv2.dtsi

@@ -19,7 +19,7 @@
 		regulator-name = "usb_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&gpio 37 GPIO_ACTIVE_HIGH>;
+		gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 	};
 
@@ -28,7 +28,7 @@
 		regulator-name = "m2keyb_pwren";
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
-		gpio = <&gpio 38 GPIO_ACTIVE_HIGH>;
+		gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 		regulator-always-on;
 	};