Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2962921rdh; Mon, 27 Nov 2023 03:35:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWO0W3rZuLlGoWRXzOvWH4ztLWXjuEo1vzD4FEibNx1ZgvwWt9jkfxJVreah1ggh+XZZv3 X-Received: by 2002:a05:6a00:8d3:b0:6cb:e246:93ec with SMTP id s19-20020a056a0008d300b006cbe24693ecmr16959329pfu.15.1701084900488; Mon, 27 Nov 2023 03:35:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701084900; cv=none; d=google.com; s=arc-20160816; b=Qy3X0UcbBelSmW2K0JFmCiAVOmGM7XYVhHWnHhOonn4+NcfHupR+T4eNy1he++OGlv l3pOYBV9viJ3Fu5kBFutFeD6c/KY3KcewKkj7+q5ti2GKC0V9C55Y5oVlVY58U22VAcu vSQP/YTjKu+6ljPMJBw3aoV7vDgbyxS62E6RxHW6HtbStZ6WoYXsx8SnhcJEuc5iTQIK Y4IkYBcA5LGHly+l9xwVwvXapJ8Xvg4SMt1PcpAd6GBDtlDG33L8pY58O/MlAaUBZYo6 0ck+piVODDbozlUo8VT1cwFHrpOqZpz3iavr9rYOBO2xmXQQ6WVtJCaGD6cnJcR9/VT2 YD1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=rH/c2MXLLuwEnQCIu/pVpXdnUEirYAe6KDEpuj/qKP4=; fh=ScK8IUDjhF4026qCKVePR/2UjErSUmNHqWg07rO2+9c=; b=h3LEba8hHCRXjH/Aya86y/042MIk+xWAwIeGiImV73QyxwPtu57lrQ3H0cSvpU9XhW d2mX9mg6Q9QWjELSHEJ9NLg2P6MCK8O+4J0OGgdHGdU63rozByS3xJu0B1jm+agL5bAO zILIQuluc199DqxMJ9uMy/1bLsUAhb+2JzRwLKqB+wOlnawxx0unxkTe5RDBzjvbehtQ EDCEE/ZfjkXkYM39wDKFVKIUfoJjyGawtZQ1T98Q3FQF+5G0hQwJJAngYpcts6rHt9Z2 DsDTlG2vaCB4VxJOorAP2a4dmb27czWa6laLu2G8tFCTcXM4aIsn8adveOfhOhlf9ldn KjhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id g22-20020a63f416000000b005c2122e482csi9684916pgi.700.2023.11.27.03.35.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 03:35:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 42D12805ECEE; Mon, 27 Nov 2023 03:34:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233259AbjK0Leq (ORCPT + 99 others); Mon, 27 Nov 2023 06:34:46 -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 Content-Type: text/plain 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 27 Nov 2023 03:34:59 -0800 (PST) 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 reg: minItems: 1 @@ -27,14 +28,20 @@ properties: Register block for wrapper settings registers in case of TI J7 SoCs. 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 clock-names: + minItems: 2 items: - const: dsi_p_clk - const: dsi_sys_clk + - const: apb + - const: txesc phys: maxItems: 1 @@ -46,10 +53,21 @@ properties: maxItems: 1 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 reset-names: - const: dsi_p_rst + items: + - const: dsi_p_rst + - const: dsi_dpi + - const: dsi_apb + - const: dsi_txesc + - const: dsi_txbytehs ports: $ref: /schemas/graph.yaml#/properties/ports @@ -90,6 +108,22 @@ allOf: reg: maxItems: 1 + - 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 -- 2.17.1