[PATCH] arm64: dts: rockchip: drop panel port unit address in GRU Scarlet

Krzysztof Kozlowski posted 1 patch 1 year, 10 months ago
arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm64: dts: rockchip: drop panel port unit address in GRU Scarlet
Posted by Krzysztof Kozlowski 1 year, 10 months ago
Panel port does not have "reg", thus it should not have unit address, as
reported by dtc W=1 warning:

  rk3399-gru-scarlet.dtsi:666.32-668.7: Warning (unit_address_vs_reg): /dsi@ff960000/panel@0/ports/port@1/endpoint@1: node has a unit name, but no reg or ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi
index 5846a11f0e84..6d1e3ca86392 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi
@@ -663,7 +663,7 @@ mipi_in_panel: endpoint {
 			port@1 {
 				reg = <1>;
 
-				mipi1_in_panel: endpoint@1 {
+				mipi1_in_panel: endpoint {
 					remote-endpoint = <&mipi1_out_panel>;
 				};
 			};
-- 
2.34.1
Re: [PATCH] arm64: dts: rockchip: drop panel port unit address in GRU Scarlet
Posted by Heiko Stuebner 1 year, 10 months ago
On Mon, 1 Apr 2024 16:09:39 +0200, Krzysztof Kozlowski wrote:
> Panel port does not have "reg", thus it should not have unit address, as
> reported by dtc W=1 warning:
> 
>   rk3399-gru-scarlet.dtsi:666.32-668.7: Warning (unit_address_vs_reg): /dsi@ff960000/panel@0/ports/port@1/endpoint@1: node has a unit name, but no reg or ranges property
> 
> 

Applied, thanks!

[1/1] arm64: dts: rockchip: drop panel port unit address in GRU Scarlet
      commit: 4ddc13461740308d3133c2defda97d9e3a30ede8

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>