Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28528137rwd; Tue, 4 Jul 2023 21:51:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlFF2jDkyUZKnrN03Jv9qU4jwgCIoASTvYkytGxN0JuhkP/qUhpaNtZBYYjjFf3b+I54m7yS X-Received: by 2002:a17:902:daca:b0:1b8:a936:1915 with SMTP id q10-20020a170902daca00b001b8a9361915mr1857634plx.22.1688532679140; Tue, 04 Jul 2023 21:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688532679; cv=none; d=google.com; s=arc-20160816; b=CmTFcv9ISv5/CbJ4Zbs1JewgIactsDGs+ezhtGHc0hFuaq6XTkiuNRBzmWJ7wJAk2a 1tGciDbPaErJ7ERDpzwrDW41uwTm7/3ixKaRpzdA69Xx7zTsMFZk64x2WJp+REOoYnO3 Bng1gj7NNYmkQf7Z2iBUwv2IrdegTm/p72Oz1SC3/OmR5etUj3Fwb3SZOM6gDxaEgQ90 cMqvXf8atHaJlBoByvJle3ZH2Bvn9jnI8KudssnITQ2HO0nLf3yY/tE4INxUXVqZOsW+ pdI8irJZ1x8RYFb3eRTuFraBFU5Ra50cR4jHuRNGQQ+1h2wxTdK5yEMGzGLFn9tKYT/s lwCg== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=L+COM3zwifuUOtQJUI/uEVdKBpUyzyrWKziK8p2ogAA=; fh=UvyQAWZ9Ly3QLUwE4K4VTJZyYaUKbg3Zdz9RzYWevzw=; b=iLjza8hNgcbMhRnJduqyQ782zpm+k+L7DR1yloxmZp1Pu2uKW9GkQI29bxBdCt7WeX 9VtYnYB0E6XZ/gf+YPfNCagLn4jV3H3sHSHwLypkkMX5NEeAe8lwcbtq8Yd2zHviTh0H xVsekdwAk+SDQ23w2OXcPiMZgpOAy/z1pjanRN/T6XXPfxU014fn016ZvwAwiXwPKxB8 4MwVCL3CA+Y1zdfdvmeOd8Zorq4XQaYw5oUbCCX5f4lk4WPwuw0OkukZlMbl1wUYb0JP nIag9y+EgsOok9RDoN4j/P8pgQgNAA8x0OK6k64kWd/M+d/iYNE5pNRtwsjPHTBmX+MU L1BQ== 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 q18-20020a17090311d200b001b66985ff6csi23690864plh.127.2023.07.04.21.51.03; Tue, 04 Jul 2023 21:51:19 -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 S230246AbjGEDkt (ORCPT + 99 others); Tue, 4 Jul 2023 23:40:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjGEDks (ORCPT ); Tue, 4 Jul 2023 23:40:48 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B4C51A2; Tue, 4 Jul 2023 20:40:46 -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 080E824E01A; Wed, 5 Jul 2023 11:40:45 +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; Wed, 5 Jul 2023 11:40:45 +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, 5 Jul 2023 11:40:44 +0800 Message-ID: <1e9dedc6-dee3-b65d-2823-0468fcb13193@starfivetech.com> Date: Wed, 5 Jul 2023 11:40:43 +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: [RESEND v1 2/2] riscv: dts: starfive: Add spi node for JH7110 SoC Content-Language: en-US To: Krzysztof Kozlowski , , , , CC: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Linus Walleij References: <20230704092200.85401-1-william.qiu@starfivetech.com> <20230704092200.85401-3-william.qiu@starfivetech.com> <7f3b600d-d315-22d6-b987-eabfe1b04fdf@linaro.org> From: William Qiu In-Reply-To: <7f3b600d-d315-22d6-b987-eabfe1b04fdf@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/7/4 17:39, Krzysztof Kozlowski wrote: > On 04/07/2023 11:22, William Qiu wrote: >> Add spi node for JH7110 SoC. >> >> Co-developed-by: Xingyu Wu > > Missing SoB. > It looks like that drop it is the best solution. >> Signed-off-by: William Qiu >> --- >> .../jh7110-starfive-visionfive-2.dtsi | 52 ++++++++++ >> arch/riscv/boot/dts/starfive/jh7110.dtsi | 98 +++++++++++++++++++ >> 2 files changed, 150 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..a066d2e399c4 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,20 @@ &i2c6 { >> status = "okay"; >> }; >> >> +&spi0 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&spi0_pins>; >> + status = "okay"; >> + >> + spi_dev0: spi@0 { >> + compatible = "st,m25p80"; >> + pl022,com-mode = <1>; >> + spi-max-frequency = <10000000>; >> + reg = <0>; > > reg is always following compatible, not somewhere deep in properties. > Will update. >> + status = "okay"; > > okay is by default > Will drop. >> + }; >> +}; > > > Best regards, > Krzysztof > Thanks for taking time to review this patch series.