[openwrt/openwrt] ipq40xx: Fix DTS status parameter values

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 23 12:44:52 PDT 2018


mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/688ae1c4c0591508540f231512c3a0c81bc51586

commit 688ae1c4c0591508540f231512c3a0c81bc51586
Author: Sven Eckelmann <sven.eckelmann at openmesh.com>
AuthorDate: Mon Mar 19 12:23:00 2018 +0100

    ipq40xx: Fix DTS status parameter values
    
    The "Devicetree Specification, Release v0.2 - 2.3.4 status" [1] only allows
    the "okay" value for an operational device. The "ok" value will be accepted
    by the kernel but should be avoided.
    
    Signed-off-by: Sven Eckelmann <sven.eckelmann at openmesh.com>
---
 .../arch/arm/boot/dts/qcom-ipq4018-a42.dts         | 18 ++++++-------
 .../arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts    | 22 ++++++++--------
 .../arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi  | 30 +++++++++++-----------
 .../arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts   | 24 ++++++++---------
 4 files changed, 47 insertions(+), 47 deletions(-)

diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts
index 772465c..1ccd9f9 100644
--- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts
+++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts
@@ -60,7 +60,7 @@
 			compatible = "qcom,tcsr";
 			reg = <0x194b000 0x100>;
 			qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
-			status = "ok";
+			status = "okay";
 		};
 
 		tcsr at 1949000 {
@@ -82,21 +82,21 @@
 		};
 
 		usb2: usb2 at 60f8800 {
-			status = "ok";
+			status = "okay";
 		};
 
 		serial at 78af000 {
 			pinctrl-0 = <&serial_pins>;
 			pinctrl-names = "default";
-			status = "ok";
+			status = "okay";
 		};
 
 		crypto at 8e3a000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		watchdog at b017000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		ess-switch at c000000 {
@@ -183,13 +183,13 @@
 };
 
 &blsp_dma {
-	status = "ok";
+	status = "okay";
 };
 
 &spi_0 {
 	pinctrl-0 = <&spi_0_pins>;
 	pinctrl-names = "default";
-	status = "ok";
+	status = "okay";
 	cs-gpios = <&tlmm 54 0>;
 
 	m25p80 at 0 {
@@ -203,7 +203,7 @@
 };
 
 &cryptobam {
-	status = "ok";
+	status = "okay";
 };
 
 &gmac0 {
@@ -223,7 +223,7 @@
 };
 
 &usb2_hs_phy {
-	status = "ok";
+	status = "okay";
 };
 
 &wifi0 {
diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
index 7e5d123..2b40b9e 100644
--- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
+++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
@@ -86,21 +86,21 @@
 		};
 
 		usb2 at 60f8800 {
-			status = "ok";
+			status = "okay";
 		};
 
 		serial at 78af000 {
 			pinctrl-0 = <&serial_pins>;
 			pinctrl-names = "default";
-			status = "ok";
+			status = "okay";
 		};
 
 		usb3 at 8af8800 {
-			status = "ok";
+			status = "okay";
 		};
 
 		crypto at 8e3a000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		wifi at a000000 {
@@ -114,7 +114,7 @@
 		};
 
 		watchdog at b017000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		ess-switch at c000000 {
@@ -178,11 +178,11 @@
 };
 
 &cryptobam {
-	status = "ok";
+	status = "okay";
 };
 
 &blsp_dma {
-	status = "ok";
+	status = "okay";
 };
 
 &tlmm {
@@ -215,7 +215,7 @@
 &spi_0 { /* BLSP1 QUP1 */
 	pinctrl-0 = <&spi_0_pins>;
 	pinctrl-names = "default";
-	status = "ok";
+	status = "okay";
 	cs-gpios = <&tlmm 54 0>,
 		   <&tlmm 59 0>;
 
@@ -302,13 +302,13 @@
 };
 
 &usb3_ss_phy {
-	status = "ok";
+	status = "okay";
 };
 
 &usb3_hs_phy {
-	status = "ok";
+	status = "okay";
 };
 
 &usb2_hs_phy {
-	status = "ok";
+	status = "okay";
 };
diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi
index 99fe8af..753adf9 100644
--- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi
+++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi
@@ -94,13 +94,13 @@
 		};
 
 		blsp_dma: dma at 7884000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		spi_0: spi at 78b5000 {
 			pinctrl-0 = <&spi_0_pins>;
 			pinctrl-names = "default";
-			status = "ok";
+			status = "okay";
 			cs-gpios = <&tlmm 12 0>;
 
 			mx25l25635e at 0 {
@@ -116,61 +116,61 @@
 			pinctrl-0 = <&i2c_0_pins>;
 			pinctrl-names = "default";
 
-			status = "ok";
+			status = "okay";
 		};
 
 		serial at 78af000 {
 			pinctrl-0 = <&serial_0_pins>;
 			pinctrl-names = "default";
-			status = "ok";
+			status = "okay";
 		};
 
 		serial at 78b0000 {
 			pinctrl-0 = <&serial_1_pins>;
 			pinctrl-names = "default";
-			status = "ok";
+			status = "okay";
 		};
 
 		usb3_ss_phy: ssphy at 9a000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		usb3_hs_phy: hsphy at a6000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		usb3: usb3 at 8af8800 {
-			status = "ok";
+			status = "okay";
 		};
 
 		usb2_hs_phy: hsphy at a8000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		usb2: usb2 at 60f8800 {
-			status = "ok";
+			status = "okay";
 		};
 
 		cryptobam: dma at 8e04000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		crypto at 8e3a000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		watchdog at b017000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		qpic_bam: dma at 7984000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		nand: qpic-nand at 79b0000 {
 			pinctrl-0 = <&nand_pins>;
 			pinctrl-names = "default";
-			status = "ok";
+			status = "okay";
 		};
 	};
 };
diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
index f5ca3d5..65e802b 100644
--- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
+++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
@@ -86,21 +86,21 @@
 		};
 
 		usb2 at 60f8800 {
-			status = "ok";
+			status = "okay";
 		};
 
 		serial at 78af000 {
 			pinctrl-0 = <&serial_pins>;
 			pinctrl-names = "default";
-			status = "ok";
+			status = "okay";
 		};
 
 		usb3 at 8af8800 {
-			status = "ok";
+			status = "okay";
 		};
 
 		crypto at 8e3a000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		wifi at a000000 {
@@ -112,7 +112,7 @@
 		};
 
 		watchdog at b017000 {
-			status = "ok";
+			status = "okay";
 		};
 
 		qca8075: ess-switch at c000000 {
@@ -214,17 +214,17 @@
 };
 
 &cryptobam {
-	status = "ok";
+	status = "okay";
 };
 
 &blsp_dma {
-	status = "ok";
+	status = "okay";
 };
 
 &spi_0 { /* BLSP1 QUP1 */
 	pinctrl-0 = <&spi_0_pins>;
 	pinctrl-names = "default";
-	status = "ok";
+	status = "okay";
 	cs-gpios = <&tlmm 54 0>;
 
 	mx25l25635f at 0 {
@@ -233,7 +233,7 @@
 		#size-cells = <0>;
 		reg = <0>;
 		spi-max-frequency = <24000000>;
-		status = "ok";
+		status = "okay";
 		m25p,fast-read;
 
 		partitions {
@@ -310,13 +310,13 @@
 };
 
 &usb3_ss_phy {
-	status = "ok";
+	status = "okay";
 };
 
 &usb3_hs_phy {
-	status = "ok";
+	status = "okay";
 };
 
 &usb2_hs_phy {
-	status = "ok";
+	status = "okay";
 };



More information about the lede-commits mailing list