Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8620973rwb; Thu, 24 Nov 2022 01:57:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf5CvCzh/IzSVFRUuyy2ve65Yc2VTqjYI86pJp732+JNFoOC5EOBcKoOc0gYrwfdnAGw4afE X-Received: by 2002:a17:90a:9f03:b0:211:59c6:6133 with SMTP id n3-20020a17090a9f0300b0021159c66133mr34999000pjp.238.1669283856778; Thu, 24 Nov 2022 01:57:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669283856; cv=none; d=google.com; s=arc-20160816; b=EW3pPpA2SYzxGntpiPr4ZHVX58uQTTLp0FDeWMEbz1q2lQWXc0RohkY4w2JIEWn+aU ZefYxqQhTjKivgLnzMzAbmppqop/FwYnpt6bsq3VEaMhiO8IMxZbnsS2/Kk6a1Zdapa9 1jicdtBHMTOPNtXoWNycxpnUW+e9348ER4xXJoxYqEZ9LKhf6PyA2mNFMHewFbl9tp9G SR1oXiLQWOn/o10pkAzmGLcvbKRXFYxnl/yUJz/ijgisA6Ql+mhpifisOl1V1hbzJxWm lSvCpt9xb3fsU9dISW+lQOaOw5LfRrVDf2TcYSPCmVaGFcFIAq62RKnqnszJ1s5n4EcU qKTQ== 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=Vz+Z+DHYwaGq24L6zE/uShsQEKYOLW+CVmEGQRJi4MU=; b=SxF38MwseDopSyEXmHQUsPUlu+3h7omna/CyrXXjsmfXLxV2qFjOlZLjcJi7PHA+Bn lWxKIjFjqk8nBcnRQogrWCP/ZhEdmm6AFjZvhPfJFZcpl+TBe845afiNyeMOBd8LSrYc BX/Dh+ylxXwh86kae6MiMWgd5RBlZJV1p1fL/yGQxVx5XolFuddl6kV9CdHPIjZ8jTAv maanT76tnZlprqRGIu7XepAvhu3GBYFfzuPiH73OPm4HxN4wIjT3OfE+myXgfwJPgz0C kgZ3hZuHdUFybUwKe/xa+7KOyj3h9H43z9ls3c1rx+rIwFvtl0sNWAGGFRKGSAPgdiwj ypyQ== 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 v13-20020a63464d000000b0047702d2fe08si885804pgk.493.2022.11.24.01.57.26; Thu, 24 Nov 2022 01:57:36 -0800 (PST) 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 S229846AbiKXJto (ORCPT + 87 others); Thu, 24 Nov 2022 04:49:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbiKXJtm (ORCPT ); Thu, 24 Nov 2022 04:49:42 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66060F72DA; Thu, 24 Nov 2022 01:49:41 -0800 (PST) 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 E832024E154; Thu, 24 Nov 2022 17:49:39 +0800 (CST) Received: from EXMBX072.cuchost.com (172.16.6.82) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 24 Nov 2022 17:49:39 +0800 Received: from [192.168.125.106] (183.27.97.81) by EXMBX072.cuchost.com (172.16.6.82) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 24 Nov 2022 17:49:39 +0800 Message-ID: Date: Thu, 24 Nov 2022 17:50:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v2 1/8] dt-bindings: riscv: Add StarFive JH7110 SoC and VisionFive2 board Content-Language: en-US To: Emil Renner Berthing CC: "linux-riscv@lists.infradead.org" , "devicetree@vger.kernel.org" , Conor Dooley , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Ben Dooks , Thomas Gleixner , Marc Zyngier , Stephen Boyd , Michael Turquette , Philipp Zabel , "Linus Walleij" , "linux-kernel@vger.kernel.org" References: <20221118011714.70877-1-hal.feng@starfivetech.com> <20221118011714.70877-2-hal.feng@starfivetech.com> <202211190418.2AJ4IQjc072382@SH1-CSMTP-DB111.sundns.com> From: Hal Feng In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.81] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX072.cuchost.com (172.16.6.82) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 Thu, 24 Nov 2022 10:20:32 +0100, Emil Renner Berthing wrote: > On Thu, 24 Nov 2022 at 06:56, Hal Feng wrote: > > > > On Sat, 19 Nov 2022 01:28:48 +0800, Emil Renner Berthing wrote: > > > On Fri, 18 Nov 2022 at 02:17, Hal Feng wrote: > > > > > > > > From: Emil Renner Berthing > > > > > > > > Add device tree bindings for the StarFive JH7110 RISC-V SoC [1] > > > > and the VisionFive2 board [2] equipped with it. > > > > > > > > [1]: https://doc-en.rvspace.org/Doc_Center/jh7110.html > > > > [2]: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > > > > > > > > Signed-off-by: Emil Renner Berthing > > > > Signed-off-by: Hal Feng > > > > --- > > > > Documentation/devicetree/bindings/riscv/starfive.yaml | 4 ++++ > > > > 1 file changed, 4 insertions(+) > > > > > > > > diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml > > > > index 5b36243fd674..64008c57e31f 100644 > > > > --- a/Documentation/devicetree/bindings/riscv/starfive.yaml > > > > +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml > > > > @@ -22,6 +22,10 @@ properties: > > > > - const: beagle,beaglev-starlight-jh7100-r0 > > > > - const: starfive,jh7100 > > > > > > > > + - items: > > > > + - const: starfive,visionfive-v2 > > > > > > I think StarFive has switched to just calling it VisionFive 2 and not > > > V2. Please check up on this before committing to the compatible > > > string. > > > > > > Also there are going to be different revisions of the VisionFive 2 > > > board, so maybe consider adding eg. starfive,visionfive-2-v1.1 and > > > starfive,visionfive-2-v1,2b early. > > > > I checked that the official name of this board is "VisionFive 2". The > > board has version A and version B, which are different in gmac and phy > > chip. The version A board has one 1000M and one 100M Ethernet ports > > while the version B board has two 1000M Ethernet ports. In dts, they > > have different configuration parameters for gmac. So I would like to > > distinguish them by two compatibles as below in the next version. > > > > - items: > > - enum: > > - starfive,visionfive-2-va > > - starfive,visionfive-2-vb > > - const: starfive,jh7110 > > Cool. Though the silkscreen on my board says "VisionFive 2 V1.2B" so I > think it would be less confusing if you used that as the model, and > "starfive,visionfive-2-v1.2b" as the compatible string for the board. As far as I know, VisionFive 2 V1.3B is coming and all version B boards use the same configuration. It's unnecessary to add the detailed number of PCB version. > > > > Best regards, > > Hal > > > > > > > > > + - const: starfive,jh7110 > > > > + > > > > additionalProperties: true > >