Skip to contentSkip to conversation

dt-bindings: more status property removal from examples

PATCH In review Rob Herring 3 participants 3 messages Apr 17, 2018 – Apr 23, 2018

Subsystems (9)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: more status property removal from examples

Whack-a-mole some more occurrences of status in examples.

Cc Vinod Koul <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Ralf Baechle <[email protected]>
Cc James Hogan <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Brian Norris <[email protected]>
Cc Boris Brezillon <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc Matthias Brugger <[email protected]>
Cc Tanmay Inamdar <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Rodolfo Giometti <[email protected]>
---
 Documentation/devicetree/bindings/dma/k3dma.txt       | 1 -
 Documentation/devicetree/bindings/dma/ti-edma.txt     | 1 -
 Documentation/devicetree/bindings/mips/lantiq/rcu.txt | 2 --
 Documentation/devicetree/bindings/mmc/tmio_mmc.txt    | 4 ----
 Documentation/devicetree/bindings/mtd/mtk-nand.txt    | 4 ----
 Documentation/devicetree/bindings/pci/xgene-pci.txt   | 7 -------
 Documentation/devicetree/bindings/pps/pps-gpio.txt    | 1 -
 7 files changed, 20 deletions(-)
Documentation/devicetree/bindings/dma/k3dma.txt +0 -1
index 23f8d712c3ce..4945aeac4dc4 100644
@@ -23,7 +23,6 @@ Controller:
 			dma-requests = <27>;
 			interrupts = <0 12 4>;
 			clocks = <&pclk>;
-			status = "disable";
 		};
 
 Client:
Documentation/devicetree/bindings/dma/ti-edma.txt +0 -1
index 66026dcf53e1..3f15f6644527 100644
@@ -190,7 +190,6 @@ mmc0: mmc@23000000 {
 	power-domains = <&k2g_pds 0xb>;
 	clocks = <&k2g_clks 0xb 1>, <&k2g_clks 0xb 2>;
 	clock-names = "fck", "mmchsdb_fck";
-	status = "disabled";
 };
 
 ------------------------------------------------------------------------------
Documentation/devicetree/bindings/mips/lantiq/rcu.txt +0 -2
index a086f1e1cdd7..7f0822b4beae 100644
@@ -61,7 +61,6 @@ Example of the RCU bindings on a xRX200 SoC:
 		usb_phy0: usb2-phy@18 {
 			compatible = "lantiq,xrx200-usb2-phy";
 			reg = <0x18 4>, <0x38 4>;
-			status = "disabled";
 
 			resets = <&reset1 4 4>, <&reset0 4 4>;
 			reset-names = "phy", "ctrl";
@@ -71,7 +70,6 @@ Example of the RCU bindings on a xRX200 SoC:
 		usb_phy1: usb2-phy@34 {
 			compatible = "lantiq,xrx200-usb2-phy";
 			reg = <0x34 4>, <0x3C 4>;
-			status = "disabled";
 
 			resets = <&reset1 5 4>, <&reset0 4 4>;
 			reset-names = "phy", "ctrl";
Documentation/devicetree/bindings/mmc/tmio_mmc.txt +0 -4
index 2d5287eeed95..634bb66fc49c 100644
@@ -67,7 +67,6 @@ Example: R8A7790 (R-Car H2) SDHI controller nodes
 		max-frequency = <195000000>;
 		power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
 		resets = <&cpg 314>;
-		status = "disabled";
 	};
 
 	sdhi1: sd@ee120000 {
@@ -81,7 +80,6 @@ Example: R8A7790 (R-Car H2) SDHI controller nodes
 		max-frequency = <195000000>;
 		power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
 		resets = <&cpg 313>;
-		status = "disabled";
 	};
 
 	sdhi2: sd@ee140000 {
@@ -95,7 +93,6 @@ Example: R8A7790 (R-Car H2) SDHI controller nodes
 		max-frequency = <97500000>;
 		power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
 		resets = <&cpg 312>;
-		status = "disabled";
 	};
 
 	sdhi3: sd@ee160000 {
@@ -109,5 +106,4 @@ Example: R8A7790 (R-Car H2) SDHI controller nodes
 		max-frequency = <97500000>;
 		power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
 		resets = <&cpg 311>;
-		status = "disabled";
 	};
Documentation/devicetree/bindings/mtd/mtk-nand.txt +0 -4
index 1c88526dedfc..c5ba6a4ba1f2 100644
@@ -20,7 +20,6 @@ Required NFI properties:
 - interrupts:			Interrupts of NFI.
 - clocks:			NFI required clocks.
 - clock-names:			NFI clocks internal name.
-- status:			Disabled default. Then set "okay" by platform.
 - ecc-engine:			Required ECC Engine node.
 - #address-cells:		NAND chip index, should be 1.
 - #size-cells:			Should be 0.
@@ -34,7 +33,6 @@ Example:
 		clocks = <&pericfg CLK_PERI_NFI>,
 			 <&pericfg CLK_PERI_NFI_PAD>;
 		clock-names = "nfi_clk", "pad_clk";
-		status = "disabled";
 		ecc-engine = <&bch>;
 		#address-cells = <1>;
 		#size-cells = <0>;
@@ -152,7 +150,6 @@ Required BCH properties:
 - interrupts:	Interrupts of ECC.
 - clocks:	ECC required clocks.
 - clock-names:	ECC clocks internal name.
-- status:	Disabled default. Then set "okay" by platform.
 
 Example:
 
@@ -162,5 +159,4 @@ Example:
 		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_LOW>;
 		clocks = <&pericfg CLK_PERI_NFI_ECC>;
 		clock-names = "nfiecc_clk";
-		status = "disabled";
 	};
Documentation/devicetree/bindings/pci/xgene-pci.txt +0 -7
index 6fd2decfa66c..92490330dc1c 100644
@@ -25,8 +25,6 @@ Optional properties:
 
 Example:
 
-SoC-specific DT Entry:
-
 	pcie0: pcie@1f2b0000 {
 		status = "disabled";
 		device_type = "pci";
@@ -50,8 +48,3 @@ SoC-specific DT Entry:
 		clocks = <&pcie0clk 0>;
 	};
 
-
-Board-specific DT Entry:
-	&pcie0 {
-		status = "ok";
-	};
Documentation/devicetree/bindings/pps/pps-gpio.txt +0 -1
index 0de23b793657..3683874832ae 100644
@@ -20,5 +20,4 @@ Example:
 		assert-falling-edge;
 
 		compatible = "pps-gpio";
-		status = "okay";
 	};
Signature · 1 line
2.14.1
Acked-by on v1 1/1
#1 lore raw
Quoted 17 lines · Rob Herring

Whack-a-mole some more occurrences of status in examples.

Cc Vinod Koul <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Ralf Baechle <[email protected]>
Cc James Hogan <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Brian Norris <[email protected]>
Cc Boris Brezillon <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc Matthias Brugger <[email protected]>
Cc Tanmay Inamdar <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Rodolfo Giometti <[email protected]>
Quoted 3 lines
---
 Documentation/devicetree/bindings/dma/k3dma.txt       | 1 -
 Documentation/devicetree/bindings/dma/ti-edma.txt     | 1 -

These:

Signature · 1 line
~Vinod
Acked-by on v1 1/1
#2 lore raw
In reply to Rob Herring
Quoted 17 lines · Rob Herring

Whack-a-mole some more occurrences of status in examples.

Cc Vinod Koul <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Ralf Baechle <[email protected]>
Cc James Hogan <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Brian Norris <[email protected]>
Cc Boris Brezillon <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc Matthias Brugger <[email protected]>
Cc Tanmay Inamdar <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Rodolfo Giometti <[email protected]>
Quoted 9 lines
---
 Documentation/devicetree/bindings/dma/k3dma.txt       | 1 -
 Documentation/devicetree/bindings/dma/ti-edma.txt     | 1 -
 Documentation/devicetree/bindings/mips/lantiq/rcu.txt | 2 --
 Documentation/devicetree/bindings/mmc/tmio_mmc.txt    | 4 ----
 Documentation/devicetree/bindings/mtd/mtk-nand.txt    | 4 ----
 Documentation/devicetree/bindings/pci/xgene-pci.txt   | 7 -------
 Documentation/devicetree/bindings/pps/pps-gpio.txt    | 1 -
 7 files changed, 20 deletions(-)

For mmc:

Kind regards
Uffe

Quoted 148 lines
Documentation/devicetree/bindings/dma/k3dma.txt +0 -1
index 23f8d712c3ce..4945aeac4dc4 100644
@@ -23,7 +23,6 @@ Controller:
                        dma-requests = <27>;
                        interrupts = <0 12 4>;
                        clocks = <&pclk>;
-                       status = "disable";
                };
 
 Client:
Documentation/devicetree/bindings/dma/ti-edma.txt +0 -1
index 66026dcf53e1..3f15f6644527 100644
@@ -190,7 +190,6 @@ mmc0: mmc@23000000 {
        power-domains = <&k2g_pds 0xb>;
        clocks = <&k2g_clks 0xb 1>, <&k2g_clks 0xb 2>;
        clock-names = "fck", "mmchsdb_fck";
-       status = "disabled";
 };
 
 ------------------------------------------------------------------------------
Documentation/devicetree/bindings/mips/lantiq/rcu.txt +0 -2
index a086f1e1cdd7..7f0822b4beae 100644
@@ -61,7 +61,6 @@ Example of the RCU bindings on a xRX200 SoC:
                usb_phy0: usb2-phy@18 {
                        compatible = "lantiq,xrx200-usb2-phy";
                        reg = <0x18 4>, <0x38 4>;
-                       status = "disabled";
 
                        resets = <&reset1 4 4>, <&reset0 4 4>;
                        reset-names = "phy", "ctrl";
@@ -71,7 +70,6 @@ Example of the RCU bindings on a xRX200 SoC:
                usb_phy1: usb2-phy@34 {
                        compatible = "lantiq,xrx200-usb2-phy";
                        reg = <0x34 4>, <0x3C 4>;
-                       status = "disabled";
 
                        resets = <&reset1 5 4>, <&reset0 4 4>;
                        reset-names = "phy", "ctrl";
Documentation/devicetree/bindings/mmc/tmio_mmc.txt +0 -4
index 2d5287eeed95..634bb66fc49c 100644
@@ -67,7 +67,6 @@ Example: R8A7790 (R-Car H2) SDHI controller nodes
                max-frequency = <195000000>;
                power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
                resets = <&cpg 314>;
-               status = "disabled";
        };
 
        sdhi1: sd@ee120000 {
@@ -81,7 +80,6 @@ Example: R8A7790 (R-Car H2) SDHI controller nodes
                max-frequency = <195000000>;
                power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
                resets = <&cpg 313>;
-               status = "disabled";
        };
 
        sdhi2: sd@ee140000 {
@@ -95,7 +93,6 @@ Example: R8A7790 (R-Car H2) SDHI controller nodes
                max-frequency = <97500000>;
                power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
                resets = <&cpg 312>;
-               status = "disabled";
        };
 
        sdhi3: sd@ee160000 {
@@ -109,5 +106,4 @@ Example: R8A7790 (R-Car H2) SDHI controller nodes
                max-frequency = <97500000>;
                power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
                resets = <&cpg 311>;
-               status = "disabled";
        };
Documentation/devicetree/bindings/mtd/mtk-nand.txt +0 -4
index 1c88526dedfc..c5ba6a4ba1f2 100644
@@ -20,7 +20,6 @@ Required NFI properties:
 - interrupts:                  Interrupts of NFI.
 - clocks:                      NFI required clocks.
 - clock-names:                 NFI clocks internal name.
-- status:                      Disabled default. Then set "okay" by platform.
 - ecc-engine:                  Required ECC Engine node.
 - #address-cells:              NAND chip index, should be 1.
 - #size-cells:                 Should be 0.
@@ -34,7 +33,6 @@ Example:
                clocks = <&pericfg CLK_PERI_NFI>,
                         <&pericfg CLK_PERI_NFI_PAD>;
                clock-names = "nfi_clk", "pad_clk";
-               status = "disabled";
                ecc-engine = <&bch>;
                #address-cells = <1>;
                #size-cells = <0>;
@@ -152,7 +150,6 @@ Required BCH properties:
 - interrupts:  Interrupts of ECC.
 - clocks:      ECC required clocks.
 - clock-names: ECC clocks internal name.
-- status:      Disabled default. Then set "okay" by platform.
 
 Example:
 
@@ -162,5 +159,4 @@ Example:
                interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_LOW>;
                clocks = <&pericfg CLK_PERI_NFI_ECC>;
                clock-names = "nfiecc_clk";
-               status = "disabled";
        };
Documentation/devicetree/bindings/pci/xgene-pci.txt +0 -7
index 6fd2decfa66c..92490330dc1c 100644
@@ -25,8 +25,6 @@ Optional properties:
 
 Example:
 
-SoC-specific DT Entry:
-
        pcie0: pcie@1f2b0000 {
                status = "disabled";
                device_type = "pci";
@@ -50,8 +48,3 @@ SoC-specific DT Entry:
                clocks = <&pcie0clk 0>;
        };
 
-
-Board-specific DT Entry:
-       &pcie0 {
-               status = "ok";
-       };
Documentation/devicetree/bindings/pps/pps-gpio.txt +0 -2
index 0de23b793657..3683874832ae 100644
@@ -20,5 +20,4 @@ Example:
                assert-falling-edge;
 
                compatible = "pps-gpio";
-               status = "okay";
        };
--

2.14.1