From nobody Wed Dec 17 14:03:34 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2541C4167B for ; Mon, 27 Nov 2023 11:34:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233273AbjK0Les (ORCPT ); Mon, 27 Nov 2023 06:34:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233158AbjK0Len (ORCPT ); Mon, 27 Nov 2023 06:34:43 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24071133; Mon, 27 Nov 2023 03:34:46 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 85ABB24DC13; Mon, 27 Nov 2023 19:34:39 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 27 Nov 2023 19:34:39 +0800 Received: from yang-virtual-machine.localdomain (113.72.144.198) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 27 Nov 2023 19:34:38 +0800 From: Shengyang Chen To: , CC: , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v1 1/2] dt-bindings: display: bridge: cdns: Add properties to support StarFive JH7110 SoC Date: Mon, 27 Nov 2023 19:34:35 +0800 Message-ID: <20231127113436.57361-2-shengyang.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231127113436.57361-1-shengyang.chen@starfivetech.com> References: <20231127113436.57361-1-shengyang.chen@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [113.72.144.198] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Keith Zhao Add properties in CDNS DSI yaml file to match with CDNS DSI module in StarFive JH7110 SoC. Signed-off-by: Keith Zhao --- .../bindings/display/bridge/cdns,dsi.yaml | 38 ++++++++++++++++++- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml= b/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml index 23060324d16e..3f02ee383aad 100644 --- a/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml +++ b/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml @@ -17,6 +17,7 @@ properties: enum: - cdns,dsi - ti,j721e-dsi + - starfive,cdns-dsi =20 reg: minItems: 1 @@ -27,14 +28,20 @@ properties: Register block for wrapper settings registers in case of TI J7 S= oCs. =20 clocks: + minItems: 2 items: - description: PSM clock, used by the IP - description: sys clock, used by the IP + - description: apb clock, used by the IP + - description: txesc clock, used by the IP =20 clock-names: + minItems: 2 items: - const: dsi_p_clk - const: dsi_sys_clk + - const: apb + - const: txesc =20 phys: maxItems: 1 @@ -46,10 +53,21 @@ properties: maxItems: 1 =20 resets: - maxItems: 1 + minItems: 1 + items: + - description: dsi sys reset line + - description: dsi dpi reset line + - description: dsi apb reset line + - description: dsi txesc reset line + - description: dsi txbytehs reset line =20 reset-names: - const: dsi_p_rst + items: + - const: dsi_p_rst + - const: dsi_dpi + - const: dsi_apb + - const: dsi_txesc + - const: dsi_txbytehs =20 ports: $ref: /schemas/graph.yaml#/properties/ports @@ -90,6 +108,22 @@ allOf: reg: maxItems: 1 =20 + - if: + properties: + compatible: + contains: + const: starfive,cdns-dsi + then: + properties: + clocks: + minItems: 4 + maxItems: 4 + resets: + minItems: 5 + maxItems: 5 + required: + - reset-names + required: - compatible - reg --=20 2.17.1