dt-bindings: Remove "status" from schema examples, again
Subsystems (11)
Rob Herring
maintainerPATCH 1/1 dt-bindings: Remove "status" from schema examples, again
There's no reason to have "status" properties in examples. "okay" is the default, and "disabled" turns off some schema checks ('required' specifically).
A meta-schema check for this is pending, so hopefully the last time to fix these.
Fix the indentation in intel,phy-thunderbay-emmc while we're here.
--- .../arm/tegra/nvidia,tegra-ccplex-cluster.yaml | 1 - .../display/tegra/nvidia,tegra124-dpaux.yaml | 1 - .../display/tegra/nvidia,tegra186-display.yaml | 2 -- .../bindings/iio/addac/adi,ad74413r.yaml | 1 - .../devicetree/bindings/net/cdns,macb.yaml | 1 - .../devicetree/bindings/net/nxp,dwmac-imx.yaml | 1 - .../bindings/phy/intel,phy-thunderbay-emmc.yaml | 15 +++++++-------- 7 files changed, 7 insertions(+), 15 deletions(-)
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra-ccplex-cluster.yaml +0 -1
@@ -47,5 +47,4 @@ examples: compatible = "nvidia,tegra234-ccplex-cluster"; reg = <0x0e000000 0x5ffff>; nvidia,bpmp = <&bpmp>; - status = "okay"; };
Documentation/devicetree/bindings/display/tegra/nvidia,tegra124-dpaux.yaml +0 -1
@@ -128,7 +128,6 @@ examples: resets = <&tegra_car 181>; reset-names = "dpaux"; power-domains = <&pd_sor>; - status = "disabled"; state_dpaux_aux: pinmux-aux { groups = "dpaux-io";
Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-display.yaml +0 -2
@@ -138,7 +138,6 @@ examples: <&bpmp TEGRA186_CLK_NVDISPLAY_DSC>, <&bpmp TEGRA186_CLK_NVDISPLAYHUB>; clock-names = "disp", "dsc", "hub"; - status = "disabled"; power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISP>;
@@ -227,7 +226,6 @@ examples: clocks = <&bpmp TEGRA194_CLK_NVDISPLAY_DISP>, <&bpmp TEGRA194_CLK_NVDISPLAYHUB>; clock-names = "disp", "hub"; - status = "disabled"; power-domains = <&bpmp TEGRA194_POWER_DOMAIN_DISP>;
Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml +0 -1
@@ -114,7 +114,6 @@ examples: #size-cells = <0>; cs-gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - status = "okay"; ad74413r@0 { compatible = "adi,ad74413r";
Documentation/devicetree/bindings/net/cdns,macb.yaml +0 -1
@@ -203,7 +203,6 @@ examples: power-domains = <&zynqmp_firmware PD_ETH_1>; resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>; reset-names = "gem1_rst"; - status = "okay"; phy-mode = "sgmii"; phys = <&psgtr 1 PHY_TYPE_SGMII 1 1>; fixed-link {
Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml +0 -1
@@ -92,5 +92,4 @@ examples: <&clk IMX8MP_CLK_ENET_QOS>; clock-names = "stmmaceth", "pclk", "ptp_ref", "tx"; phy-mode = "rgmii"; - status = "disabled"; };
Documentation/devicetree/bindings/phy/intel,phy-thunderbay-emmc.yaml +7 -8
@@ -36,11 +36,10 @@ additionalProperties: false examples: - | - mmc_phy@80440800 { - #phy-cells = <0x0>; - compatible = "intel,thunderbay-emmc-phy"; - status = "okay"; - reg = <0x80440800 0x100>; - clocks = <&emmc>; - clock-names = "emmcclk"; - }; + mmc_phy@80440800 { + #phy-cells = <0x0>; + compatible = "intel,thunderbay-emmc-phy"; + reg = <0x80440800 0x100>; + clocks = <&emmc>; + clock-names = "emmcclk"; + };
Signature · 1 line
2.35.1
Quoted 9 lines · Rob Herring
There's no reason to have "status" properties in examples. "okay" is the default, and "disabled" turns off some schema checks ('required' specifically).
A meta-schema check for this is pending, so hopefully the last time to fix these.
Fix the indentation in intel,phy-thunderbay-emmc while we're here.
Best regards,
Krzysztof
Signature · 3 lines
linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
Quoted 10 lines · On Fri, 14 Oct 2022 15:51:04 -0500 Rob Herring <[email protected]> wrote:
There's no reason to have "status" properties in examples. "okay" is the default, and "disabled" turns off some schema checks ('required' specifically).
A meta-schema check for this is pending, so hopefully the last time to fix these.
Fix the indentation in intel,phy-thunderbay-emmc while we're here.
Signed-off-by Rob Herring <[email protected]>
Quoted 109 lines
--- .../arm/tegra/nvidia,tegra-ccplex-cluster.yaml | 1 - .../display/tegra/nvidia,tegra124-dpaux.yaml | 1 - .../display/tegra/nvidia,tegra186-display.yaml | 2 -- .../bindings/iio/addac/adi,ad74413r.yaml | 1 - .../devicetree/bindings/net/cdns,macb.yaml | 1 - .../devicetree/bindings/net/nxp,dwmac-imx.yaml | 1 - .../bindings/phy/intel,phy-thunderbay-emmc.yaml | 15 +++++++-------- 7 files changed, 7 insertions(+), 15 deletions(-)Documentation/devicetree/bindings/arm/tegra/nvidia,tegra-ccplex-cluster.yaml +0
-1@@ -47,5 +47,4 @@ examples: compatible = "nvidia,tegra234-ccplex-cluster"; reg = <0x0e000000 0x5ffff>; nvidia,bpmp = <&bpmp>; - status = "okay"; };Documentation/devicetree/bindings/display/tegra/nvidia,tegra124-dpaux.yaml +0
-1@@ -128,7 +128,6 @@ examples: resets = <&tegra_car 181>; reset-names = "dpaux"; power-domains = <&pd_sor>; - status = "disabled"; state_dpaux_aux: pinmux-aux { groups = "dpaux-io";Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-display.yaml +0
-2@@ -138,7 +138,6 @@ examples: <&bpmp TEGRA186_CLK_NVDISPLAY_DSC>, <&bpmp TEGRA186_CLK_NVDISPLAYHUB>; clock-names = "disp", "dsc", "hub"; - status = "disabled"; power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISP>;@@ -227,7 +226,6 @@ examples: clocks = <&bpmp TEGRA194_CLK_NVDISPLAY_DISP>, <&bpmp TEGRA194_CLK_NVDISPLAYHUB>; clock-names = "disp", "hub"; - status = "disabled"; power-domains = <&bpmp TEGRA194_POWER_DOMAIN_DISP>;Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml +0
-1@@ -114,7 +114,6 @@ examples: #size-cells = <0>; cs-gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - status = "okay"; ad74413r@0 { compatible = "adi,ad74413r";Documentation/devicetree/bindings/net/cdns,macb.yaml +0
-1@@ -203,7 +203,6 @@ examples: power-domains = <&zynqmp_firmware PD_ETH_1>; resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>; reset-names = "gem1_rst"; - status = "okay"; phy-mode = "sgmii"; phys = <&psgtr 1 PHY_TYPE_SGMII 1 1>; fixed-link {Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml +0
-1@@ -92,5 +92,4 @@ examples: <&clk IMX8MP_CLK_ENET_QOS>; clock-names = "stmmaceth", "pclk", "ptp_ref", "tx"; phy-mode = "rgmii"; - status = "disabled"; };Documentation/devicetree/bindings/phy/intel,phy-thunderbay-emmc.yaml +7
-8@@ -36,11 +36,10 @@ additionalProperties: false examples: - | - mmc_phy@80440800 { - #phy-cells = <0x0>; - compatible = "intel,thunderbay-emmc-phy"; - status = "okay"; - reg = <0x80440800 0x100>; - clocks = <&emmc>; - clock-names = "emmcclk"; - }; + mmc_phy@80440800 { + #phy-cells = <0x0>; + compatible = "intel,thunderbay-emmc-phy"; + reg = <0x80440800 0x100>; + clocks = <&emmc>; + clock-names = "emmcclk"; + };
Quoted 8 lines · Rob Herring
There's no reason to have "status" properties in examples. "okay" is the default, and "disabled" turns off some schema checks ('required' specifically).
A meta-schema check for this is pending, so hopefully the last time to fix these.
Fix the indentation in intel,phy-thunderbay-emmc while we're here.
Signature · 1 line
~Vinod
Quoted 19 lines · Rob Herring
There's no reason to have "status" properties in examples. "okay" is the default, and "disabled" turns off some schema checks ('required' specifically).
A meta-schema check for this is pending, so hopefully the last time to fix these.
Fix the indentation in intel,phy-thunderbay-emmc while we're here.
Signed-off-by Rob Herring <[email protected]>--- .../arm/tegra/nvidia,tegra-ccplex-cluster.yaml | 1 - .../display/tegra/nvidia,tegra124-dpaux.yaml | 1 - .../display/tegra/nvidia,tegra186-display.yaml | 2 -- .../bindings/iio/addac/adi,ad74413r.yaml | 1 - .../devicetree/bindings/net/cdns,macb.yaml | 1 - .../devicetree/bindings/net/nxp,dwmac-imx.yaml | 1 - .../bindings/phy/intel,phy-thunderbay-emmc.yaml | 15 +++++++-------- 7 files changed, 7 insertions(+), 15 deletions(-)
[..]
Documentation/devicetree/bindings/net/cdns,macb.yaml examples: · line 208
Quoted 12 lines
Documentation/devicetree/bindings/net/cdns,macb.yaml +0
-1@@ -203,7 +203,6 @@ examples: power-domains = <&zynqmp_firmware PD_ETH_1>; resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>; reset-names = "gem1_rst"; - status = "okay"; phy-mode = "sgmii"; phys = <&psgtr 1 PHY_TYPE_SGMII 1 1>; fixed-link {
Thanks Rob. Best regards,
Nicolas
Signature · 1 line
Nicolas Ferre
Quoted 10 lines · Rob Herring
There's no reason to have "status" properties in examples. "okay" is the default, and "disabled" turns off some schema checks ('required' specifically).
A meta-schema check for this is pending, so hopefully the last time to fix these.
Fix the indentation in intel,phy-thunderbay-emmc while we're here.
Signed-off-by Rob Herring <[email protected]>
Quoted 9 lines
--- .../arm/tegra/nvidia,tegra-ccplex-cluster.yaml | 1 - .../display/tegra/nvidia,tegra124-dpaux.yaml | 1 - .../display/tegra/nvidia,tegra186-display.yaml | 2 -- .../bindings/iio/addac/adi,ad74413r.yaml | 1 - .../devicetree/bindings/net/cdns,macb.yaml | 1 - .../devicetree/bindings/net/nxp,dwmac-imx.yaml | 1 - .../bindings/phy/intel,phy-thunderbay-emmc.yaml | 15 +++++++-------- 7 files changed, 7 insertions(+), 15 deletions(-)
Quoted 10 lines · Rob Herring
There's no reason to have "status" properties in examples. "okay" is the default, and "disabled" turns off some schema checks ('required' specifically).
A meta-schema check for this is pending, so hopefully the last time to fix these.
Fix the indentation in intel,phy-thunderbay-emmc while we're here.
Signed-off-by Rob Herring <[email protected]>
Quoted 10 lines
--- .../arm/tegra/nvidia,tegra-ccplex-cluster.yaml | 1 - .../display/tegra/nvidia,tegra124-dpaux.yaml | 1 - .../display/tegra/nvidia,tegra186-display.yaml | 2 -- .../bindings/iio/addac/adi,ad74413r.yaml | 1 - .../devicetree/bindings/net/cdns,macb.yaml | 1 - .../devicetree/bindings/net/nxp,dwmac-imx.yaml | 1 - .../bindings/phy/intel,phy-thunderbay-emmc.yaml | 15 +++++++-------- 7 files changed, 7 insertions(+), 15 deletions(-)
Applied, thanks!