Skip to content

Commit 25937eb

Browse files
diederikdehaasmmind
authored andcommitted
arm64: dts: rockchip: Simplify edp endpoints on several rk3399 boards
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 776d8e7 commit 25937eb

File tree

3 files changed

+12
-34
lines changed

3 files changed

+12
-34
lines changed

arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -250,18 +250,11 @@
250250
*/
251251
assigned-clocks = <&cru PCLK_EDP>;
252252
assigned-clock-rates = <24000000>;
253+
};
253254

254-
ports {
255-
edp_out: port@1 {
256-
reg = <1>;
257-
#address-cells = <1>;
258-
#size-cells = <0>;
259-
260-
edp_out_panel: endpoint@0 {
261-
reg = <0>;
262-
remote-endpoint = <&panel_in_edp>;
263-
};
264-
};
255+
&edp_out {
256+
edp_out_panel: endpoint {
257+
remote-endpoint = <&panel_in_edp>;
265258
};
266259
};
267260

arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -404,18 +404,11 @@
404404
pinctrl-names = "default";
405405
pinctrl-0 = <&edp_hpd>;
406406
status = "okay";
407+
};
407408

408-
ports {
409-
edp_out: port@1 {
410-
reg = <1>;
411-
#address-cells = <1>;
412-
#size-cells = <0>;
413-
414-
edp_out_panel: endpoint@0 {
415-
reg = <0>;
416-
remote-endpoint = <&panel_in_edp>;
417-
};
418-
};
409+
&edp_out {
410+
edp_out_panel: endpoint {
411+
remote-endpoint = <&panel_in_edp>;
419412
};
420413
};
421414

arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -142,21 +142,13 @@
142142

143143
&edp {
144144
status = "okay";
145+
};
145146

146-
ports {
147-
edp_out: port@1 {
148-
reg = <1>;
149-
#address-cells = <1>;
150-
#size-cells = <0>;
151-
152-
edp_out_panel: endpoint@0 {
153-
reg = <0>;
154-
remote-endpoint = <&panel_in_edp>;
155-
};
156-
};
147+
&edp_out {
148+
edp_out_panel: endpoint {
149+
remote-endpoint = <&panel_in_edp>;
157150
};
158151
};
159-
160152
&i2c1 {
161153
i2c-scl-rising-time-ns = <300>;
162154
i2c-scl-falling-time-ns = <15>;

0 commit comments

Comments
 (0)