Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8871822rwd; Tue, 20 Jun 2023 23:17:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5CKmCnD3M24TO4aZtyEXBqHkfVRwIIWeYGg1C1ijxo4ansTbK+ef1Gr3qD0WSKYihwvYVY X-Received: by 2002:ad4:5769:0:b0:632:10b1:7cf with SMTP id r9-20020ad45769000000b0063210b107cfmr854169qvx.36.1687328265751; Tue, 20 Jun 2023 23:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687328265; cv=none; d=google.com; s=arc-20160816; b=cuvsisKhZmtBWSSgiWfvPO4/M1soWNGWNac3S/iWb0+X1i7CBcy9KGZgXTLszMhmCO SrkaTWjIh0HYFCs9wGnQNrQvLoNloXiVEyER1hmhjrRkudfvI8+fvbvUg2iAu3nj5rLO HFv6OfBA1mYFpQXMKfsL5XiZXgDW6AWD5uBmJGf6Rye7l+OysYaGBLlk9MZ5xGivjOOv tNPBAKjPgeOundW3IGN9AsJ9bRBWFupZHoEkMGL6rnpfjlH8rpie+0s1ntCS6rdx4JzP A7pdvIXoWHEjhKPG0XVAxHDMVC5Jb8LHjV5+agV7iAKws9BYuBAIw8T9Kef4rnTO/24V Rzqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=BmXJs8J2vR2fKDb47XpnsFXe3qTkeB6dcXHMx/Wu6ac=; b=cfBHd3Q98ZZmCi77EAzXQ6WGuUrc+fFla2I6W3eSrFIuXCkN6+0MPK/HITxlPbLSxm NfTUVVVuVj79XCjbfUGS4S/zSlR2n7WfAO59IxTowdiUsNywZLl9DJH5l84/EyfC7tuV E7FLD0TgDYqZo9UZXXjn25VtPno1/wx3c+SXnugeGUZBmoDzsA9zep+eXXgDrjHzQjFE HjHogaidgXILKn1zqd4dqH4H7wirfwKCThWCYOVJCwuPdCvJyv9js8JSRcpH76jWLx4H /q/XvR9J5WZ0KK0G5eT6HGerfRUqXRTog4GpXlTqRSsu3aCPCyBoLGhn4yVupVWwQXuK /7nQ== 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 207-20020a6302d8000000b0054fcffc5fdesi3311786pgc.531.2023.06.20.23.17.33; Tue, 20 Jun 2023 23:17:45 -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 S230106AbjFUGFI (ORCPT + 99 others); Wed, 21 Jun 2023 02:05:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbjFUGFG (ORCPT ); Wed, 21 Jun 2023 02:05:06 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE5311728; Tue, 20 Jun 2023 23:05:02 -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 ex01.ufhost.com (Postfix) with ESMTP id 8781024E276; Wed, 21 Jun 2023 14:04:59 +0800 (CST) Received: from EXMBX068.cuchost.com (172.16.6.68) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 21 Jun 2023 14:04:59 +0800 Received: from [192.168.120.57] (171.223.208.138) by EXMBX068.cuchost.com (172.16.6.68) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 21 Jun 2023 14:04:58 +0800 Message-ID: <4bed9d52-6729-6e0d-5267-17d8f6eb892a@starfivetech.com> Date: Wed, 21 Jun 2023 14:04:56 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v3 3/3] riscv: dts: starfive: Add QSPI controller node for StarFive JH7110 SoC To: Krzysztof Kozlowski , , , , CC: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Ziv Xu References: <20230619083517.415597-1-william.qiu@starfivetech.com> <20230619083517.415597-4-william.qiu@starfivetech.com> <7b7694da-8b40-d76a-adca-4cf9aa206ff4@linaro.org> Content-Language: en-US From: William Qiu In-Reply-To: <7b7694da-8b40-d76a-adca-4cf9aa206ff4@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 2023/6/19 20:20, Krzysztof Kozlowski wrote: > On 19/06/2023 10:35, William Qiu wrote: >> Add the quad spi controller node for the StarFive JH7110 SoC. >> >> Co-developed-by: Ziv Xu >> Signed-off-by: Ziv Xu >> Signed-off-by: William Qiu >> Reviewed-by: Hal Feng >> --- >> .../jh7110-starfive-visionfive-2.dtsi | 32 +++++++++++++++++++ >> arch/riscv/boot/dts/starfive/jh7110.dtsi | 18 +++++++++++ >> 2 files changed, 50 insertions(+) >> >> diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi >> index 2a6d81609284..22212c1150f9 100644 >> --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi >> +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi >> @@ -126,6 +126,38 @@ &i2c6 { >> status = "okay"; >> }; >> >> +&qspi { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + nor_flash: flash@0 { >> + compatible = "jedec,spi-nor"; >> + reg=<0>; > > Missing spaces. > Will fix. >> + cdns,read-delay = <5>; >> + spi-max-frequency = <12000000>; >> + cdns,tshsl-ns = <1>; >> + cdns,tsd2d-ns = <1>; >> + cdns,tchsh-ns = <1>; >> + cdns,tslch-ns = <1>; >> + >> + partitions { >> + compatible = "fixed-partitions"; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + >> + spl@0 { >> + reg = <0x0 0x20000>; >> + }; >> + uboot@100000 { >> + reg = <0x100000 0x300000>; >> + }; >> + data@f00000 { >> + reg = <0xf00000 0x100000>; >> + }; >> + }; >> + }; >> +}; >> + >> &sysgpio { >> i2c0_pins: i2c0-0 { >> i2c-pins { >> diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi >> index 4c5fdb905da8..0b24f9e66e67 100644 >> --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi >> +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi >> @@ -440,6 +440,24 @@ i2c6: i2c@12060000 { >> status = "disabled"; >> }; >> >> + qspi: spi@13010000 { >> + compatible = "starfive,jh7110-qspi", "cdns,qspi-nor"; >> + reg = <0x0 0x13010000 0x0 0x10000 >> + 0x0 0x21000000 0x0 0x400000>; > > This should be two items so <>, <>. Not one item. > > Best regards, > Krzysztof > Will fix. Thanks for taking time to review this patch series. Best reagards William