]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: renesas: r9a09g011: Reword ethernet status
authorFabrizio Castro <fabrizio.castro.jz@renesas.com>
Wed, 18 Jan 2023 13:52:59 +0000 (13:52 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 27 Jan 2023 09:41:19 +0000 (10:41 +0100)
Although of_fdt_device_is_available returns true when the DT
property "status" is assigned "ok" or "okay", and false for every
other value, it's become common practice to assign "disabled"
when we want of_fdt_device_is_available to return false.
For some reason, the status property of the ethernet node was
assigned "disable" when originally added to the kernel. Change
it to "disabled" for consistency.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230118135259.19249-1-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g011.dtsi

index dd35a8ff72ee396b6bc0809078e3cafa32a389f3..b0c066c5e0ba80276586d1fe5d9a0149862482ce 100644 (file)
                        power-domains = <&cpg>;
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       status = "disable";
+                       status = "disabled";
                };
 
                cpg: clock-controller@a3500000 {