Commit 61aaaa81 authored by Rob Herring's avatar Rob Herring

dt-bindings: Remove "status" from schema examples

There's no reason to have "status" properties in examples. "okay" is the
default, and "disabled" turns off some schema checks ('required'
specifically).

Enabling qca,ar71xx causes a warning, so let's fix the node names:

Documentation/devicetree/bindings/net/qca,ar71xx.example.dt.yaml: phy@3: '#phy-cells' is a required property
        From schema: schemas/phy/phy-provider.yaml

Cc: Maxime Ripard <mripard@kernel.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Robert Marko <robert.marko@sartura.hr>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Ramesh Shanmugasundaram <rashanmu@gmail.com>
Cc: "G. Jaya Kumaran" <vineetha.g.jaya.kumaran@intel.com>
Cc: ChiYuan Huang <cy_huang@richtek.com>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Dilip Kota <eswara.kota@linux.intel.com>
Cc: Karol Gugala <kgugala@antmicro.com>
Cc: Mateusz Holenko <mholenko@antmicro.com>
Cc: Olivier Moysan <olivier.moysan@st.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarRui Miguel Silva <rmfrfs@gmail.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> # For media
Acked-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20210720172025.363238-1-robh@kernel.org
parent b4db237e
...@@ -174,7 +174,6 @@ examples: ...@@ -174,7 +174,6 @@ examples:
phy-names = "phy"; phy-names = "phy";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&hdmi_pins>; pinctrl-0 = <&hdmi_pins>;
status = "disabled";
ports { ports {
#address-cells = <1>; #address-cells = <1>;
...@@ -233,7 +232,6 @@ examples: ...@@ -233,7 +232,6 @@ examples:
phy-names = "phy"; phy-names = "phy";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&hdmi_pins>; pinctrl-0 = <&hdmi_pins>;
status = "disabled";
ports { ports {
#address-cells = <1>; #address-cells = <1>;
......
...@@ -70,7 +70,6 @@ examples: ...@@ -70,7 +70,6 @@ examples:
avee-supply = <&ppvarp_lcd>; avee-supply = <&ppvarp_lcd>;
pp1800-supply = <&pp1800_lcd>; pp1800-supply = <&pp1800_lcd>;
backlight = <&backlight_lcd0>; backlight = <&backlight_lcd0>;
status = "okay";
port { port {
panel_in: endpoint { panel_in: endpoint {
remote-endpoint = <&dsi_out>; remote-endpoint = <&dsi_out>;
......
...@@ -200,8 +200,6 @@ examples: ...@@ -200,8 +200,6 @@ examples:
clock-names = "pclk", "wrap", "phy", "axi"; clock-names = "pclk", "wrap", "phy", "axi";
power-domains = <&mipi_pd>; power-domains = <&mipi_pd>;
status = "disabled";
ports { ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -242,7 +242,6 @@ examples: ...@@ -242,7 +242,6 @@ examples:
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
resets = <&cpg 513>; resets = <&cpg 513>;
renesas,bonding = <&drif11>; renesas,bonding = <&drif11>;
status = "disabled";
}; };
drif11: rif@e6f70000 { drif11: rif@e6f70000 {
......
...@@ -116,7 +116,6 @@ examples: ...@@ -116,7 +116,6 @@ examples:
snps,mtl-rx-config = <&mtl_rx_setup>; snps,mtl-rx-config = <&mtl_rx_setup>;
snps,mtl-tx-config = <&mtl_tx_setup>; snps,mtl-tx-config = <&mtl_tx_setup>;
snps,tso; snps,tso;
status = "okay";
mdio0 { mdio0 {
#address-cells = <1>; #address-cells = <1>;
......
...@@ -71,7 +71,6 @@ examples: ...@@ -71,7 +71,6 @@ examples:
ethernet@c8009000 { ethernet@c8009000 {
compatible = "intel,ixp4xx-ethernet"; compatible = "intel,ixp4xx-ethernet";
reg = <0xc8009000 0x1000>; reg = <0xc8009000 0x1000>;
status = "disabled";
queue-rx = <&qmgr 4>; queue-rx = <&qmgr 4>;
queue-txready = <&qmgr 21>; queue-txready = <&qmgr 21>;
intel,npe-handle = <&npe 1>; intel,npe-handle = <&npe 1>;
...@@ -82,7 +81,6 @@ examples: ...@@ -82,7 +81,6 @@ examples:
ethernet@c800c000 { ethernet@c800c000 {
compatible = "intel,ixp4xx-ethernet"; compatible = "intel,ixp4xx-ethernet";
reg = <0xc800c000 0x1000>; reg = <0xc800c000 0x1000>;
status = "disabled";
queue-rx = <&qmgr 3>; queue-rx = <&qmgr 3>;
queue-txready = <&qmgr 20>; queue-txready = <&qmgr 20>;
intel,npe-handle = <&npe 2>; intel,npe-handle = <&npe 2>;
......
...@@ -90,14 +90,11 @@ examples: ...@@ -90,14 +90,11 @@ examples:
# UART example on Raspberry Pi # UART example on Raspberry Pi
- | - |
uart0 { uart0 {
status = "okay";
nfc { nfc {
compatible = "samsung,s3fwrn82"; compatible = "samsung,s3fwrn82";
en-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>; en-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
wake-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>; wake-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
status = "okay";
}; };
}; };
...@@ -101,8 +101,6 @@ examples: ...@@ -101,8 +101,6 @@ examples:
phy-mode = "gmii"; phy-mode = "gmii";
status = "disabled";
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
full-duplex; full-duplex;
...@@ -148,32 +146,24 @@ examples: ...@@ -148,32 +146,24 @@ examples:
reg = <0x1>; reg = <0x1>;
phy-handle = <&phy_port0>; phy-handle = <&phy_port0>;
phy-mode = "internal"; phy-mode = "internal";
status = "disabled";
}; };
switch_port2: port@2 { switch_port2: port@2 {
reg = <0x2>; reg = <0x2>;
phy-handle = <&phy_port1>; phy-handle = <&phy_port1>;
phy-mode = "internal"; phy-mode = "internal";
status = "disabled";
}; };
switch_port3: port@3 { switch_port3: port@3 {
reg = <0x3>; reg = <0x3>;
phy-handle = <&phy_port2>; phy-handle = <&phy_port2>;
phy-mode = "internal"; phy-mode = "internal";
status = "disabled";
}; };
switch_port4: port@4 { switch_port4: port@4 {
reg = <0x4>; reg = <0x4>;
phy-handle = <&phy_port3>; phy-handle = <&phy_port3>;
phy-mode = "internal"; phy-mode = "internal";
status = "disabled";
}; };
}; };
...@@ -183,34 +173,29 @@ examples: ...@@ -183,34 +173,29 @@ examples:
interrupt-parent = <&switch10>; interrupt-parent = <&switch10>;
phy_port0: phy@0 { phy_port0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
interrupts = <0>; interrupts = <0>;
status = "disabled";
}; };
phy_port1: phy@1 { phy_port1: ethernet-phy@1 {
reg = <0x1>; reg = <0x1>;
interrupts = <0>; interrupts = <0>;
status = "disabled";
}; };
phy_port2: phy@2 { phy_port2: ethernet-phy@2 {
reg = <0x2>; reg = <0x2>;
interrupts = <0>; interrupts = <0>;
status = "disabled";
}; };
phy_port3: phy@3 { phy_port3: ethernet-phy@3 {
reg = <0x3>; reg = <0x3>;
interrupts = <0>; interrupts = <0>;
status = "disabled";
}; };
phy_port4: phy@4 { phy_port4: ethernet-phy@4 {
reg = <0x4>; reg = <0x4>;
interrupts = <0>; interrupts = <0>;
status = "disabled";
}; };
}; };
}; };
......
...@@ -77,7 +77,6 @@ examples: ...@@ -77,7 +77,6 @@ examples:
rt6245@34 { rt6245@34 {
compatible = "richtek,rt6245"; compatible = "richtek,rt6245";
status = "okay";
reg = <0x34>; reg = <0x34>;
enable-gpios = <&gpio26 2 0>; enable-gpios = <&gpio26 2 0>;
......
...@@ -39,6 +39,5 @@ examples: ...@@ -39,6 +39,5 @@ examples:
regulator-min-microvolt = <1500000>; regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
regulator-always-on; regulator-always-on;
status = "disabled";
}; };
... ...
...@@ -72,6 +72,5 @@ examples: ...@@ -72,6 +72,5 @@ examples:
resets = <&iomcu_rst 0x20 3>; resets = <&iomcu_rst 0x20 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>; pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>;
status = "disabled";
}; };
... ...
...@@ -57,7 +57,6 @@ examples: ...@@ -57,7 +57,6 @@ examples:
}; };
pwm: pwm@e0d00000 { pwm: pwm@e0d00000 {
status = "disabled";
compatible = "intel,lgm-pwm"; compatible = "intel,lgm-pwm";
reg = <0xe0d00000 0x30>; reg = <0xe0d00000 0x30>;
clocks = <&cgu0 1>; clocks = <&cgu0 1>;
......
...@@ -53,7 +53,6 @@ examples: ...@@ -53,7 +53,6 @@ examples:
rtc@51 { rtc@51 {
compatible = "microcrystal,rv3032"; compatible = "microcrystal,rv3032";
reg = <0x51>; reg = <0x51>;
status = "okay";
pinctrl-0 = <&rtc_nint_pins>; pinctrl-0 = <&rtc_nint_pins>;
interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
trickle-resistor-ohms = <7000>; trickle-resistor-ohms = <7000>;
......
...@@ -35,7 +35,6 @@ examples: ...@@ -35,7 +35,6 @@ examples:
soc_ctrl0: soc-controller@f0000000 { soc_ctrl0: soc-controller@f0000000 {
compatible = "litex,soc-controller"; compatible = "litex,soc-controller";
reg = <0xf0000000 0xc>; reg = <0xf0000000 0xc>;
status = "okay";
}; };
... ...
...@@ -180,7 +180,6 @@ examples: ...@@ -180,7 +180,6 @@ examples:
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sai2a_pins_a>, <&sai2b_pins_b>; pinctrl-0 = <&sai2a_pins_a>, <&sai2b_pins_b>;
pinctrl-1 = <&sai2a_sleep_pins_a>, <&sai2b_sleep_pins_b>; pinctrl-1 = <&sai2a_sleep_pins_a>, <&sai2b_sleep_pins_b>;
status = "okay";
sai2a: audio-controller@4400b004 { sai2a: audio-controller@4400b004 {
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
...@@ -190,7 +189,6 @@ examples: ...@@ -190,7 +189,6 @@ examples:
dma-names = "tx"; dma-names = "tx";
clocks = <&rcc SAI2_K>; clocks = <&rcc SAI2_K>;
clock-names = "sai_ck"; clock-names = "sai_ck";
status = "okay";
}; };
}; };
......
...@@ -127,8 +127,6 @@ examples: ...@@ -127,8 +127,6 @@ examples:
compatible = "ti,j721e-cpb-audio"; compatible = "ti,j721e-cpb-audio";
model = "j721e-cpb"; model = "j721e-cpb";
status = "okay";
ti,cpb-mcasp = <&mcasp10>; ti,cpb-mcasp = <&mcasp10>;
ti,cpb-codec = <&pcm3168a_1>; ti,cpb-codec = <&pcm3168a_1>;
......
...@@ -119,8 +119,6 @@ examples: ...@@ -119,8 +119,6 @@ examples:
compatible = "ti,j721e-cpb-ivi-audio"; compatible = "ti,j721e-cpb-ivi-audio";
model = "j721e-cpb-ivi"; model = "j721e-cpb-ivi";
status = "okay";
ti,cpb-mcasp = <&mcasp10>; ti,cpb-mcasp = <&mcasp10>;
ti,cpb-codec = <&pcm3168a_1>; ti,cpb-codec = <&pcm3168a_1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment