Skip to content

Commit 98921ad

Browse files
diederikdehaasmmind
authored andcommitted
arm64: dts: rockchip: Move dsi address+size-cells from SoC to px30 boards
The #address-cells and #size-cells properties are not useful on the DSI controller node; they are only useful/required on ports and panel(s). So remove them from the controller node and add them where actually needed on the various px30 based boards, which includes rk3326. This fixes the following DTB validation warnings: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property Signed-off-by: Diederik de Haas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent ae019f0 commit 98921ad

11 files changed

+20
-2
lines changed

arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
};
1313

1414
&dsi {
15+
#address-cells = <1>;
16+
#size-cells = <0>;
1517
status = "okay";
1618

1719
panel@0 {

arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
};
1313

1414
&dsi {
15+
#address-cells = <1>;
16+
#size-cells = <0>;
1517
status = "okay";
1618

1719
panel@0 {

arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
};
1313

1414
&dsi {
15+
#address-cells = <1>;
16+
#size-cells = <0>;
1517
status = "okay";
1618

1719
panel@0 {

arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
};
1717

1818
&dsi {
19+
#address-cells = <1>;
20+
#size-cells = <0>;
1921
status = "okay";
2022

2123
panel@0 {

arch/arm64/boot/dts/rockchip/px30-evb.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@
124124
};
125125

126126
&dsi {
127+
#address-cells = <1>;
128+
#size-cells = <0>;
127129
status = "okay";
128130

129131
ports {

arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
};
1313

1414
&dsi {
15+
#address-cells = <1>;
16+
#size-cells = <0>;
1517
status = "okay";
1618

1719
panel@0 {

arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
};
1313

1414
&dsi {
15+
#address-cells = <1>;
16+
#size-cells = <0>;
1517
status = "okay";
1618

1719
panel@0 {

arch/arm64/boot/dts/rockchip/px30.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,8 +1137,6 @@
11371137
resets = <&cru SRST_MIPIDSI_HOST_P>;
11381138
reset-names = "apb";
11391139
rockchip,grf = <&grf>;
1140-
#address-cells = <1>;
1141-
#size-cells = <0>;
11421140
status = "disabled";
11431141

11441142
ports {

arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@
118118
};
119119

120120
&dsi {
121+
#address-cells = <1>;
122+
#size-cells = <0>;
121123
status = "okay";
122124

123125
ports {

arch/arm64/boot/dts/rockchip/rk3326-gameforce-chi.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,8 @@
322322
};
323323

324324
&dsi {
325+
#address-cells = <1>;
326+
#size-cells = <0>;
325327
status = "okay";
326328

327329
internal_display: panel@0 {

0 commit comments

Comments
 (0)