From nobody Mon Oct 6 11:51:31 2025 Received: from srv01.abscue.de (abscue.de [89.58.28.240]) (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 87A2B2EAB6D; Tue, 22 Jul 2025 14:41:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.58.28.240 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753195313; cv=none; b=FLdkVzsL5zUtJ4VVQsLrXMm29paWyHZfG3ptXHUAK4Po9SyrlsMFoC3PK6quGjM1CkwF8kbYyRB7C570i1IM4ERtnkCBwuij51+zbSSNdGDajvhZV0fzkgVsGvQvogE2AhxUzBYCyxiQ3+EMoyMtxuxtF5YK8Q9IApbsnoauNpc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753195313; c=relaxed/simple; bh=qbqlFUotphoMo6lRhL9UUWV/wCYeBqqOcUxofmEipiQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AbYAjiLRZhQ1zcPxW/txHpuBlRl9hYluTPbwJUwPCwC1n69uzf7RsdFOuEWGKdlv95UtiuPZhGmNtPT8u2gt37+JgXHi2TevdY1rCsAxQRV0xzgAdvnzJ1nCDF/k4bfu7Cfn0yVKIQFpaAEfYvXqWVw8qcv/Tpgd3e4/AlvQCGM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=abscue.de; spf=pass smtp.mailfrom=abscue.de; arc=none smtp.client-ip=89.58.28.240 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=abscue.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=abscue.de Received: from srv01.abscue.de (localhost [127.0.0.1]) by spamfilter.srv.local (Postfix) with ESMTP id E83FD1C067F; Tue, 22 Jul 2025 16:41:36 +0200 (CEST) X-Spam-Level: Received: from fluffy-mammal.metal.fwg-cag.de (unknown [IPv6:2001:9e8:cdcb:3c00:ce39:8bff:5db4:1ef8]) by srv01.abscue.de (Postfix) with ESMTPSA id 1DD811C025E; Tue, 22 Jul 2025 16:41:36 +0200 (CEST) From: =?utf-8?q?Otto_Pfl=C3=BCger?= Date: Tue, 22 Jul 2025 16:41:03 +0200 Subject: [PATCH v2 01/15] dt-bindings: display: sprd: adapt for UMS9230 support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250722-ums9230-drm-v2-1-054276ec213d@abscue.de> References: <20250722-ums9230-drm-v2-0-054276ec213d@abscue.de> In-Reply-To: <20250722-ums9230-drm-v2-0-054276ec213d@abscue.de> To: David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Orson Zhai , Baolin Wang , Chunyan Zhang , Kevin Tang Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Otto_Pfl=C3=BCger?= X-Mailer: b4 0.14.2 Add the compatible strings for the display controller found in the UMS9230 SoC and introduce more descriptive names for the clocks. Signed-off-by: Otto Pfl=C3=BCger --- .../bindings/display/sprd/sprd,sharkl3-dpu.yaml | 24 +++++++++++++++---= ---- .../display/sprd/sprd,sharkl3-dsi-host.yaml | 15 ++++++++++---- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dp= u.yaml b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.ya= ml index 8c52fa0ea5f8ee2149ebf1d4b0d5b052832e3d97..7f34652080b22e7b7072a709fd3= 90a72375110ef 100644 --- a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml +++ b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml @@ -16,7 +16,12 @@ description: | =20 properties: compatible: - const: sprd,sharkl3-dpu + oneOf: + - items: + - enum: + - sprd,ums9230-dpu + - const: sprd,sharkl3-dpu + - const: sprd,sharkl3-dpu =20 reg: maxItems: 1 @@ -28,9 +33,14 @@ properties: maxItems: 2 =20 clock-names: - items: - - const: clk_src_128m - - const: clk_src_384m + oneOf: + - deprecated: true + items: + - const: clk_src_128m + - const: clk_src_384m + - items: + - const: core + - const: dpi =20 power-domains: maxItems: 1 @@ -64,10 +74,10 @@ examples: compatible =3D "sprd,sharkl3-dpu"; reg =3D <0x63000000 0x1000>; interrupts =3D ; - clock-names =3D "clk_src_128m", "clk_src_384m"; =20 - clocks =3D <&pll CLK_TWPLL_128M>, - <&pll CLK_TWPLL_384M>; + clocks =3D <&pll CLK_TWPLL_384M>, + <&pll CLK_TWPLL_128M>; + clock-names =3D "core", "dpi"; =20 dpu_port: port { dpu_out: endpoint { diff --git a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-ds= i-host.yaml b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-d= si-host.yaml index 300bf2252c3e8e589dc74927520e24aa4a59f81b..71abbc2de8dbb1b674f151a8749= 0c865b187fdd0 100644 --- a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.= yaml +++ b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.= yaml @@ -11,7 +11,9 @@ maintainers: =20 properties: compatible: - const: sprd,sharkl3-dsi-host + enum: + - sprd,sharkl3-dsi-host + - sprd,ums9230-dsi-host =20 reg: maxItems: 1 @@ -23,8 +25,12 @@ properties: maxItems: 1 =20 clock-names: - items: - - const: clk_src_96m + oneOf: + - deprecated: true + items: + - const: clk_src_96m + - items: + - const: pclk =20 power-domains: maxItems: 1 @@ -73,8 +79,9 @@ examples: reg =3D <0x63100000 0x1000>; interrupts =3D , ; - clock-names =3D "clk_src_96m"; clocks =3D <&pll CLK_TWPLL_96M>; + clock-names =3D "pclk"; + ports { #address-cells =3D <1>; #size-cells =3D <0>; --=20 2.50.0