Commit 0b09a91a authored by Patrice Chotard's avatar Patrice Chotard
Browse files

ARM: dts: STi: Add fake reg property for sti-display-subsystem



As sti-display-subsystem sub-nodes (sti-compositor, sti-tvout
sti-hdmi, sti-hda and sti-hqvdp) are SoC's IP, we add a fake
reg property.
This allows to fix the following warning when compiling
dtb with W=1 option:

arch/arm/boot/dts/stih410-b2120.dtb: Warning (unit_address_vs_reg):
Node /soc/sti-display-subsystem/sti-hda@8d02000 has a unit name, but no reg property

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent 7aef6b3a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -11,11 +11,11 @@
#include <dt-bindings/gpio/gpio.h>
/ {
	soc {
		sti-display-subsystem {
		sti-display-subsystem@0 {
			compatible = "st,sti-display-subsystem";
			#address-cells = <1>;
			#size-cells = <1>;

			reg = <0 0>;
			assigned-clocks	= <&clk_s_d2_quadfs 0>,
					  <&clk_s_d2_quadfs 1>,
					  <&clk_s_c0_pll1 0>,
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
			status = "okay";
		};

		sti-display-subsystem {
		sti-display-subsystem@0 {
			sti-hda@8d02000 {
				status = "okay";
			};
+2 −1
Original line number Diff line number Diff line
@@ -102,11 +102,12 @@
			status = "disabled";
		};

		sti-display-subsystem {
		sti-display-subsystem@0 {
			compatible = "st,sti-display-subsystem";
			#address-cells = <1>;
			#size-cells = <1>;

			reg = <0 0>;
			assigned-clocks	= <&clk_s_d2_quadfs 0>,
					  <&clk_s_d2_quadfs 1>,
					  <&clk_s_c0_pll1 0>,