Skip to contentSkip to conversation

arm: dts: renesas: Tidy-up status

PATCH New Geert Uytterhoeven 2 participants 15 messages Mar 10, 2017 – Mar 13, 2017

Subsystems (2)
lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

cover arm: dts: renesas: Tidy-up status

Hi Simon, Magnus,

This patch series performs some cleanups on the Renesas DT source files:
- Patch 1 replaces "ok" by "okay" in statuses, as the latter is the recommended form,
- Patches 2-13 drop superfluous status updates when overriding the clock frequencies of fixed-frequency clocks, as they have already been enabled in the SoC-specific DTS file.

Thanks!

Geert Uytterhoeven (13):
ARM: dts: porter: Always use status "okay" to enable devices
ARM: dts: bockw: Drop superfluous status update for frequency override
ARM: dts: marzen: Drop superfluous status update for frequency
override
ARM: dts: lager: Drop superfluous status update for frequency override
ARM: dts: koelsch: Drop superfluous status updates for frequency
overrides
ARM: dts: porter: Drop superfluous status update for frequency
override
ARM: dts: gose: Drop superfluous status update for frequency override
ARM: dts: alt: Drop superfluous status update for frequency override
ARM: dts: silk: Drop superfluous status update for frequency override
arm64: dts: h3ulcb: Drop superfluous status update for frequency
override
arm64: dts: r8a7795: salvator-x: Drop superfluous status updates for
frequency overrides
arm64: dts: m3ulcb: Drop superfluous status update for frequency
override
arm64: dts: r8a7796: salvator-x: Drop superfluous status update for
frequency override

 arch/arm/boot/dts/r8a7778-bockw.dts                | 1 -
 arch/arm/boot/dts/r8a7779-marzen.dts               | 1 -
 arch/arm/boot/dts/r8a7790-lager.dts                | 1 -
 arch/arm/boot/dts/r8a7791-koelsch.dts              | 2 --
 arch/arm/boot/dts/r8a7791-porter.dts               | 5 ++---
 arch/arm/boot/dts/r8a7793-gose.dts                 | 1 -
 arch/arm/boot/dts/r8a7794-alt.dts                  | 1 -
 arch/arm/boot/dts/r8a7794-silk.dts                 | 1 -
 arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts     | 1 -
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 2 --
 arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts     | 1 -
 arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 1 -
 12 files changed, 2 insertions(+), 16 deletions(-)
Signature · 12 lines
2.7.4

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
author maintainer
#1 lore raw

PATCH 1/13 ARM: dts: porter: Always use status "okay" to enable devices

While status "ok" does work, the canonical form is "okay", so update the few places that used the former.

---
 arch/arm/boot/dts/r8a7791-porter.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/r8a7791-porter.dts +2 -2
index 6761d11d3f9e1317..d9aa2cd6d6256776 100644
@@ -226,7 +226,7 @@
 
 	phy-handle = <&phy1>;
 	renesas,ether-link-active-low;
-	status = "ok";
+	status = "okay";
 
 	phy1: ethernet-phy@1 {
 		reg = <1>;
@@ -359,7 +359,7 @@
 
 /* composite video input */
 &vin0 {
-	status = "ok";
+	status = "okay";
 	pinctrl-0 = <&vin0_pins>;
 	pinctrl-names = "default";
 
Signature · 1 line
2.7.4
author maintainer
#2 lore raw

PATCH 2/13 ARM: dts: bockw: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The scif_clk device node is already enabled in r8a7778.dtsi, so there is no need to update its status again.

---
 arch/arm/boot/dts/r8a7778-bockw.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/r8a7778-bockw.dts +0 -1
index 211d239d9041a886..c79d55eb43c53fde 100644
@@ -229,5 +229,4 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
Signature · 1 line
2.7.4
author maintainer
#3 lore raw

PATCH 3/13 ARM: dts: marzen: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The scif_clk device node is already enabled in r8a7779.dtsi, so there is no need to update its status again.

---
 arch/arm/boot/dts/r8a7779-marzen.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/r8a7779-marzen.dts +0 -1
index 89c5b24a3d03f049..9412a86f9b300fa7 100644
@@ -236,7 +236,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &sdhi0 {
Signature · 1 line
2.7.4
author maintainer
#4 lore raw

PATCH 4/13 ARM: dts: lager: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The scif_clk device node is already enabled in r8a7790.dtsi, so there is no need to update its status again.

---
 arch/arm/boot/dts/r8a7790-lager.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/r8a7790-lager.dts +0 -1
index bd512c86e8522233..ba100a6f67ca554c 100644
@@ -581,7 +581,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &msiof1 {
Signature · 1 line
2.7.4
author maintainer
#5 lore raw

PATCH 5/13 ARM: dts: koelsch: Drop superfluous status updates for frequency overrides

In reply to Geert Uytterhoeven

The scif_clk and pcie_bus_clk device nodes are already enabled in r8a7791.dtsi, so there is no need to update their statuses again.

---
 arch/arm/boot/dts/r8a7791-koelsch.dts | 2 --
 1 file changed, 2 deletions(-)
arch/arm/boot/dts/r8a7791-koelsch.dts +0 -2
index 5405d337d7448665..59beb8402a36007b 100644
@@ -516,7 +516,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &sdhi0 {
@@ -767,7 +766,6 @@
 
 &pcie_bus_clk {
 	clock-frequency = <100000000>;
-	status = "okay";
 };
 
 &pciec {
Signature · 1 line
2.7.4
author maintainer
#6 lore raw

PATCH 6/13 ARM: dts: porter: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The pcie_bus_clk device node is already enabled in r8a7791.dtsi, so there is no need to update its status again.

---
 arch/arm/boot/dts/r8a7791-porter.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/r8a7791-porter.dts +0 -1
index d9aa2cd6d6256776..95da5cb9d37ab8e5 100644
@@ -401,7 +401,6 @@
 
 &pcie_bus_clk {
 	clock-frequency = <100000000>;
-	status = "okay";
 };
 
 &pciec {
Signature · 1 line
2.7.4
author maintainer
#7 lore raw

PATCH 7/13 ARM: dts: gose: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The scif_clk device node is already enabled in r8a7793.dtsi, so there is no need to update its status again.

---
 arch/arm/boot/dts/r8a7793-gose.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/r8a7793-gose.dts +0 -1
index 92fff07c5e2bfe13..806c93f6ae8b9fda 100644
@@ -412,7 +412,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &sdhi0 {
Signature · 1 line
2.7.4
author maintainer
#8 lore raw

PATCH 8/13 ARM: dts: alt: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The scif_clk device node is already enabled in r8a7794.dtsi, so there is no need to update its status again.

---
 arch/arm/boot/dts/r8a7794-alt.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/r8a7794-alt.dts +0 -1
index 569e3f0e97a51804..3fcf76b8e923be86 100644
@@ -375,7 +375,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &qspi {
Signature · 1 line
2.7.4
author maintainer
#9 lore raw

PATCH 9/13 ARM: dts: silk: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The scif_clk device node is already enabled in r8a7794.dtsi, so there is no need to update its status again.

---
 arch/arm/boot/dts/r8a7794-silk.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/r8a7794-silk.dts +0 -1
index cf880ac06f4b795f..c742d80d6dca8548 100644
@@ -248,7 +248,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &ether {
Signature · 1 line
2.7.4
author maintainer
#10 lore raw

PATCH 10/13 arm64: dts: h3ulcb: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The scif_clk device node is already enabled in r8a7795.dtsi, so there is no need to update its status again.

---
 arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts +0 -1
index 69c623faf80c1b2b..ab352159de6572c9 100644
@@ -228,7 +228,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &i2c2 {
Signature · 1 line
2.7.4
author maintainer
#11 lore raw

PATCH 11/13 arm64: dts: r8a7795: salvator-x: Drop superfluous status updates for frequency overrides

In reply to Geert Uytterhoeven

The scif_clk and pcie_bus_clk device nodes are already enabled in r8a7795.dtsi, so there is no need to update their statuses again.

---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +0 -2
index d004eb7271578c83..3a44bd6b3455deb1 100644
@@ -443,7 +443,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &i2c2 {
@@ -669,7 +668,6 @@
 
 &pcie_bus_clk {
 	clock-frequency = <100000000>;
-	status = "okay";
 };
 
 &pciec0 {
Signature · 1 line
2.7.4
author maintainer
#12 lore raw

PATCH 12/13 arm64: dts: m3ulcb: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The scif_clk device node is already enabled in r8a7796.dtsi, so there is no need to update its status again.

---
 arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts +0 -1
index c3f064ac2cb44971..372b2a9447163b24 100644
@@ -180,7 +180,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &wdt0 {
Signature · 1 line
2.7.4
author maintainer
#13 lore raw

PATCH 13/13 arm64: dts: r8a7796: salvator-x: Drop superfluous status update for frequency override

In reply to Geert Uytterhoeven

The scif_clk device node is already enabled in r8a7796.dtsi, so there is no need to update its status again.

---
 arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +0 -1
index 74b8c653c9fed62a..c9f59b6ce33f693f 100644
@@ -250,7 +250,6 @@
 
 &scif_clk {
 	clock-frequency = <14745600>;
-	status = "okay";
 };
 
 &i2c2 {
Signature · 1 line
2.7.4
Applied
#14 lore raw

cover arm: dts: renesas: Tidy-up status

In reply to Geert Uytterhoeven
Quoted 10 lines · Geert Uytterhoeven

Hi Simon, Magnus,

This patch series performs some cleanups on the Renesas DT source files:
- Patch 1 replaces "ok" by "okay" in statuses, as the latter is the recommended form,
- Patches 2-13 drop superfluous status updates when overriding the clock frequencies of fixed-frequency clocks, as they have already been enabled in the SoC-specific DTS file.

Thanks!

Thanks, applied.