Skip to contentSkip to conversation

ARM: dts: da850-evm: Change aemif node status from "ok" to "okay"

PATCH In review Roger Quadros 2 participants 3 messages Aug 24, 2021 – Oct 25, 2021 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: da850-evm: Change aemif node status from "ok" to "okay"

As per Device Tree Specification [1], the status parameter of nodes can be "okay", "disabled", etc. "ok" is not a valid parameter.

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

[1] https://github.com/devicetree-org/devicetree-specification/releases/tag/v0.3

---
Changelog:
v2
-refer to DT spec instead of schema in commit log.

 arch/arm/boot/dts/da850-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/da850-evm.dts +1 -1
index 87c517d65f62..9dc79b5977bf 100644
@@ -415,7 +415,7 @@
 &aemif {
 	pinctrl-names = "default";
 	pinctrl-0 = <&nand_pins>;
-	status = "ok";
+	status = "okay";
 	cs3 {
 		#address-cells = <2>;
 		#size-cells = <1>;
Signature · 1 line
2.17.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 5 lines · Roger Quadros

As per Device Tree Specification [1], the status parameter of nodes can be "okay", "disabled", etc. "ok" is not a valid parameter.

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

^^ the above comment might be fine to indicate the side effect of non-compliance

Quoted 4 lines

[1] https://github.com/devicetree-org/devicetree-specification/releases/tag/v0.3

Quoted 24 lines

---
Changelog:
v2

(quoted diff) +0 -1
-refer to DT spec instead of schema in commit log.
 
 arch/arm/boot/dts/da850-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/da850-evm.dts +1 -1
index 87c517d65f62..9dc79b5977bf 100644
@@ -415,7 +415,7 @@
 &aemif {
 	pinctrl-names = "default";
 	pinctrl-0 = <&nand_pins>;
-	status = "ok";
+	status = "okay";
 	cs3 {
 		#address-cells = <2>;
 		#size-cells = <1>;
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
#2 lore raw

Hi Sekhar,

Quoted 11 lines · Nishanth Menon
Quoted 5 lines · Roger Quadros

As per Device Tree Specification [1], the status parameter of nodes can be "okay", "disabled", etc. "ok" is not a valid parameter.

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

^^ the above comment might be fine to indicate the side effect of non-compliance

Quoted 1 line
Quoted 5 lines
Quoted 3 lines

[1] https://github.com/devicetree-org/devicetree-specification/releases/tag/v0.3

Could you please pick this one if not too late for -next. Thanks.

Quoted 9 lines
Quoted 9 lines

---
Changelog:
v2
-refer to DT spec instead of schema in commit log.

 arch/arm/boot/dts/da850-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 17 lines
Quoted 16 lines
arch/arm/boot/dts/da850-evm.dts +1 -1
index 87c517d65f62..9dc79b5977bf 100644
@@ -415,7 +415,7 @@
 &aemif {
 	pinctrl-names = "default";
 	pinctrl-0 = <&nand_pins>;
-	status = "ok";
+	status = "okay";
 	cs3 {
 		#address-cells = <2>;
 		#size-cells = <1>;
Signature · 1 line
2.17.1

--
cheers,
-roger