Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1915757rwd; Fri, 2 Jun 2023 01:55:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4yahOvepgy4joqqThL/Az5wQC7Q3f/dzSG1RAB9AsipYzlZ00AjyGptmIG9sDFpxhBOJQV X-Received: by 2002:a05:622a:10d:b0:3ef:2f92:464d with SMTP id u13-20020a05622a010d00b003ef2f92464dmr14755736qtw.28.1685696141480; Fri, 02 Jun 2023 01:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685696141; cv=none; d=google.com; s=arc-20160816; b=UJ0IJ2Hq+jaGjQQIaZFeHN5ZUeSWKipAbBJCbz11R765oCJ8+EDfzHXS/7+N4hQK2E asM7Fx2VkD3AQmcAW906Q3D5xTWOLjv2hZr+O+KMrh++72wXYyQDR6+OZeyeyY3HuC99 b1/M8PDG8jemhUuc3HWtihHT/WN8xEtvAj3TlLSanRZil0xdCMAH5G2bvY3YIDA3ay0f L3Q+ABny0RdcdkQ8YrtS4jRfeYmlQBCpuGC8AcACYiDkybV+XPifmq5TJ3bbQY1NLWCq m/rx/GAu9NYcN3YO9lxWpv5xMZm8jfUwP/jYfGE9Ixms0vcTb1QtyqZ+9EqjKrCFXBlw /NoA== 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=1P7pH1A5FXu8efNdgCehLQLHsCeRRn5k0LSLV3y8iZQ=; b=ifyAS9bPSTjS0kpgfvQu8+jJ39pEXwYilhmb8rZb9jMDs0QohaFSs+Zb5Q8+ooZBX9 +cemx/eJ8k0KcPeENoNr0GTtE6l/zFZyozUD7Z4u4cro6qln377XgWo7XlK4Z0E3xSDf 7VRm/xKPAIGbk28WxF/n5Of5KRZDzJYbi0NQugC5mo8kvKd2RQ4kfrPN0u/J9FQ6OzHL 8H1Raoz78RD12WuCH3DgubREGU9gzdVuHNbPU+pUVpzdT4xIbvPl/40jK2nPudl1zKdS FwcyhjKpcVhRVKxea7YKWeI+Si3hc9dTqN/mnNl1enIHl0v1GseetpQNRakM1gVMH9Rk mxPQ== 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 23-20020a630017000000b0052ca7192647si663187pga.548.2023.06.02.01.55.28; Fri, 02 Jun 2023 01:55:41 -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 S233725AbjFBIt6 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 2 Jun 2023 04:49:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234135AbjFBItc (ORCPT ); Fri, 2 Jun 2023 04:49:32 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA7C4E50; Fri, 2 Jun 2023 01:49:30 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 4EA04807D; Fri, 2 Jun 2023 16:49:28 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 2 Jun 2023 16:49:28 +0800 Received: from williamqiu-virtual-machine.starfivetech.com (171.223.208.138) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 2 Jun 2023 16:49:27 +0800 From: William Qiu To: , , , CC: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Ziv Xu , William Qiu Subject: [PATCH v2 1/3] dt-bindings: qspi: cdns,qspi-nor: Add clocks for StarFive JH7110 SoC Date: Fri, 2 Jun 2023 16:49:23 +0800 Message-ID: <20230602084925.215411-2-william.qiu@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230602084925.215411-1-william.qiu@starfivetech.com> References: <20230602084925.215411-1-william.qiu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX168.cuchost.com (172.16.6.78) 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 --- .../devicetree/bindings/spi/cdns,qspi-nor.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml index b310069762dd..b6a27171d965 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_clk + - const: hclk + - const: pclk + resets: minItems: 2 maxItems: 3 @@ -38,6 +47,9 @@ allOf: else: properties: + clocks: + maxItems: 1 + resets: maxItems: 2 @@ -69,9 +81,6 @@ properties: interrupts: maxItems: 1 - clocks: - maxItems: 1 - cdns,fifo-depth: description: Size of the data FIFO in words. -- 2.34.1