* [PATCH] arm64: dts: microchip: use "okay" instead of "ok"
@ 2022-08-16 10:36 Robert Marko
2022-08-16 11:17 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Robert Marko @ 2022-08-16 10:36 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, lars.povlsen, Steen.Hegelund,
UNGLinuxDriver, devicetree, linux-arm-kernel, linux-kernel
Cc: luka.perkov, Robert Marko
DT specification only allows "okay", and for projects like U-boot
status = "ok" won't enable the device at all.
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi | 2 +-
arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi b/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi
index 4d55ae868b50..80217d5f3f66 100644
--- a/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi
+++ b/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi
@@ -529,7 +529,7 @@ i2c_sfp20: i2c_sfp20 {
};
&mdio3 {
- status = "ok";
+ status = "okay";
phy64: ethernet-phy@64 {
reg = <28>;
};
diff --git a/arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi b/arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi
index ec90bda7ed6a..0760cf2e48bc 100644
--- a/arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi
+++ b/arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi
@@ -208,7 +208,7 @@ sfp_eth63: sfp-eth63 {
};
&mdio0 {
- status = "ok";
+ status = "okay";
phy0: ethernet-phy@0 {
reg = <0>;
};
@@ -284,7 +284,7 @@ phy23: ethernet-phy@23 {
};
&mdio1 {
- status = "ok";
+ status = "okay";
phy24: ethernet-phy@24 {
reg = <0>;
};
@@ -360,7 +360,7 @@ phy47: ethernet-phy@47 {
};
&mdio3 {
- status = "ok";
+ status = "okay";
phy64: ethernet-phy@64 {
reg = <28>;
};
--
2.37.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: microchip: use "okay" instead of "ok"
2022-08-16 10:36 [PATCH] arm64: dts: microchip: use "okay" instead of "ok" Robert Marko
@ 2022-08-16 11:17 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-16 11:17 UTC (permalink / raw)
To: Robert Marko, robh+dt, krzysztof.kozlowski+dt, lars.povlsen,
Steen.Hegelund, UNGLinuxDriver, devicetree, linux-arm-kernel,
linux-kernel
Cc: luka.perkov
On 16/08/2022 13:36, Robert Marko wrote:
> DT specification only allows "okay", and for projects like U-boot
> status = "ok" won't enable the device at all.
>
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-16 11:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-16 10:36 [PATCH] arm64: dts: microchip: use "okay" instead of "ok" Robert Marko
2022-08-16 11:17 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).