Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 934ACC636D6 for ; Thu, 16 Feb 2023 10:32:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229751AbjBPKc6 (ORCPT ); Thu, 16 Feb 2023 05:32:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjBPKcz (ORCPT ); Thu, 16 Feb 2023 05:32:55 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44E92CC3D for ; Thu, 16 Feb 2023 02:32:53 -0800 (PST) Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id E54F13F215 for ; Thu, 16 Feb 2023 10:32:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1676543569; bh=Dx3MYilqW2r7Vu1W8An/euV6qfs89+qFW9d0ePW+LXE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=PI6M1wz6bCf+rKms8XLGAeyPWnWO82gCDXLt1oGzgst4RZQKx5/TCMTdnOHfugsxf JLo27N+7uurBnQXBSCZ79F3qgI2GB+AgbJYq8QBy6jNiX2T+d3qs9HDolXnkpvVieZ HXZKOxgJ+76ap3JiyIdXuGYw5OMnEkPWf55F9j0+EvD7k00X76xSswHW/WBgQ2hKgg xEB0VgBSJoZMcB9mgsaOrjDlgWbsrdgJTR/ab1zk924Shy16JZc9puFujsBkM6LI0p r5cetXAEtn5SkKgD1dzK9v/yT3ETXB9J9rwx5avHW2dGnNU0itj9iP9QsRuMgdHU5x DV9IY3Tfl+Hyg== Received: by mail-qk1-f197.google.com with SMTP id s7-20020ae9f707000000b007294677a6e8so903809qkg.17 for ; Thu, 16 Feb 2023 02:32:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Dx3MYilqW2r7Vu1W8An/euV6qfs89+qFW9d0ePW+LXE=; b=k624Z3K41o3kq2NpGRJDZV6i2JQ7yz1kojW/KdQKRI9nHowogRkgzXfXWjXP5N5wQ6 TNSSZGCzKC4hDrMU5MxbTmXxE2FpLOfuj/br8uBTSybMiIR4jhkTqQPIvHOCM042FI8V D3xuvGk1P1OHf27ZotoCl+Y44rYWuRE2dgiTB34lcEG6jNceins5LqV2kSoxEubI8cuR 3IEl9bieaIXdqo+i1SrBSOvuQh3X4nOu16CwmjiYHwdj/5hKAiQmhEwL/QWSRlxCI1Wn tEN8uUmc0/9vJkuvBlAPmc9Qvy1pfizgUqUX1sYDl+SezUrSz7lzw5zvviV1ArdTPMre XiUA== X-Gm-Message-State: AO0yUKXbAlpPB2kn4vSRxLNVjwKQHNs3IY6Qoidu5PfFceA4d4KOwdmr NUgUR6rb6sApEKKVfpFEByjvtMUkSxdw1c7AT5Wpr1us+jSsgna7T9nHl8BfRvlRqjgtNrYnOFB AE2wTLSPrIiGfwtdTutuTuiCRmf2B4sliwgABpQK9cZ5B1X9PFC9cTIkFVw== X-Received: by 2002:a05:622a:164f:b0:3bc:e3a8:d1d6 with SMTP id y15-20020a05622a164f00b003bce3a8d1d6mr542987qtj.229.1676543568967; Thu, 16 Feb 2023 02:32:48 -0800 (PST) X-Google-Smtp-Source: AK7set+4xsIEJbTGPazez50zbEJszx4ibDQjWznUyLD8XYEgf0cX5nDZgAvCvsKEVYODY8nBGxetreYQTo+KIdL+fjs= X-Received: by 2002:a05:622a:164f:b0:3bc:e3a8:d1d6 with SMTP id y15-20020a05622a164f00b003bce3a8d1d6mr542972qtj.229.1676543568686; Thu, 16 Feb 2023 02:32:48 -0800 (PST) MIME-Version: 1.0 References: <20221220011247.35560-1-hal.feng@starfivetech.com> <20221220011247.35560-8-hal.feng@starfivetech.com> In-Reply-To: From: Emil Renner Berthing Date: Thu, 16 Feb 2023 11:32:31 +0100 Message-ID: Subject: Re: [PATCH v3 7/7] riscv: dts: starfive: Add StarFive JH7110 VisionFive 2 board device tree To: Conor Dooley Cc: Hal Feng , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Conor Dooley , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Ben Dooks , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Stephen Boyd , Michael Turquette , Philipp Zabel , Linus Walleij , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 16 Feb 2023 at 11:09, Conor Dooley wrote: > > On Thu, Feb 16, 2023 at 09:50:37AM +0000, Conor Dooley wrote: > > On Thu, Feb 16, 2023 at 10:27:17AM +0100, Emil Renner Berthing wrote: > > > On Wed, 15 Feb 2023 at 15:04, Hal Feng wrote: > > > > On 2/14/2023 5:53 PM, Emil Renner Berthing wrote: > > > > > On Tue, 20 Dec 2022 at 02:12, Hal Feng wrote: > > > > > > >> + model = "StarFive VisionFive 2 VB"; > > > > >> + compatible = "starfive,visionfive-2-vb", "starfive,jh7110"; > > > > > > > > > > Hi Hal, > > > > > > > > > > I just want to double check, is "VisionFive 2 VA" / "visoinfive-2-va" > > > > > and "VisionFive 2 VB" / "visionfive-2-vb" really what you want? I > > > > > still think having these names match what is printed on the silkscreen > > > > > makes it a lot easier for everybody. Even your own releases calls the > > > > > boards "v1.2A" and "v1.3B": > > > > > https://github.com/starfive-tech/VisionFive2/releases/ > > > > > > > > > > So I'd suggest > > > > > model = "StarFive VisionFive 2 v1.3B"; > > > > > compatible = "starfive,visionfive-2-v1.3b", "starfive,jh7110"; > > > > > > > > > > I haven't seen these "VA" and "VB" anywhere else, so if you don't want > > > > > the version numbers and can promise that there will be no incompatible > > > > > future revisions of the boards then maybe just drop the "V". Eg. > > > > > model = "StarFive VisionFive 2 B"; > > > > > compatible = "starfive,visionfive-2-b", "starfive,jh7110"; > > > > > > > > The version A board has reached the end of life. As far as I know, the > > > > version B board will not update also unless there are some important > > > > requirements and StarFive decides to update. Furthermore, it's too late > > > > to change the compatible as patch 1 was already accepted. Will it be > > > > easier to read if I modify it as below? > > > > > > > > model = "StarFive VisionFive 2 vB"; > > > > compatible = "starfive,visionfive-2-vb", "starfive,jh7110"; > > > > > > Oh, that's sad that the kernel will now end up calling the boards > > > something that's used nowhere else, even by StarFive :/ > > > But yeah, I guess vA and vB are a little easier to read. > > > > Nothing has been released with that name so AFAIU we can change it > > still. If you sort it out today/tomorrow I'll try get it to Arnd before > > the merge window opens... > > > > I might've jumped the gun a bit here, I thought that it'd been changed > > to what you (Emil) had suggested. No, I'm sorry for being late here. The below definitely looks better to me. Hal, would you be fine with this change? /Emil > > -- >8 -- > From 4d44e8a83716d1caa314f25a95bd21ac8904909e Mon Sep 17 00:00:00 2001 > From: Conor Dooley > Date: Thu, 16 Feb 2023 09:58:22 +0000 > Subject: [PATCH] dt-bindings: riscv: correct starfive visionfive 2 compatibles > > Using "va" and "vb" doesn't match what's written on the board, or the > communications from StarFive. > Switching to using the silkscreened version number will ease confusion & > the risk of another spin of the board containing a "conflicting" version > identifier. > > Suggested-by: Emil Renner Berthing > Fixes: 97b7ed072784 ("dt-bindings: riscv: Add StarFive JH7110 SoC and VisionFive 2 board") > Signed-off-by: Conor Dooley > --- > Documentation/devicetree/bindings/riscv/starfive.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml > index 60c7c03fcdce..cc4d92f0a1bf 100644 > --- a/Documentation/devicetree/bindings/riscv/starfive.yaml > +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml > @@ -26,8 +26,8 @@ properties: > > - items: > - enum: > - - starfive,visionfive-2-va > - - starfive,visionfive-2-vb > + - starfive,visionfive-2-v1.2a > + - starfive,visionfive-2-v1.3b > - const: starfive,jh7110 > > additionalProperties: true > -- > 2.39.0 > >