Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27412771rwd; Tue, 4 Jul 2023 02:34:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5H+LSW4XNFZVP3yknBj3yf3/ZbPt8IAGdr6wopJdyzYOe0LhWxg77W8kS9Y+EYr5XkjeIO X-Received: by 2002:a05:6a20:938f:b0:12a:7b11:5eec with SMTP id x15-20020a056a20938f00b0012a7b115eecmr18341605pzh.38.1688463294276; Tue, 04 Jul 2023 02:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688463294; cv=none; d=google.com; s=arc-20160816; b=hIrar1Qz9RGtXdn5f88X5l+JZTvd4LN1onwZ4xvMchp3IxbMCbFcdsTMEbaa3lAsqo nq9zpXAv6ffdhIsCTTyJ6YhfgBo0g7slxahh5vXd8agVe3zK0ozxdvUrOzcx/87NIMn6 HpMFRLdeJtElEfU+VcVQ5zdFuVkmDqS8nf38Sf136rp4+Xl5H0d4eChjMuyDTcE43kwz pWHpyQJLiDe5rzhAVwbbp75YS/aeGajwbSb1Q0Wc0IXQk/TJtVU9H2XzSSfe1lxqMNsG bWKUWNl5EqXnMgNkOPhqAn2X+gAthIbarhZZbjMt0G8k/g/mlHstoYm+cNBbOXjF2JuN /jgw== 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=EJ5Y4oZ9mGskbnswsLP7XY75FwWEUBmBo5J0iTDVhDY=; fh=9L4c8Y3Ztj8IJEHul2Oxap4WQbV4N6M3aZnulda9XVo=; b=QsoDobWWz+hYaHFbb5JwwdJ6pm3mRQAYi3yqmJoo+dq+YQvshT79seOxd6OKicEiiT N38TKoE1j56SOHycgCS3AAFqdCAOPv8ygFc4/E7A9QpM93TdkBtRK+9YbNA3CYOvElme Fl4ML96qnqPIvZoCjq8tVwClOasD+y/fbilzptqezh8KXll3a9xfaZl+GsmeRsU+QcMX OV+MsJhIAz5obBoG0JTb8o7UPZ6nWl4u5pd9q0V+UXE1Qx1CsofgI3xT6haf9N7GeZ/3 c6Rx0LoP6OBjvuMGVuN+3bmllluX3Tp3qPro+lLaQmlcjTdbVeqZIstQqP60baf1pgU2 Fyqg== 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 q12-20020a632a0c000000b00557523b8fa1si20949347pgq.880.2023.07.04.02.34.42; Tue, 04 Jul 2023 02:34:54 -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 S231948AbjGDJFY convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 Jul 2023 05:05:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231854AbjGDJFJ (ORCPT ); Tue, 4 Jul 2023 05:05:09 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C901510E4; Tue, 4 Jul 2023 02:05:03 -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 ex01.ufhost.com (Postfix) with ESMTP id BA27E24E2AD; Tue, 4 Jul 2023 17:04:55 +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; Tue, 4 Jul 2023 17:04:55 +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; Tue, 4 Jul 2023 17:04:54 +0800 From: William Qiu To: , , , CC: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Ziv Xu , William Qiu Subject: [PATCH v4 1/3] dt-bindings: qspi: cdns,qspi-nor: Add clocks for StarFive JH7110 SoC Date: Tue, 4 Jul 2023 17:04:51 +0800 Message-ID: <20230704090453.83980-2-william.qiu@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230704090453.83980-1-william.qiu@starfivetech.com> References: <20230704090453.83980-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_NONE, 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. Signed-off-by: William Qiu Reviewed-by: Hal Feng Reviewed-by: Conor Dooley --- .../devicetree/bindings/spi/cdns,qspi-nor.yaml | 12 +++++++++++- 1 file changed, 11 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..e048cf63215b 100644 --- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml +++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml @@ -70,7 +70,17 @@ properties: maxItems: 1 clocks: - maxItems: 1 + minItems: 1 + maxItems: 3 + + clock-names: + oneOf: + - items: + - const: ref + - items: + - const: ref + - const: ahb + - const: apb cdns,fifo-depth: description: -- 2.34.1