Skip to contentSkip to conversation

ARM: dts: keystone-k2*-evm: Fix mdio and dss node status

PATCH Superseded Roger Quadros 2 participants 4 messages Aug 20, 2021 Device tree bindings

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover ARM: dts: keystone-k2*-evm: Fix mdio and dss node status

Hi Santosh,

This series fixes mdio and dss status nodes from "ok" to "okay"

As per Device Tree core schema [1], status parameter of nodes can be either "okay" or "disabled".

U-boot Driver Model does not recognize status="ok" either and treats the node as disabled.

[1] https://github.com/devicetree-org/dt-schema/blob/master/schemas/dt-core.yaml#L36

cheers,
-roger

Roger Quadros (2):
ARM: dts: keystone-k2*-evm: Fix mdio node status to "okay"
ARM: dts: keystone-k2g-evm: Fix dss node status to "okay"

 arch/arm/boot/dts/keystone-k2e-evm.dts  | 2 +-
 arch/arm/boot/dts/keystone-k2g-evm.dts  | 2 +-
 arch/arm/boot/dts/keystone-k2hk-evm.dts | 2 +-
 arch/arm/boot/dts/keystone-k2l-evm.dts  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 ARM: dts: keystone-k2*-evm: Fix mdio node status to "okay"

As per Device Tree core schema [1], status parameter of nodes can be either "okay" or "disabled".

U-boot Driver Model does not recognize status="ok" either and treats the node as disabled.

[1] https://github.com/devicetree-org/dt-schema/blob/master/schemas/dt-core.yaml#L36

Cc Grygorii Strashko <[email protected]>
---
 arch/arm/boot/dts/keystone-k2e-evm.dts  | 2 +-
 arch/arm/boot/dts/keystone-k2hk-evm.dts | 2 +-
 arch/arm/boot/dts/keystone-k2l-evm.dts  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/keystone-k2e-evm.dts +1 -1
index 66fec5f5d081..acac242ebdf7 100644
@@ -159,7 +159,7 @@
 };
 
 &mdio {
-	status = "ok";
+	status = "okay";
 	ethphy0: ethernet-phy@0 {
 		compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
 		reg = <0>;
arch/arm/boot/dts/keystone-k2hk-evm.dts +1 -1
index ad4e22afe133..5e85f000acc3 100644
@@ -183,7 +183,7 @@
 };
 
 &mdio {
-	status = "ok";
+	status = "okay";
 	ethphy0: ethernet-phy@0 {
 		compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
 		reg = <0>;
arch/arm/boot/dts/keystone-k2l-evm.dts +1 -1
index e200533d26a4..a6cbff4cfe20 100644
@@ -132,7 +132,7 @@
 };
 
 &mdio {
-	status = "ok";
+	status = "okay";
 	ethphy0: ethernet-phy@0 {
 		compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
 		reg = <0>;
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 ARM: dts: keystone-k2g-evm: Fix dss node status to "okay"

In reply to Roger Quadros

As per Device Tree core schema [1], status parameter of nodes can be either "okay" or "disabled".

U-boot Driver Model does not recognize status="ok" either and treats the node as disabled.

[1] https://github.com/devicetree-org/dt-schema/blob/master/schemas/dt-core.yaml#L36

---
 arch/arm/boot/dts/keystone-k2g-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/keystone-k2g-evm.dts +1 -1
index d800f26b6275..57680323e202 100644
@@ -534,7 +534,7 @@
 &dss {
 	pinctrl-names = "default";
 	pinctrl-0 = <&vout_pins>;
-	status = "ok";
+	status = "okay";
 
 	port {
 		dpi_out: endpoint {
Signature · 1 line
2.17.1
#3 lore raw
In reply to Roger Quadros
Quoted 11 lines · Roger Quadros

Hi Santosh,

This series fixes mdio and dss status nodes from "ok" to "okay"

As per Device Tree core schema [1], status parameter of nodes can be either "okay" or "disabled".

U-boot Driver Model does not recognize status="ok" either and treats the node as disabled.

[1] https://github.com/devicetree-org/dt-schema/blob/master/schemas/dt-core.yaml#L36

Wondering if it is better to refer to the device tree specification itself rather than the schema implementation of the specification..

https://github.com/devicetree-org/devicetree-specification/releases/tag/v0.3
for example.

Quoted 17 lines

cheers,
-roger

Roger Quadros (2):
ARM: dts: keystone-k2*-evm: Fix mdio node status to "okay"
ARM: dts: keystone-k2g-evm: Fix dss node status to "okay"

 arch/arm/boot/dts/keystone-k2e-evm.dts  | 2 +-
 arch/arm/boot/dts/keystone-k2g-evm.dts  | 2 +-
 arch/arm/boot/dts/keystone-k2hk-evm.dts | 2 +-
 arch/arm/boot/dts/keystone-k2l-evm.dts  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1
Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D