]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Simplify edp endpoints on several rk3399 boards
authorDiederik de Haas <didi.debian@cknow.org>
Wed, 9 Jul 2025 13:15:18 +0000 (15:15 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 15 Jul 2025 18:19:23 +0000 (20:19 +0200)
The only thing actually added here is a single endpoint on edp_out,
which is already defined in rk3399-base.dtsi, so it's simpler to just
reference that phandle, which allows the removal of several properties.

This fixes the following DTB validation warnings:

  graph node has single child node 'endpoint@0',
  #address-cells/#size-cells are not necessary

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Link: https://lore.kernel.org/r/20250709132323.128757-6-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts

index a9ea4b0daa04c6e09a28e014bec9e164a81d4a3e..9d07353df52c899252f34964d972859f3f2c0e25 100644 (file)
         */
        assigned-clocks = <&cru PCLK_EDP>;
        assigned-clock-rates = <24000000>;
+};
 
-       ports {
-               edp_out: port@1 {
-                       reg = <1>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
-                       edp_out_panel: endpoint@0 {
-                               reg = <0>;
-                               remote-endpoint = <&panel_in_edp>;
-                       };
-               };
+&edp_out {
+       edp_out_panel: endpoint {
+               remote-endpoint = <&panel_in_edp>;
        };
 };
 
index 5473070823cb121c786b9fd47b6d89b0ed5dbb9d..5a8551d9ffe47e918abcbe1d46a893ba684fe9a5 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&edp_hpd>;
        status = "okay";
+};
 
-       ports {
-               edp_out: port@1 {
-                       reg = <1>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
-                       edp_out_panel: endpoint@0 {
-                               reg = <0>;
-                               remote-endpoint = <&panel_in_edp>;
-                       };
-               };
+&edp_out {
+       edp_out_panel: endpoint {
+               remote-endpoint = <&panel_in_edp>;
        };
 };
 
index fdaa8472b7a7207533e981b3ad04046fd5a9512b..a4ceafe6dd7a873206ccc9b3f2b12ad95513417e 100644 (file)
 
 &edp {
        status = "okay";
+};
 
-       ports {
-               edp_out: port@1 {
-                       reg = <1>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
-                       edp_out_panel: endpoint@0 {
-                               reg = <0>;
-                               remote-endpoint = <&panel_in_edp>;
-                       };
-               };
+&edp_out {
+       edp_out_panel: endpoint {
+               remote-endpoint = <&panel_in_edp>;
        };
 };
-
 &i2c1 {
        i2c-scl-rising-time-ns = <300>;
        i2c-scl-falling-time-ns = <15>;