Message ID | 20221220011247.35560-2-hal.feng@starfivetech.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2708443wrn; Mon, 19 Dec 2022 17:14:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5locYIqiDfFjZgqAAtlX/pWX+hEN3OoxoyamPj6LQ75zLF5etf8Y9o6jeAjrXur57L9wHA X-Received: by 2002:a05:6a00:21c1:b0:56d:dd2a:c906 with SMTP id t1-20020a056a0021c100b0056ddd2ac906mr54339195pfj.5.1671498847707; Mon, 19 Dec 2022 17:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671498847; cv=none; d=google.com; s=arc-20160816; b=Q7FzWwgFLIzMGy6P1m2/PkeQlkfwf73xDNlK0vFvzCnb3P/2dUQigFL36r+fw4z5kY 2pTQ85Jd1R7em7XVGjcy9Qs3aki3zdJIE1SyG6k2zROYGvnAfmUfp/R1yHj4K4sIujF8 Y5V/aTrAs0uG7267j3BpoRM4PPXFOP0JZz6+F/uuFXt0k1SQk9Jch+5mNX0cnIOMGq4x 4gCxN7qPIzbwTIuO4fNAiKeLrXkUFwmZw6iig6Hg3TXC+seJEi3B0/RNCOxxwudyiyv1 uQymBWPJiCG8O/VqP/uwo6VvBB5jCL2K8BrdUFCTlO5HQ7iP1vg41CugyLdu4l2AxmzA rYVw== 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=krBHXRB+0m1lWrjVglK8Eo6pZWfkhqfutloe3l/Iy9c=; b=jY3Unb0FscdS3RVhf4COodM8uOUbgu9k6ELlu09gV3uAgAOr8jc1Wz2qWaPiDlLrOR FFLdxdnFtu0BcO2xlsQ6gX0cVaJT844e+CI3TP+uRYNt0YfjQLxtQqlFQy6Cy3GRPSnK mZdaaXQstOivzLC6vrjk+PXS5dLgLZZRmcq2g9QM3CTjonO+2Cv+bvlLdHvX5Nf28onx QuS6J3iO3Tcoz+CTqh9hIe8ntdlalKAQTXA+N4sMe/b8EDfJMi921g5mttbEfoNC3IKg x8JRfemlv9crTHvmsdl8RCh1BKbbc7083PSxIyot2r+OtI688qD1hcyl+yebORKuu/SB GW5w== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a62d101000000b005752602f950si11560587pfg.208.2022.12.19.17.13.55; Mon, 19 Dec 2022 17:14:07 -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 S232256AbiLTBMz convert rfc822-to-8bit (ORCPT <rfc822;abdi.embedded@gmail.com> + 99 others); Mon, 19 Dec 2022 20:12:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiLTBMx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Dec 2022 20:12:53 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC17A11C15; Mon, 19 Dec 2022 17:12:51 -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 fd01.gateway.ufhost.com (Postfix) with ESMTP id 711C624DF03; Tue, 20 Dec 2022 09:12:50 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 20 Dec 2022 09:12:50 +0800 Received: from ubuntu.localdomain (183.27.97.120) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 20 Dec 2022 09:12:49 +0800 From: Hal Feng <hal.feng@starfivetech.com> To: <linux-riscv@lists.infradead.org>, <devicetree@vger.kernel.org> CC: Conor Dooley <conor@kernel.org>, Palmer Dabbelt <palmer@dabbelt.com>, "Rob Herring" <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Paul Walmsley <paul.walmsley@sifive.com>, Albert Ou <aou@eecs.berkeley.edu>, Ben Dooks <ben.dooks@sifive.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, "Thomas Gleixner" <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>, Stephen Boyd <sboyd@kernel.org>, Michael Turquette <mturquette@baylibre.com>, "Philipp Zabel" <p.zabel@pengutronix.de>, Linus Walleij <linus.walleij@linaro.org>, Emil Renner Berthing <emil.renner.berthing@canonical.com>, Hal Feng <hal.feng@starfivetech.com>, <linux-kernel@vger.kernel.org> Subject: [PATCH v3 1/7] dt-bindings: riscv: Add StarFive JH7110 SoC and VisionFive 2 board Date: Tue, 20 Dec 2022 09:12:41 +0800 Message-ID: <20221220011247.35560-2-hal.feng@starfivetech.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220011247.35560-1-hal.feng@starfivetech.com> References: <20221220011247.35560-1-hal.feng@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.97.120] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752693575647295560?= X-GMAIL-MSGID: =?utf-8?q?1752693575647295560?= |
Series |
Basic device tree support for StarFive JH7110 RISC-V SoC
|
|
Commit Message
Hal Feng
Dec. 20, 2022, 1:12 a.m. UTC
From: Emil Renner Berthing <kernel@esmil.dk> Add device tree bindings for the StarFive JH7110 RISC-V SoC and the VisionFive 2 board equipped with it. VisionFive 2 board has version A and version B, which are different in gmac and phy chip. The version A board has one 1000Mbps and one 100Mbps Ethernet ports while the version B board has two 1000Mbps Ethernet ports. Link: https://doc-en.rvspace.org/Doc_Center/jh7110.html Link: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Signed-off-by: Hal Feng <hal.feng@starfivetech.com> --- Documentation/devicetree/bindings/riscv/starfive.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Comments
On 20/12/2022 02:12, Hal Feng wrote: > From: Emil Renner Berthing <kernel@esmil.dk> > > Add device tree bindings for the StarFive JH7110 RISC-V SoC > and the VisionFive 2 board equipped with it. > > VisionFive 2 board has version A and version B, which are > different in gmac and phy chip. The version A board has one > 1000Mbps and one 100Mbps Ethernet ports while the version B > board has two 1000Mbps Ethernet ports. > > Link: https://doc-en.rvspace.org/Doc_Center/jh7110.html > Link: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> I assume you did not add my tag because of changes? Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Tue, Dec 20, 2022 at 09:12:41AM +0800, Hal Feng wrote: > From: Emil Renner Berthing <kernel@esmil.dk> > > Add device tree bindings for the StarFive JH7110 RISC-V SoC > and the VisionFive 2 board equipped with it. > > VisionFive 2 board has version A and version B, which are > different in gmac and phy chip. The version A board has one > 1000Mbps and one 100Mbps Ethernet ports while the version B > board has two 1000Mbps Ethernet ports. > > Link: https://doc-en.rvspace.org/Doc_Center/jh7110.html > Link: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> Unless Emil objects, I'll queue this for 6.3 once -rc1 has been tagged. Thanks, Conor.
On Tue, 20 Dec 2022 11:05:51 +0100, Krzysztof Kozlowski wrote: > On 20/12/2022 02:12, Hal Feng wrote: > > From: Emil Renner Berthing <kernel@esmil.dk> > > > > Add device tree bindings for the StarFive JH7110 RISC-V SoC > > and the VisionFive 2 board equipped with it. > > > > VisionFive 2 board has version A and version B, which are > > different in gmac and phy chip. The version A board has one > > 1000Mbps and one 100Mbps Ethernet ports while the version B > > board has two 1000Mbps Ethernet ports. > > > > Link: https://doc-en.rvspace.org/Doc_Center/jh7110.html > > Link: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > > Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> > > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> > > I assume you did not add my tag because of changes? Yes, it might not the original one to which you wanna add the Acked-by tag. Best regards, Hal > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
On Tue, 20 Dec 2022 20:58:38 +0000, Conor Dooley wrote: > On Tue, Dec 20, 2022 at 09:12:41AM +0800, Hal Feng wrote: > > From: Emil Renner Berthing <kernel@esmil.dk> > > > > Add device tree bindings for the StarFive JH7110 RISC-V SoC > > and the VisionFive 2 board equipped with it. > > > > VisionFive 2 board has version A and version B, which are > > different in gmac and phy chip. The version A board has one > > 1000Mbps and one 100Mbps Ethernet ports while the version B > > board has two 1000Mbps Ethernet ports. > > > > Link: https://doc-en.rvspace.org/Doc_Center/jh7110.html > > Link: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > > Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> > > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> > > Unless Emil objects, I'll queue this for 6.3 once -rc1 has been tagged. Thank you so much. Best regards, Hal
diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml index 5b36243fd674..fbe3c012dadf 100644 --- a/Documentation/devicetree/bindings/riscv/starfive.yaml +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml @@ -22,6 +22,12 @@ properties: - const: beagle,beaglev-starlight-jh7100-r0 - const: starfive,jh7100 + - items: + - enum: + - starfive,visionfive-2-va + - starfive,visionfive-2-vb + - const: starfive,jh7110 + additionalProperties: true ...