ARM, arm64: dts: renesas: update register properties
Subsystems (2)
cover ARM, arm64: dts: renesas: update register properties
Hi,
this series:
1. Drops unnecessary address properties from VIN port nodes on Renesas R-Car Gen2 SoC board DTSes. These are unnecessary as the nodes to not have bus addresses.
2. And adds address properties to R-Car Sound port nodes on Renesas R-Car Gen2 SoC DTSes. These are necessary as the nodes have unit names.
Simon Horman (10):
ARM: dts: lager: Drop unnecessary address properties from port node
ARM: dts: porter: Drop unnecessary address properties from vin port
node
ARM: dts: gose: Drop unnecessary address properties from port nodes
ARM: dts: koelsch: Drop unnecessary address properties from port nodes
ARM: dts: alt: Drop unnecessary address properties from vin port node
ARM: dts: silk: Drop unnecessary address properties from vin port node
ARM: dts: kzm9d: Drop unnecessary address properties from gpio_keys
node
arm64: dts: renesas: r8a7795: Add address properties to rcar_sound
port nodes
arm64: dts: renesas: r8a7796: Add address properties to rcar_sound
port nodes
arm64: dts: renesas: r8a77965: Add address properties to rcar_sound
port nodes
arch/arm/boot/dts/emev2-kzm9d.dts | 3 --- arch/arm/boot/dts/r8a7790-lager.dts | 3 --- arch/arm/boot/dts/r8a7791-koelsch.dts | 6 ------ arch/arm/boot/dts/r8a7791-porter.dts | 3 --- arch/arm/boot/dts/r8a7793-gose.dts | 6 ------ arch/arm/boot/dts/r8a7794-alt.dts | 3 --- arch/arm/boot/dts/r8a7794-silk.dts | 3 --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 14 ++++++++++++++ arch/arm64/boot/dts/renesas/r8a7796.dtsi | 11 +++++++++++ arch/arm64/boot/dts/renesas/r8a77965.dtsi | 8 ++++++++ 10 files changed, 33 insertions(+), 27 deletions(-)
Signature · 1 line
2.11.0
PATCH 1/10 ARM: dts: lager: Drop unnecessary address properties from port node
The vin port node does not have an address and thus does not need address-cells or address size-properties.
This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7790-lager.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef1000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/r8a7790-lager.dts | 3 --- 1 file changed, 3 deletions(-)
arch/arm/boot/dts/r8a7790-lager.dts +0 -3
@@ -902,9 +902,6 @@ status = "okay"; port { - #address-cells = <1>; - #size-cells = <0>; - vin1ep0: endpoint { remote-endpoint = <&adv7180>; bus-width = <8>;
Signature · 1 line
2.11.0
PATCH 2/10 ARM: dts: porter: Drop unnecessary address properties from vin port node
In reply to Simon HormanThe vin port node does not have an address and thus does not need address-cells or address size-properties.
This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7791-porter.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef0000/port: unnecessary #address-cells/#size-cells without
--- arch/arm/boot/dts/r8a7791-porter.dts | 3 --- 1 file changed, 3 deletions(-)
arch/arm/boot/dts/r8a7791-porter.dts +0 -3
@@ -386,9 +386,6 @@ pinctrl-names = "default"; port { - #address-cells = <1>; - #size-cells = <0>; - vin0ep: endpoint { remote-endpoint = <&adv7180>; bus-width = <8>;
Signature · 1 line
2.11.0
PATCH 3/10 ARM: dts: gose: Drop unnecessary address properties from port nodes
In reply to Simon HormanThe vin port nodes does not have an address and thus does not need address-cells or address size-properties.
This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7793-gose.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef0000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property arch/arm/boot/dts/r8a7793-gose.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef1000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/r8a7793-gose.dts | 6 ------ 1 file changed, 6 deletions(-)
arch/arm/boot/dts/r8a7793-gose.dts +0 -6
@@ -763,9 +763,6 @@ pinctrl-names = "default"; port { - #address-cells = <1>; - #size-cells = <0>; - vin0ep2: endpoint { remote-endpoint = <&adv7612_out>; bus-width = <24>;
@@ -785,9 +782,6 @@ status = "okay"; port { - #address-cells = <1>; - #size-cells = <0>; - vin1ep: endpoint { remote-endpoint = <&adv7180_out>; bus-width = <8>;
Signature · 1 line
2.11.0
PATCH 4/10 ARM: dts: koelsch: Drop unnecessary address properties from port nodes
In reply to Simon HormanThe vin port nodes does not have an address and thus does not need address-cells or address size-properties.
This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7791-koelsch.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef0000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property arch/arm/boot/dts/r8a7791-koelsch.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef1000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/r8a7791-koelsch.dts | 6 ------ 1 file changed, 6 deletions(-)
arch/arm/boot/dts/r8a7791-koelsch.dts +0 -6
@@ -855,9 +855,6 @@ pinctrl-names = "default"; port { - #address-cells = <1>; - #size-cells = <0>; - vin0ep2: endpoint { remote-endpoint = <&adv7612_out>; bus-width = <24>;
@@ -876,9 +873,6 @@ pinctrl-names = "default"; port { - #address-cells = <1>; - #size-cells = <0>; - vin1ep: endpoint { remote-endpoint = <&adv7180>; bus-width = <8>;
Signature · 1 line
2.11.0
PATCH 5/10 ARM: dts: alt: Drop unnecessary address properties from vin port node
In reply to Simon HormanThe vin port node does not have an address and thus does not need address-cells or address size-properties.
This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7794-alt.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef0000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/r8a7794-alt.dts | 3 --- 1 file changed, 3 deletions(-)
arch/arm/boot/dts/r8a7794-alt.dts +0 -3
@@ -380,9 +380,6 @@ pinctrl-names = "default"; port { - #address-cells = <1>; - #size-cells = <0>; - vin0ep: endpoint { remote-endpoint = <&adv7180>; bus-width = <8>;
Signature · 1 line
2.11.0
PATCH 6/10 ARM: dts: silk: Drop unnecessary address properties from vin port node
In reply to Simon HormanThe vin port node does not have an address and thus does not need address-cells or address size-properties.
This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7794-silk.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef0000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/r8a7794-silk.dts | 3 --- 1 file changed, 3 deletions(-)
arch/arm/boot/dts/r8a7794-silk.dts +0 -3
@@ -475,9 +475,6 @@ pinctrl-names = "default"; port { - #address-cells = <1>; - #size-cells = <0>; - vin0ep: endpoint { remote-endpoint = <&adv7180>; bus-width = <8>;
Signature · 1 line
2.11.0
PATCH 7/10 ARM: dts: kzm9d: Drop unnecessary address properties from gpio_keys node
In reply to Simon HormanThe gpio_keys node does not have an address and thus does not need address-cells or address size-properties.
This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7794-silk.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef0000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/emev2-kzm9d.dts | 3 --- 1 file changed, 3 deletions(-)
arch/arm/boot/dts/emev2-kzm9d.dts +0 -3
@@ -34,9 +34,6 @@ gpio_keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - one { debounce-interval = <50>; wakeup-source;
Signature · 1 line
2.11.0
PATCH 7/10 ARM: dts: kzm9d: Drop unnecessary address properties from gpio_keys node
Hi Simon,
Thanks for your work.
Quoted 6 lines · Simon Horman
The
gpio_keysnode does not have an address and thus does not need address-cells or address size-properties.This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7794-silk.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef0000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
This warning don't seem to match with the change nor the rest of the commit message :-)
With that addressed and for the whole series:
Quoted 23 lines
Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/emev2-kzm9d.dts | 3 --- 1 file changed, 3 deletions(-)arch/arm/boot/dts/emev2-kzm9d.dts +0
-3@@ -34,9 +34,6 @@ gpio_keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - one { debounce-interval = <50>; wakeup-source;Signature · 1 line
2.11.0
Signature · 2 lines
Regards, Niklas S?derlund
PATCH 7/10 ARM: dts: kzm9d: Drop unnecessary address properties from gpio_keys node
Quoted 12 lines · Niklas S?derlund
Hi Simon,
Thanks for your work.
Quoted 6 lines · Simon Horman
The
gpio_keysnode does not have an address and thus does not need address-cells or address size-properties.This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7794-silk.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef0000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
Quoted 6 lines
This warning don't seem to match with the change nor the rest of the commit message :-)
With that addressed and for the whole series:
Reviewed-by Niklas S?derlund <[email protected]>
Thanks!
The fix is:
arch/arm/boot/dts/emev2-kzm9d.dtb: Warning (avoid_unnecessary_addr_size): /gpio_keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
Quoted 27 lines
Quoted 22 lines
Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/emev2-kzm9d.dts | 3 --- 1 file changed, 3 deletions(-)arch/arm/boot/dts/emev2-kzm9d.dts +0
-3@@ -34,9 +34,6 @@ gpio_keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - one { debounce-interval = <50>; wakeup-source;Signature · 1 line
2.11.0Signature · 2 lines
Regards, Niklas S?derlund
PATCH 7/10 ARM: dts: kzm9d: Drop unnecessary address properties from gpio_keys node
Quoted 18 lines · Simon Horman
Quoted 17 lines · Niklas S?derlund
Hi Simon,
Thanks for your work.
Quoted 6 lines · Simon Horman
The
gpio_keysnode does not have an address and thus does not need address-cells or address size-properties.This is flagged by dtc as follows:
# make dtbs W=1 arch/arm/boot/dts/r8a7794-silk.dtb: Warning (avoid_unnecessary_addr_size): /soc/video at e6ef0000/port: unnecessary #address-cells/#size-cells without "ranges" or child "reg" propertyThis warning don't seem to match with the change nor the rest of the commit message :-)
With that addressed and for the whole series:
Quoted 7 lines
Quoted 1 line
Reviewed-by Niklas S?derlund <[email protected]>Thanks!
The fix is:
arch/arm/boot/dts/emev2-kzm9d.dtb: Warning (avoid_unnecessary_addr_size): /gpio_keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
Series applied.
PATCH 8/10 arm64: dts: renesas: r8a7795: Add address properties to rcar_sound port nodes
In reply to Simon HormanThe rcar_sound port nodes have unit names and thus should have register properties.
This is flagged by dtc as follows:
# make dtbs W=1 ... DTC arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 0: node has a unit name, but no reg property arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 1: node has a unit name, but no reg property arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 2: node has a unit name, but no reg property ... DTC arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dtb arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 0: node has a unit name, but no reg property arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 1: node has a unit name, but no reg property arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 2: node has a unit name, but no reg property DTC arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 0: node has a unit name, but no reg property arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 1: node has a unit name, but no reg property arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 2: node has a unit name, but no reg property
Prior to this patch the port nodes only defined in board DTS files. As the register properties are common this patch defines the port nodes and provides register properties in the SoC DTS file.
--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +14 -0
@@ -1711,6 +1711,20 @@ dma-names = "rx", "tx", "rxu", "txu"; }; }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port at 0 { + reg = <0>; + }; + port at 1 { + reg = <1>; + }; + port at 2 { + reg = <2>; + }; + }; }; audma0: dma-controller at ec700000 {
Signature · 1 line
2.11.0
PATCH 9/10 arm64: dts: renesas: r8a7796: Add address properties to rcar_sound port nodes
In reply to Simon HormanThe rcar_sound port nodes have unit names and thus should have register properties.
This is flagged by dtc as follows:
# make dtbs W=1 ... DTC arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 0: node has a unit name, but no reg property arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 1: node has a unit name, but no reg property ... DTC arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dtb arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 0: node has a unit name, but no reg property arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 1: node has a unit name, but no reg property
Prior to this patch the port nodes only defined in board DTS files. As the register properties are common this patch defines the port nodes and provides register properties in the SoC DTS file.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +11 -0
@@ -1594,6 +1594,17 @@ dma-names = "rx", "tx", "rxu", "txu"; }; }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port at 0 { + reg = <0>; + }; + port at 1 { + reg = <1>; + }; + }; }; audma0: dma-controller at ec700000 {
Signature · 1 line
2.11.0
PATCH 10/10 arm64: dts: renesas: r8a77965: Add address properties to rcar_sound port nodes
In reply to Simon HormanThe rcar_sound port nodes have unit names and thus should have register properties.
This is flagged by dtc as follows:
# make dtbs W=1 ... DTC arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dtb arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 0: node has a unit name, but no reg property DTC arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dtb arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 0: node has a unit name, but no reg property
Prior to this patch the port nodes only defined in board DTS files. As the register properties are common this patch defines the port nodes and provides register properties in the SoC DTS file.
--- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +8 -0
@@ -856,6 +856,14 @@ ssi1: ssi-1 { }; }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port at 0 { + reg = <0>; + }; + }; }; xhci0: usb at ee000000 {
Signature · 1 line
2.11.0
cover ARM, arm64: dts: renesas: update register properties
In reply to Simon HormanHi Simon,
Quoted 5 lines · Simon Horman
this series:
1. Drops unnecessary address properties from VIN port nodes on Renesas R-Car Gen2 SoC board DTSes. These are unnecessary as the nodes to not have bus addresses.
I guess the example in Documentation/devicetree/bindings/media/rcar_vin.txt should be updated, too?
Quoted 3 lines
2. And adds address properties to R-Car Sound port nodes on Renesas R-Car Gen2 SoC DTSes. These are necessary as the nodes have unit names.
Documentation/devicetree/bindings/sound/renesas,rsnd.txt doesn't say anything about the presence of ports?
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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 Torvaldscover ARM, arm64: dts: renesas: update register properties
Quoted 4 lines · Geert Uytterhoeven
Hi Simon,
On Thu, Apr 26, 2018 at 12:29 PM, Simon Horman
<[email protected]> wrote:
Quoted 8 lines
Quoted 5 lines
this series:
1. Drops unnecessary address properties from VIN port nodes on Renesas R-Car Gen2 SoC board DTSes. These are unnecessary as the nodes to not have bus addresses.
I guess the example in
Documentation/devicetree/bindings/media/rcar_vin.txtshould be updated, too?
I have sent a patch for this.
Quoted 6 lines
Quoted 3 lines
2. And adds address properties to R-Car Sound port nodes on Renesas R-Car Gen2 SoC DTSes. These are necessary as the nodes have unit names.
Documentation/devicetree/bindings/sound/renesas,rsnd.txtdoesn't say anything about the presence of ports?