arm64: dts: rockchip: Move dsi address+size-cells from SoC to rk3399 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 rk3399 based boards.

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 <didi.debian@cknow.org>
Link: https://lore.kernel.org/r/20250709132323.128757-3-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
Diederik de Haas 2025-07-09 15:15:15 +02:00 committed by Heiko Stuebner
parent 98921ad249
commit d9c9115c61
4 changed files with 6 additions and 7 deletions

View File

@ -2071,8 +2071,6 @@ mipi_dsi: dsi@ff960000 {
resets = <&cru SRST_P_MIPI_DSI0>;
reset-names = "apb";
rockchip,grf = <&grf>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
ports {
@ -2112,8 +2110,6 @@ mipi_dsi1: dsi@ff968000 {
resets = <&cru SRST_P_MIPI_DSI1>;
reset-names = "apb";
rockchip,grf = <&grf>;
#address-cells = <1>;
#size-cells = <0>;
#phy-cells = <0>;
status = "disabled";

View File

@ -627,8 +627,10 @@ &mipi_dphy_rx0 {
};
&mipi_dsi {
status = "okay";
clock-master;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
ports {
mipi_out: port@1 {

View File

@ -587,6 +587,8 @@ &isp1_mmu {
&mipi_dsi {
clock-master;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
panel@0 {

View File

@ -47,10 +47,9 @@ touch: touchscreen@5d {
};
&mipi_dsi {
clock-master;
#address-cells = <1>;
#size-cells = <0>;
clock-master;
status = "okay";
ports {