From nobody Wed Oct 8 12:36:06 2025 Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC1402E8DFE for ; Fri, 27 Jun 2025 15:27:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038030; cv=none; b=tW5Xpl3Xj4/48RPZw0QloOs/Q6phbbV03O/tgglo8uVzqHgocFJvzYswNPMlWkQYNCx6cQDvi8dR3dZ9DZ5RstKoHLhDjLu6nk1FvsD7Pw7A+bg1zgnGXA/ZfU9A2z8oKHAN9/WeRdmqOdHijAlxtxJOHLBFzHRDImW0sLNXBM0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038030; c=relaxed/simple; bh=otwMM5fWY0xgSp6WB5eVvdwJYcbIso6Z5/lU9k/++sI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SP6LTungquO09ZcUC6FZ3gTppZAoB/WANsE+nTmXCCuA61KUZ7mIWR4OUgq86ELea7sA4RNLdBBPXrTDtUzznxXlLdXnyE0CpCv79Md4BzxzJSygDv+U3ukrZFG8JnVwzKQ9Z+TB2wK9Gvip+qRCj3vaBqFzlOg+VvzfODK17H4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=J1zFNCVZ; arc=none smtp.client-ip=91.218.175.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="J1zFNCVZ" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1751038024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+4GMyTXjbEjmIMha8tHAOUDGLgmtdd/71eUMqcDFjFE=; b=J1zFNCVZ+DQhvJY+3WW4kvNr/Uk38c/t3zfr50qKgqSUFVDIz7YIcaFT5reJqyW/qOpwrz l/k5eBAZ8J7FmYK86B2ZsOqfSc0fvCTiKlcmSsLrJWnCIjvN1K+pufU/4/GlRVZ/ZZCp5w eYMiSvUQNhwxDeU802fyBkHG4dff5t3haPm20rxrLg85BWVUALrRKM5ycbiGtIkbkL9Pjg PYMXRr5h2bB/ihIeXzEHr1VUWCVWhzMX4b5WfI/m9D59choaXV/5ZOnTQLVXgYcF7z03RI YXvAxy2OlFecTGkg03vCe42m66rDQBmYAL38sm/9O7ET5rv+SYUf0ewLjV9dEw== From: Diederik de Haas To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Dragan Simic , Quentin Schulz , Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Diederik de Haas Subject: [PATCH 1/8] arm64: dts: rockchip: Refactor DSI nodes on px30 boards Date: Fri, 27 Jun 2025 17:16:20 +0200 Message-ID: <20250627152645.740981-2-didi.debian@cknow.org> In-Reply-To: <20250627152645.740981-1-didi.debian@cknow.org> References: <20250627152645.740981-1-didi.debian@cknow.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" 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 --- arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts | 2 ++ arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts | 2 ++ arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts | 2 ++ arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts | 2 ++ arch/arm64/boot/dts/rockchip/px30-evb.dts | 2 ++ arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts | 2 ++ arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts | 2 ++ arch/arm64/boot/dts/rockchip/px30.dtsi | 2 -- arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi | 2 ++ arch/arm64/boot/dts/rockchip/rk3326-gameforce-chi.dts | 2 ++ arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi | 2 ++ 11 files changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts b/= arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts index 1d26164be7b8..a31c61c8f148 100644 --- a/arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts +++ b/arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts @@ -12,6 +12,8 @@ / { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 panel@0 { diff --git a/arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts b/arc= h/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts index 82c6acdb4fae..a3c6edfdb37c 100644 --- a/arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts +++ b/arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts @@ -12,6 +12,8 @@ / { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 panel@0 { diff --git a/arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts b/arc= h/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts index 94449132df38..9b5eff392dfa 100644 --- a/arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts +++ b/arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts @@ -12,6 +12,8 @@ / { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 panel@0 { diff --git a/arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts b/arc= h/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts index d7b639e7ccab..36b7cae49e31 100644 --- a/arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts +++ b/arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts @@ -16,6 +16,8 @@ aliases { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 panel@0 { diff --git a/arch/arm64/boot/dts/rockchip/px30-evb.dts b/arch/arm64/boot/dt= s/rockchip/px30-evb.dts index bfd724b73c9a..85d1642eb9be 100644 --- a/arch/arm64/boot/dts/rockchip/px30-evb.dts +++ b/arch/arm64/boot/dts/rockchip/px30-evb.dts @@ -124,6 +124,8 @@ &display_subsystem { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 ports { diff --git a/arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts b= /arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts index b71929bcb33e..932721ffd470 100644 --- a/arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts +++ b/arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts @@ -12,6 +12,8 @@ / { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 panel@0 { diff --git a/arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts b/ar= ch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts index a9bd5936c701..70adf091371c 100644 --- a/arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts +++ b/arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts @@ -12,6 +12,8 @@ / { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 panel@0 { diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/r= ockchip/px30.dtsi index 0cad83c5d5fe..5034ad8019a8 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -1137,8 +1137,6 @@ dsi: dsi@ff450000 { resets =3D <&cru SRST_MIPIDSI_HOST_P>; reset-names =3D "apb"; rockchip,grf =3D <&grf>; - #address-cells =3D <1>; - #size-cells =3D <0>; status =3D "disabled"; =20 ports { diff --git a/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi b/arc= h/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi index 150fadcb0b3c..54395a40b087 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi @@ -118,6 +118,8 @@ &display_subsystem { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 ports { diff --git a/arch/arm64/boot/dts/rockchip/rk3326-gameforce-chi.dts b/arch/a= rm64/boot/dts/rockchip/rk3326-gameforce-chi.dts index 10e6ab724ac4..4d306085646c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-gameforce-chi.dts +++ b/arch/arm64/boot/dts/rockchip/rk3326-gameforce-chi.dts @@ -322,6 +322,8 @@ &display_subsystem { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 internal_display: panel@0 { diff --git a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi b/arch/arm6= 4/boot/dts/rockchip/rk3326-odroid-go.dtsi index 446a1a6c12e7..bf4554eff47d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi @@ -220,6 +220,8 @@ &display_subsystem { }; =20 &dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 ports { --=20 2.50.0 From nobody Wed Oct 8 12:36:06 2025 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6345D2E973E for ; Fri, 27 Jun 2025 15:27:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038033; cv=none; b=kdSnaFQOA6oB+23P7zll9Gn8Iev4eYp704iknlQEXxcTnwiyntPU4PLB7f+MlWCZOauelsfALUINBx9Vw01QddHXEGZFtUZikpogjH4E/E+m2SEiAej7aBgmaUSJ8m6bCyp6LAEVjoiuY+e6p7wYP0vyuLzvpTCtCeqD1RdfEzM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038033; c=relaxed/simple; bh=K0JRTKvwPvkqpe00zFUs8iPdwgVDsWTrE+mT7gQdcGc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RM7iQDaaj0UZM42Jfxa9NDB89GXQ2RvADfhsEQC3gdAMq3rjHQYC03HUO1pqQkH0E4g4boaH8a5Tg1Ezl3ePsOYNODCtaGbdExjhmsf7qZl17Gl52+oLysNr/CjVUTfL69FaGsVQSLERy7J2bq5he+3wpSZNpzavdgqzZ6gEb80= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=AIoHMfXx; arc=none smtp.client-ip=91.218.175.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="AIoHMfXx" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1751038029; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IvcxkrvBiBUkVTTSTfgCGQwPzHmN5OZ3q178klwKd4g=; b=AIoHMfXxYuQewBtQ1iiyF+ABi0Xj3b9khQOMIergAB2mRQZ/+1xwoBr8y5pemFTMgZR39Z +JA+u4WUUS4/4S6n9Lo+1EjwWN5yQYHUJ20ds82aGtgZ2Te0G3bGFYW0z63svQ1T1axVFC kOXtYGOMTbXsypYd/vY8bNePXOpDnyYeym4SMabwxbLD2H+4SUsAj+4Ld31ErEPl54QWBB pWqk+hw+Sq/VSddKLaNMEzb8UByOtsY3pXuXd1gIf1yGP5OEU+aVgbuQRlTJjbvWIgYFS2 siUelEdBXyjSQLac4PKcUeL0KBZ7YIB6dfhVrLYp8eEUFksCXYSEHiJmmlycnA== From: Diederik de Haas To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Dragan Simic , Quentin Schulz , Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Diederik de Haas Subject: [PATCH 2/8] arm64: dts: rockchip: Refactor DSI nodes on rk3399 boards Date: Fri, 27 Jun 2025 17:16:21 +0200 Message-ID: <20250627152645.740981-3-didi.debian@cknow.org> In-Reply-To: <20250627152645.740981-1-didi.debian@cknow.org> References: <20250627152645.740981-1-didi.debian@cknow.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" The #address-cells and #size-cells properties are not useful on the DSI controller nodes; 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. Next to that, there were several (exact) redefinitions of nodes which are already present in rk3399-base.dtsi to add a mipi_out endpoint. Simplify that by referencing the mipi_out phandle and add the endpoint to that, which allows the removeal of the ports redefinition. And fix 1 instance where the mipi_out referenced node was not sorted correctly. 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 --- arch/arm64/boot/dts/rockchip/rk3399-base.dtsi | 4 --- .../boot/dts/rockchip/rk3399-gru-scarlet.dtsi | 30 ++++++++----------- .../dts/rockchip/rk3399-pinephone-pro.dts | 2 ++ .../rk3399-puma-haikou-video-demo.dtso | 12 ++++---- .../dts/rockchip/rk3399-rockpro64-screen.dtso | 21 ++++--------- 5 files changed, 26 insertions(+), 43 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-base.dtsi b/arch/arm64/boo= t/dts/rockchip/rk3399-base.dtsi index 9d5f5b083e3c..4dcceb9136b7 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-base.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-base.dtsi @@ -2071,8 +2071,6 @@ mipi_dsi: dsi@ff960000 { resets =3D <&cru SRST_P_MIPI_DSI0>; reset-names =3D "apb"; rockchip,grf =3D <&grf>; - #address-cells =3D <1>; - #size-cells =3D <0>; status =3D "disabled"; =20 ports { @@ -2112,8 +2110,6 @@ mipi_dsi1: dsi@ff968000 { resets =3D <&cru SRST_P_MIPI_DSI1>; reset-names =3D "apb"; rockchip,grf =3D <&grf>; - #address-cells =3D <1>; - #size-cells =3D <0>; #phy-cells =3D <0>; status =3D "disabled"; =20 diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi b/arch/ar= m64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi index 5e068377a0a2..100c22af7265 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi @@ -627,18 +627,10 @@ &mipi_dphy_rx0 { }; =20 &mipi_dsi { - status =3D "okay"; clock-master; - - ports { - mipi_out: port@1 { - reg =3D <1>; - - mipi_out_panel: endpoint { - remote-endpoint =3D <&mipi_in_panel>; - }; - }; - }; + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "okay"; =20 mipi_panel: panel@0 { /* 2 different panels are used, compatibles are in dts files */ @@ -673,15 +665,17 @@ mipi1_in_panel: endpoint { =20 &mipi_dsi1 { status =3D "okay"; +}; =20 - ports { - mipi1_out: port@1 { - reg =3D <1>; +&mipi_out { + mipi_out_panel: endpoint { + remote-endpoint =3D <&mipi_in_panel>; + }; +}; =20 - mipi1_out_panel: endpoint { - remote-endpoint =3D <&mipi1_in_panel>; - }; - }; +&mipi1_out { + mipi1_out_panel: endpoint { + remote-endpoint =3D <&mipi1_in_panel>; }; }; =20 diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/a= rm64/boot/dts/rockchip/rk3399-pinephone-pro.dts index 909ed14035f7..fe32937a2d16 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts @@ -464,6 +464,8 @@ &io_domains { =20 &mipi_dsi { clock-master; + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "okay"; =20 panel@0 { diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dts= o b/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dtso index 0377ec860d35..d28880b8dd44 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dtso +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dtso @@ -124,12 +124,6 @@ pca9670: gpio@27 { }; }; =20 -&mipi_out { - mipi_out_panel: endpoint { - remote-endpoint =3D <&mipi_in_panel>; - }; -}; - &mipi_dsi { #address-cells =3D <1>; #size-cells =3D <0>; @@ -151,6 +145,12 @@ mipi_in_panel: endpoint { }; }; =20 +&mipi_out { + mipi_out_panel: endpoint { + remote-endpoint =3D <&mipi_in_panel>; + }; +}; + &pinctrl { pca9670 { pca9670_resetn: pca9670-resetn { diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64-screen.dtso b/ar= ch/arm64/boot/dts/rockchip/rk3399-rockpro64-screen.dtso index b1f4ab22b99c..3a68c5f7c5ff 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64-screen.dtso +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64-screen.dtso @@ -47,25 +47,11 @@ touch: touchscreen@5d { }; =20 &mipi_dsi { + clock-master; #address-cells =3D <1>; #size-cells =3D <0>; - - clock-master; status =3D "okay"; =20 - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - mipi_out: port@1 { - reg =3D <1>; - - mipi_out_panel: endpoint { - remote-endpoint =3D <&mipi_in_panel>; - }; - }; - }; - mipi_panel: panel@0 { compatible =3D "feiyang,fy07024di26a30d"; reg =3D <0>; @@ -81,6 +67,11 @@ mipi_in_panel: endpoint { }; }; =20 +&mipi_out { + mipi_out_panel: endpoint { + remote-endpoint =3D <&mipi_in_panel>; + }; +} &pwm0 { status =3D "okay"; }; --=20 2.50.0 From nobody Wed Oct 8 12:36:06 2025 Received: from out-178.mta0.migadu.com (out-178.mta0.migadu.com [91.218.175.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7859429CB32 for ; Fri, 27 Jun 2025 15:27:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038038; cv=none; b=L8k9KtIg0Gf9iM6VclTRB4tHd0J6D9RC6aKgHvZFxW/jO2serdWXZPKwNgLBGA+bAcB4+r7ztQnsuH5Ck7r8Vaojwqc6xnySrRSg6cGDICFD1MUrrOinfyANH5S1MrX9+34esBVtFI/71sZr0MxOW4aUxXWP+1Ga9+IPsCEkLOo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038038; c=relaxed/simple; bh=ROFq9xtzXOdmqMZ7ZCjIaDyNS7DKkayyoX8QkeXIndE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ldeHpiFKoSfK8eJLBH5RTPecrcf/bcJDHOyN+4pKV1JkJEBQbhHoYkg4eylIn/2pWA2wwGYakrLRcRs+qNriclnQUZ1rr0gcj9QjBmNJxM6E9m3GXwCC7JosxDhy/kY9u0dkBpR6aQYJHT9vwGarKj5tZNssdkQ7RPQGSgnwZl0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=PbFQWfjG; arc=none smtp.client-ip=91.218.175.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="PbFQWfjG" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1751038034; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FvDG6tIe9cP6E3SSgrjHunQaCLP0z6lp3rhIo96W2Gg=; b=PbFQWfjGA5g4dUGelEC6LcLrD46714RJX3ckSPui+8o/i+vQ8KweBZKS5nHxKNaZeTfrvo xCFC2wEt3pPWbkhTxpFk/7eEX9DNMSorvpbGpUlzeQkfuyg+uPKfKDQ1Ttp3PFVmrV7aNj sbDWC2aRgTG+kcXWDvB7Zta/HupK8rIYAsC4cMVa/bZb2FOX6jrUWLqsFgEoO+0QN1OJhY omlK4ARAHUlW2t92vbGnj2O2Yg4IvNV+eXKl0CGZ5k870UtKYvkNSu2UC0DtERgEWD4F8U 7C7pA5kuLUfW2wnxlEqpdapqtt97a/XSQiDrj8Y8Qx5NP3o8uWuakhOCOTVkug== From: Diederik de Haas To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Dragan Simic , Quentin Schulz , Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Diederik de Haas Subject: [PATCH 3/8] dt-bindings: display: rockchip,dw-mipi-dsi: Drop address/size cells Date: Fri, 27 Jun 2025 17:16:22 +0200 Message-ID: <20250627152645.740981-4-didi.debian@cknow.org> In-Reply-To: <20250627152645.740981-1-didi.debian@cknow.org> References: <20250627152645.740981-1-didi.debian@cknow.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" When the dw-mipi-dsi binding was initially added in commit a20d86e7f964 ("Documentation: dt-bindings: Add bindings for rk3288 DW MIPI = DSI driver") the #address-cells and #size-cells were added as required properties. When the binding was converted to yaml format in commit 0dac2102cf6b ("dt-bindings: display: rockchip: convert dw_mipi_dsi_rockchip= .txt to yaml") those properties were demoted to optional and removed from the binding example. As for the compatibles: - rockchip,px30-mipi-dsi removed in this patch set - rockchip,rk3128-mipi-dsi never used - rockchip,rk3288-mipi-dsi added (invalid); later removed [1] - rockchip,rk3399-mipi-dsi removed in this patch set - rockchip,rk3568-mipi-dsi never used - rockchip,rv1126-mipi-dsi proposed (invalid); never accepted [2] [1] 282e2e078ba5 ("ARM: dts: rockchip: Remove #address/#size-cells from rk3= 288 mipi_dsi") [2] https://lore.kernel.org/all/20230731110012.2913742-12-jagan@edgeble.ai/ The #address-cells and #size-cells are useful (and required) in the ports node and for panel(s), but those properties are declared in their schemas already. Now that there are no remaining users, remove these properties from the Rockchip specific extensions of the Synopsys DesignWare MIPI DSI host controller. Signed-off-by: Diederik de Haas --- .../bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw= -mipi-dsi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchi= p,dw-mipi-dsi.yaml index ccd71c5324af..0881e82deb11 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-d= si.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-d= si.yaml @@ -58,12 +58,6 @@ properties: power-domains: maxItems: 1 =20 - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - required: - compatible - clocks --=20 2.50.0 From nobody Wed Oct 8 12:36:06 2025 Received: from out-174.mta0.migadu.com (out-174.mta0.migadu.com [91.218.175.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA1FE2EA179 for ; Fri, 27 Jun 2025 15:27:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038042; cv=none; b=kzgMNY4txsSbFGKQxFzsj2g/dEsAN/l36dmUI/V9lViq/L4XnzDvjuc1IqpyhSnjKsle7M9I1VT0VXrPZgJNuJuDgq5QhMAgaabDMBidazeFwXdh5GiYmGoW0OA3PDoFBcRzOqbdZ54zU6w4ar+DeP/PzMYjd9k3ShoKlF8gHcs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038042; c=relaxed/simple; bh=J/Fe7VsW55nHtlw7aUGllk4ytzTJTWxNR274VqR29BA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nZdXxwTPcqMCTNXDDpQNitcuHTzgdoNpri/3KzDi9vI0PCX4fS1tvSbk3hz/A5C6RiNTdVdmkS+/b7e7YH+9VRBZsu6jAt6CWKFaz657BR2QSaHxY+f2CjPolm1e7fc6lr2mnGUs8qx/Al/gieYnpcJhbJkNyEtHN/9i5LtOBdg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=nxbfwm+M; arc=none smtp.client-ip=91.218.175.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="nxbfwm+M" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1751038039; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LdOjVT0hxZ4MogGhHL86KxEfuOHrbi5hNR9VAR3J/Ig=; b=nxbfwm+MitF8loH1tKwMyCkE2/0eI4R2TRx7llUMTV7XNzavxNSb6A0rfxYWub6ZZL0qU6 1e8FNAXP7UEHC2hBiEaXGDL/OwOadbujC4CZMsRGW1h7KGakSccQ09eVZTsosSFYcXmToB 0zOtqoBVWErn8FlWL0/VrQfj7K15hCtFtO0l8hxy5WAPazn5bS65eJ55HfQ1R7U5w609dF EmsoJUvk75ryjTlM4jxgouDYd4kg9Qw1HcDtwchMdf+7lk1uGZH/hJICGezP+hAILdgP0s IphcZBjlG2TLczXikdeuLi56TczP4jTsmYByiiTTu5I2ZTF0147HXrbtgeGjkw== From: Diederik de Haas To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Dragan Simic , Quentin Schulz , Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Diederik de Haas Subject: [PATCH 4/8] arm64: dts: rockchip: Simplify VOP port definition on rk3328 Date: Fri, 27 Jun 2025 17:16:23 +0200 Message-ID: <20250627152645.740981-5-didi.debian@cknow.org> In-Reply-To: <20250627152645.740981-1-didi.debian@cknow.org> References: <20250627152645.740981-1-didi.debian@cknow.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" When there's only 1 endpoint, there is no need for a unit-address and removing that allows removing of related properties as well. 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 --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts= /rockchip/rk3328.dtsi index 7d992c3c01ce..6438c969f9d7 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -731,11 +731,7 @@ vop: vop@ff370000 { status =3D "disabled"; =20 vop_out: port { - #address-cells =3D <1>; - #size-cells =3D <0>; - - vop_out_hdmi: endpoint@0 { - reg =3D <0>; + vop_out_hdmi: endpoint { remote-endpoint =3D <&hdmi_in_vop>; }; }; --=20 2.50.0 From nobody Wed Oct 8 12:36:06 2025 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B5962E9739 for ; Fri, 27 Jun 2025 15:27:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038046; cv=none; b=AZY+15mTxAzRkZniEzPJ1MfGyuA8+6WSX7HSBdla5tiBHv1LW7AtqCQL9tWZ6aTgGWJ1gU+d5k6i0CtFvGoQWTVKd4F5r4mRagXRllzTjEHGATVae8KiBaqFnuS8WeNl/0/AO+g5RZefHtpOgUDYTGQeeMtAdi6K0nQqANH9Fsk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038046; c=relaxed/simple; bh=++WUmsmG42FBtz0N90d+3dm2z4DuzAvjfBgwxUM5j6Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UG9c+5DKMAJeOwVtBDrp4aA/gm+n1pFSFwca+Wvxj6iIY3d+MKglpTNyBADSo6XZZZFoNfrarsHhu3SYDPNpsxa5871E5zXm83Zr2zBoU2sxjAT2VfkUXf8zo8gVrv1eGekvgOCX4FyyZGBrRlEdgWvgBkDYJM8xEhmSR8WjsfY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=WYjWtLAP; arc=none smtp.client-ip=91.218.175.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="WYjWtLAP" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1751038042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JXGz2WRYkb5YR3U/LDov8OvZiUYlL4TD2HwVbGHyw/0=; b=WYjWtLAPsa84qr8TLl6/a43FKtMQF6EIt+yJ+P885vsWhhGvC9TE/HgprmqAW2o5kG0CsT 4YA51B72OjN0XBiMP0uf3On45PEABr9dajocOrUXKVOvjAD45a4eCjVaiw9KONIFB8ew+a unEF/rBNw4RuRHJlD5SB72R4Gt62FJr4n60QYykIwbt+Bwne//5qJONKquT6c0UWtCQ1Yg 6pYXn0sLgGlHRJd+X4as4HbAc6k6EKME+80LHeGiuwxmSe4pF2BZQmKi2vnOnaC0UDYodB NrCQUMFUa98FSk7pOyO9HA2aT+7SdDX88HD7NgTEBdCTgsjV0XvD7rvw2n6eVQ== From: Diederik de Haas To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Dragan Simic , Quentin Schulz , Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Diederik de Haas Subject: [PATCH 5/8] arm64: dts: rockchip: Simplify edp endpoints on several rk3399 boards Date: Fri, 27 Jun 2025 17:16:24 +0200 Message-ID: <20250627152645.740981-6-didi.debian@cknow.org> In-Reply-To: <20250627152645.740981-1-didi.debian@cknow.org> References: <20250627152645.740981-1-didi.debian@cknow.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" 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 --- .../boot/dts/rockchip/rk3399-gru-chromebook.dtsi | 15 ++++----------- .../boot/dts/rockchip/rk3399-pinebook-pro.dts | 15 ++++----------- .../dts/rockchip/rk3399-sapphire-excavator.dts | 16 ++++------------ 3 files changed, 12 insertions(+), 34 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi b/arch= /arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi index a9ea4b0daa04..9d07353df52c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi @@ -250,18 +250,11 @@ &edp { */ assigned-clocks =3D <&cru PCLK_EDP>; assigned-clock-rates =3D <24000000>; +}; =20 - ports { - edp_out: port@1 { - reg =3D <1>; - #address-cells =3D <1>; - #size-cells =3D <0>; - - edp_out_panel: endpoint@0 { - reg =3D <0>; - remote-endpoint =3D <&panel_in_edp>; - }; - }; +&edp_out { + edp_out_panel: endpoint { + remote-endpoint =3D <&panel_in_edp>; }; }; =20 diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/ar= m64/boot/dts/rockchip/rk3399-pinebook-pro.dts index 5473070823cb..5a8551d9ffe4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts @@ -404,18 +404,11 @@ &edp { pinctrl-names =3D "default"; pinctrl-0 =3D <&edp_hpd>; status =3D "okay"; +}; =20 - ports { - edp_out: port@1 { - reg =3D <1>; - #address-cells =3D <1>; - #size-cells =3D <0>; - - edp_out_panel: endpoint@0 { - reg =3D <0>; - remote-endpoint =3D <&panel_in_edp>; - }; - }; +&edp_out { + edp_out_panel: endpoint { + remote-endpoint =3D <&panel_in_edp>; }; }; =20 diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts b/a= rch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts index fdaa8472b7a7..a4ceafe6dd7a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts @@ -142,21 +142,13 @@ sdio_pwrseq: sdio-pwrseq { =20 &edp { status =3D "okay"; +}; =20 - ports { - edp_out: port@1 { - reg =3D <1>; - #address-cells =3D <1>; - #size-cells =3D <0>; - - edp_out_panel: endpoint@0 { - reg =3D <0>; - remote-endpoint =3D <&panel_in_edp>; - }; - }; +&edp_out { + edp_out_panel: endpoint { + remote-endpoint =3D <&panel_in_edp>; }; }; - &i2c1 { i2c-scl-rising-time-ns =3D <300>; i2c-scl-falling-time-ns =3D <15>; --=20 2.50.0 From nobody Wed Oct 8 12:36:06 2025 Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B703F2EA488 for ; Fri, 27 Jun 2025 15:27:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038049; cv=none; b=onBeeR3BwtMjZuUN7d1loaIoIkD4geEbyOZJkBFCUiCzI9lWplzpBhbjo4Gxki5Ysiprd9ng+xbyckAH1maNpMPaqn+zXJij4WTHklqBZZ/J9HCjNn7Z6lwnOx0an404RDeo2YPD6oFpa4mVn8+C96Zo6UhZQZcSvO0nLVFIVuk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038049; c=relaxed/simple; bh=QDduJvC/5cNs1aCofqNCkLX2UcDB8NxT18fZG9lmPDM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PKfB2rqdkI+ND/1fOic9RURyQpIJTXZG3YTi/2Sa87HuBXmAkAkpZuOldHTMgUSuiwEE9njnzRV0F87M6GIq+2L3Gcvv/PjKp3bvd4O+clvKQzByjSmm0FLVij+ao+mX2ktTANitesJC9rj5zjq9flp2P80gK/A7/fmRtGKCNPg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=Hs4emrNV; arc=none smtp.client-ip=91.218.175.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="Hs4emrNV" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1751038046; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uYtxvQntJrQzDe3coaU4yovvxAekHNN2pEKLjqZB3iA=; b=Hs4emrNVnCgXOBd0AEnJsdTW9r4FLtCifmsM+sLROezw9mc2W3Ym/rNjUiNCp7e/i7z4pu Z8YdVyaRtXO/4ZsjYBv+tYHE/cDFNqbAOv89Rs7lUuHRk5fL5Sp42K3Fske1AGjkx0LRly YX8oUBsy36sRT/3di+eSWaJ9LQsTwZwLRiA0XfTvucX50/gddi+tI7jA4Q8vPrdmrYsdtT apPfzMh8dsH0XZiBVUiF4Livb63WBi2liYzOngwYkUkbKc7PzNhg0BQkPcta0gAgZhHiOq Lv4rHUHdjXRNoz45nHUBl4MGurX5/8GtSLwHLoJM3C3jCViaIVNoUQyKpCuLvA== From: Diederik de Haas To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Dragan Simic , Quentin Schulz , Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Diederik de Haas Subject: [PATCH 6/8] arm64: dts: rockchip: Fix LCD panel port on rk3566-pinetab2 Date: Fri, 27 Jun 2025 17:16:25 +0200 Message-ID: <20250627152645.740981-7-didi.debian@cknow.org> In-Reply-To: <20250627152645.740981-1-didi.debian@cknow.org> References: <20250627152645.740981-1-didi.debian@cknow.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" The MIPI DSI connector on the PineTab2 only has 1 port with 1 endpoint, so drop the unit-address properties. While at it, move 'rotation' property to its proper sorting position. This fixes the following DTB validation warnings: node has a unit name, but no reg or ranges property Signed-off-by: Diederik de Haas --- arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi b/arch/arm64= /boot/dts/rockchip/rk3566-pinetab2.dtsi index 3473b1eef5cd..d0e38412d56a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi @@ -282,11 +282,11 @@ lcd: panel@0 { reg =3D <0>; backlight =3D <&backlight>; enable-gpios =3D <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; - rotation =3D <90>; power-supply =3D <&vcc_3v3>; + rotation =3D <90>; =20 - port@0 { - panel_in_dsi: endpoint@0 { + port { + panel_in_dsi: endpoint { remote-endpoint =3D <&dsi0_out_con>; }; }; --=20 2.50.0 From nobody Wed Oct 8 12:36:06 2025 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDB8E2EA748 for ; Fri, 27 Jun 2025 15:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038053; cv=none; b=Ehmoy93opOkY11DPCfB5VsZyWBpCgXNN8bTDtyhleqIC+gJWKx8Fpb0FQsLHrn6Iv7NFsxG04uM/Q3BGEXpmr/z/Q04qcs+7R4UkshTT+3OsoOalspm/wAtO1OCUv9sagRC+oBZn+ofauV+soC0YHY97zkOenp1yS5Rr1ua4Uqs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038053; c=relaxed/simple; bh=rF0nR+ZGjjWrOatx6EGJOUBzErZKLCLRQjJyAMPB9s0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LftsFqUqaoQYc5UumNUE2bQHNCPfCBEg45cEYXomDM4VIOE4PM+7Jz2f/jqrRQdZUD5ogoBNwxf59zLhzQqR+B52p5pKyojk+OmNMqxKdptQ0i7ZEIIfIKHc6Spbl7Rp+eSRCYgICHvPgXl+Ku5AElULar+VwA3EsF1eVTO5vwA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=zegeCMgF; arc=none smtp.client-ip=91.218.175.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="zegeCMgF" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1751038049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kTB3zWm7oNw70pUsCc6ZoGv3uOF6aJxYArBzhguuOPM=; b=zegeCMgFHauTH2R35p0c8FdzreJQoK2TMRMP6hi3anjcv8GpCS6qMdBWFFaLXstfjX0EOI iiTijoKhrp2Ncd6fiVlgYOAotL3KOt/Z7WocZJtEC4/Wv9w/kmzZMRypDaJAri9LSiz2Jm 05jEn1GeNLpnl7E1SBvvu/xUE0qOGEvPcSFONs+uK2LwPa4XeU3ex0i3K2Mtpv1uufy08s TkCAX01yTzsz15pK676T/bEljGqzGCn3H80/WlzWBYATv9tjQuWFGrOz9MVr5R8O0rbnUU 1s+77xKVKcOvZQkocwL2eZ5HkwvXraoSJ/Y+323RDVzu/+I9p1sdnX46xop7Xg== From: Diederik de Haas To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Dragan Simic , Quentin Schulz , Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Diederik de Haas Subject: [PATCH 7/8] arm64: dts: rockchip: Drop unneeded address+size-cells on px30 Date: Fri, 27 Jun 2025 17:16:26 +0200 Message-ID: <20250627152645.740981-8-didi.debian@cknow.org> In-Reply-To: <20250627152645.740981-1-didi.debian@cknow.org> References: <20250627152645.740981-1-didi.debian@cknow.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" On nodes with compatible "rockchip,px30-usb2phy-grf", the #address-cells and #size-cells are required and consequently their child nodes should have unit addresses. That is not the case for the px30-pmugrf and px30-grf nodes, so remove them there. 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 --- arch/arm64/boot/dts/rockchip/px30.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/r= ockchip/px30.dtsi index 5034ad8019a8..46f64cd33b9b 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -351,8 +351,6 @@ power-domain@PX30_PD_GPU { pmugrf: syscon@ff010000 { compatible =3D "rockchip,px30-pmugrf", "syscon", "simple-mfd"; reg =3D <0x0 0xff010000 0x0 0x1000>; - #address-cells =3D <1>; - #size-cells =3D <1>; =20 pmu_io_domains: io-domains { compatible =3D "rockchip,px30-pmu-io-voltage-domain"; @@ -453,8 +451,6 @@ gic: interrupt-controller@ff131000 { grf: syscon@ff140000 { compatible =3D "rockchip,px30-grf", "syscon", "simple-mfd"; reg =3D <0x0 0xff140000 0x0 0x1000>; - #address-cells =3D <1>; - #size-cells =3D <1>; =20 io_domains: io-domains { compatible =3D "rockchip,px30-io-voltage-domain"; --=20 2.50.0 From nobody Wed Oct 8 12:36:06 2025 Received: from out-173.mta0.migadu.com (out-173.mta0.migadu.com [91.218.175.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1453B2EAB70 for ; Fri, 27 Jun 2025 15:27:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038057; cv=none; b=YGEBBzxZa8lCDjo8o8Wfdx0p8Mi9o/3Y+Uu4L1ARl3Vybgb/D8eFUGkgINPkG+gyURrUoq//dEJLOWZU0aXzR+LUWWg8BE1M07nGzgEADgcKvbAC8gFHl+hGEXeFQYGflzTN1Q9qVsZyld2O/VEjyKV1n+ODQZ4leOtDjP7BkOs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751038057; c=relaxed/simple; bh=05pqTowLjnDViJGWxYMkBBcnQyspvNYYdaCb6Q7B7G4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RRMS21dpM3hAyD0VflUyujjtMdEpVtWWvfSXAZYbKU5MEjZE0xz+hsMttLraf0+SCsV7DRPSAUuVv4/BzZQGPZ+RlnMfRoE753DVAS46zIU+FV0zf6PaI6Hfw9uuiUDHVCuhTvE6GKXK4Asc0u0CcZ7/p820wBCRQhUN0zrjxeQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=H0f14+DY; arc=none smtp.client-ip=91.218.175.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="H0f14+DY" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1751038053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TMKQA2Hff0W4zw/ZMVDybuR5/9kD8JNjNzdYjPOLJ3Y=; b=H0f14+DYd+SwlsGBPOL62TErrrtwA0SHuFNG59lnsFRuD/aZKiVcPh+0CbYd+5NgOKcM0/ mdndG4UFcbpf/TeZ/EkP5om5g7hIj4cTkIYjfV2IQl6c9K1mC96tgtrpQMbHcQe/hePBSP jxxd80MQKPUvZZ5fIxWK3nA9hKPrMxQAAjDsjR3AR5vK/agW0fihZDdh8dkhAakx4k4vf1 d3olMJk9TKM6CbRVsiEtqPkKI9QX+LyxDwWMgeuY/p6PtTcmYXSKFhG5meCUDrsPWMuxVx n1pODpYSvgEkgqNQthqihA/loB90k0U1o7xhSTFl2XHYkCnbLqAF6y9CEORbNQ== From: Diederik de Haas To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Dragan Simic , Quentin Schulz , Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Diederik de Haas Subject: [PATCH 8/8] arm64: dts: rockchip: Drop regulator-compatible property on rk3399 Date: Fri, 27 Jun 2025 17:16:27 +0200 Message-ID: <20250627152645.740981-9-didi.debian@cknow.org> In-Reply-To: <20250627152645.740981-1-didi.debian@cknow.org> References: <20250627152645.740981-1-didi.debian@cknow.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" The regulator-compatible property has never existed in the regulator/fcs,fan53555.yaml binding, so drop it. Signed-off-by: Diederik de Haas --- arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts | 2 -- arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts b/arch/arm6= 4/boot/dts/rockchip/rk3399-hugsun-x99.dts index 81c4fcb30f39..352c8efb37e0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts @@ -211,7 +211,6 @@ &i2c0 { vdd_cpu_b: syr827@40 { compatible =3D "silergy,syr827"; reg =3D <0x40>; - regulator-compatible =3D "fan53555-reg"; pinctrl-0 =3D <&vsel1_pin>; regulator-name =3D "vdd_cpu_b"; regulator-min-microvolt =3D <712500>; @@ -229,7 +228,6 @@ regulator-state-mem { vdd_gpu: syr828@41 { compatible =3D "silergy,syr828"; reg =3D <0x41>; - regulator-compatible =3D "fan53555-reg"; pinctrl-0 =3D <&vsel2_pin>; regulator-name =3D "vdd_gpu"; regulator-min-microvolt =3D <712500>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts b/arch/ar= m64/boot/dts/rockchip/rk3399-rock-4c-plus.dts index 15da5c80d25d..962b8b231c96 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts @@ -421,7 +421,6 @@ vdd_cpu_b: regulator@40 { compatible =3D "silergy,syr827"; reg =3D <0x40>; fcs,suspend-voltage-selector =3D <1>; - regulator-compatible =3D "fan53555-reg"; pinctrl-0 =3D <&vsel1_gpio>; vsel-gpios =3D <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>; regulator-name =3D "vdd_cpu_b"; @@ -440,7 +439,6 @@ vdd_gpu: regulator@41 { compatible =3D "silergy,syr828"; reg =3D <0x41>; fcs,suspend-voltage-selector =3D <1>; - regulator-compatible =3D "fan53555-reg"; pinctrl-0 =3D <&vsel2_gpio>; vsel-gpios =3D <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>; regulator-name =3D "vdd_gpu"; --=20 2.50.0