Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6102214rwd; Mon, 19 Jun 2023 02:15:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6YF3C9S1pXfTQJ0T0Zq0+mheGAxcMA0Aci+JTskoqmmHnFjSzSCCzMv7o2Km/YCh+F1fTd X-Received: by 2002:a05:6a21:6d9e:b0:121:f3a2:3a8 with SMTP id wl30-20020a056a216d9e00b00121f3a203a8mr685482pzb.0.1687166117886; Mon, 19 Jun 2023 02:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687166117; cv=none; d=google.com; s=arc-20160816; b=IJf8Ap2VB0mnRaAo6Mo3RxUt5RSZicM8re1PctWTK3ZeTJ0Rolh69wDfR6/YjTaPKz uk+nqSmBXh8K1Ur69y8i42NBqhov4JvYsT42FEI0FD96QmRrhTKSsUl1wDB5QTxWdMW/ Tu/CJM4ndvvkyGWvCokj9RbLFLnl/RwEMqgugfMlYYtDSweqeARf2xfhZ5/DgNklPZQZ A6+eJ/QxhL9ICSrOetW9nBr4srMwsjK6yM+4YN/ZtILQyKFmDr+y2WO+UvHEVh42oFlI rYH+5niWXxd02qtSI5mY4jY7z9SogACZ1L6P1PWsY7ZmKtXb/hpe4mNQhnEs336rPmwH zziw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=njOiDHKfItv3SKxReRsg1d1cR6/mw8YB6g5TwSxcPxc=; b=rQRf5Z9NGg2dOYDMAVf9RIqR/QgbtxKAec/yUSrpZ4HF0ch1sl6HZcoVFFmN9WOBql zqbm+x0D9GizqfIEV5nPQ+y2wiQXiwogXTUX2wmyRSyKi7Hin5YI5/SdxSFBpNOp4mgL pvFJ0AAYq+phmMUZKEGTxfYnsWUZIkKjLD1HrEu+UPhVk0YinHZdqIAH/PSW6sfOxP3D BzNsj64gQlsAp1FzUF/ZVR4X7tQNjSh+ZStwqxl90w44qR7vmMor+C1ox/SLI0HBf247 kfdPhirADpzsi8ZPovhk7pplg2OpQD/HBJvDH/LrmjsEcGdnqD1E6SxKGzqE12GfRUja Jf4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k191-20020a6384c8000000b005539083748bsi4571882pgd.557.2023.06.19.02.15.05; Mon, 19 Jun 2023 02:15:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230457AbjFSIsV convert rfc822-to-8bit (ORCPT + 99 others); Mon, 19 Jun 2023 04:48:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231322AbjFSIr7 (ORCPT ); Mon, 19 Jun 2023 04:47:59 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1524610C0; Mon, 19 Jun 2023 01:46:19 -0700 (PDT) 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 6561C8480; Mon, 19 Jun 2023 16:35:19 +0800 (CST) Received: from EXMBX068.cuchost.com (172.16.6.68) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 19 Jun 2023 16:35:19 +0800 Received: from williamqiu-virtual-machine.starfivetech.com (171.223.208.138) by EXMBX068.cuchost.com (172.16.6.68) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 19 Jun 2023 16:35:18 +0800 From: William Qiu To: , , , CC: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Ziv Xu , William Qiu Subject: [PATCH v3 1/3] dt-bindings: qspi: cdns,qspi-nor: Add clocks for StarFive JH7110 SoC Date: Mon, 19 Jun 2023 16:35:15 +0800 Message-ID: <20230619083517.415597-2-william.qiu@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230619083517.415597-1-william.qiu@starfivetech.com> References: <20230619083517.415597-1-william.qiu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX068.cuchost.com (172.16.6.68) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 The QSPI controller needs three clock items to work properly on StarFive JH7110 SoC, so there is need to change the maxItems's value to 3. Other platforms do not have this constraint. Signed-off-by: William Qiu Reviewed-by: Hal Feng Reviewed-by: Conor Dooley --- .../bindings/spi/cdns,qspi-nor.yaml | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml index b310069762dd..1b83cbb9a086 100644 --- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml +++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml @@ -26,6 +26,15 @@ allOf: const: starfive,jh7110-qspi then: properties: + clocks: + maxItems: 3 + + clock-names: + items: + - const: ref + - const: ahb + - const: apb + resets: minItems: 2 maxItems: 3 @@ -38,6 +47,9 @@ allOf: else: properties: + clocks: + maxItems: 1 + resets: maxItems: 2 @@ -70,7 +82,13 @@ properties: maxItems: 1 clocks: - maxItems: 1 + maxItems: 3 + + clock-names: + items: + - const: ref + - const: ahb + - const: apb cdns,fifo-depth: description: -- 2.34.1