Message ID | 20230514165651.2199-7-jszhang@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6437730vqo; Sun, 14 May 2023 11:05:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4cXCerrpv7Og14glryHq7GQ4E+MSIbNXovDLEyWJGWtWY1yN3wHx63cEaqRxe+lNUYiHxj X-Received: by 2002:a05:6a20:7d9c:b0:100:c125:5c93 with SMTP id v28-20020a056a207d9c00b00100c1255c93mr32048678pzj.21.1684087532211; Sun, 14 May 2023 11:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684087532; cv=none; d=google.com; s=arc-20160816; b=kEOovr/RuKcYw7G+Qf7/zIgpOe+UMuZYz/THQn2K/lGugUeYmtT+4hjj70LcBxFWW3 rWN3azw6VxzOTXyT6JdHrP7rsf03rup4dzJbkJlVtfasYTGuyne4aEcvh77Cmf11R3al 7JpUWqNUPlL+tUuplUZqFDXJ9p0vqh5PQ1jOagdza2ZhjyyTwKMZUz02Udv97WxA2Jgt lUrbsnfGjpXO9O7++QHL+hgGSStaTk+1ZgVCuxV1l/omdoml2uA7avMbC8F8tnMv+Fl3 MMPzSKv85gU6sH3cUVD81S6WlBTZXNyMe7zbajWvO5vKTyZ7p1ktZ3CxiEcKsGnYmDdY fWZw== 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 :dkim-signature; bh=zFUfoBPSpDog/7gD3hyVtYei4si4EhfMrO95vB4EjCM=; b=l+YEnjwQHI6kSiLMK72T/iwBw1djURGKL+JIgC0hb+1AiN5PCJ2WYy2fwmGS82xZpp Q0noeaxDNsjCJQN0/FlpDmJi+lOdbCVMhlMOqhZnUvTkP0oXClDgO8Dw87jpsovgLcCt MATCi+qZnPB2uIcXUe++L++8oJvfT6WED3/fhXLSJnYF+e2tPtN8nhtd5F4t7Ha77Wx2 1plzitI56XzgdXKqoUlyh5s81swqLdqfN6g0ZgQWB/fdt+OxRjA7yj+i2EtUwUBwc9bP 0JUPVCfAyiBD5GnUT52wAJHyqJTN6Dpmm8BoAK5IU+lGGbgifWDC8lgSJjRNTDjPK2tF TiLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Meb4Y+On; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv9-20020a632e09000000b0051b5de41857si13471819pgb.101.2023.05.14.11.05.08; Sun, 14 May 2023 11:05:32 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Meb4Y+On; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237976AbjENRJF (ORCPT <rfc822;peekingduck44@gmail.com> + 99 others); Sun, 14 May 2023 13:09:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237624AbjENRIf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 14 May 2023 13:08:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA93F4693; Sun, 14 May 2023 10:08:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 597EA60A48; Sun, 14 May 2023 17:08:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8238DC433A1; Sun, 14 May 2023 17:08:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684084104; bh=nU59cXNxIxg1xRf83ZxNAjnBWCbOsi5G1w81Y+YE8yU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Meb4Y+On006rm678MW9DN64znWuDr1LMYi1YqQAn6ojS/MTd919WahW9qrt7E1ia3 0VajTyDOXUhATVqtiDNJ3nRIpTtYVEggVRnriuS0gmtRAsYjk65eYKufGKamsCUgFN uiASwoMfd27S6cQNeGVh1OW2zrtW7oPc2A8cqwjROzuAVJJ3Yn4xhZ9XPiBBQ2zN+z Wx264H/zdGkZrBAlip9e6SEAnZuppZ3B21NwH5YZb9oNzVTbccdl6qpP6VoD5KB6oC QCCqg6v78Xba1zrFulToJyY4u/2lEttKCWhs4rFB4o2F8tNqQ5cbf5MkclxDrP9rXQ mXR8XtWVmqdWA== From: Jisheng Zhang <jszhang@kernel.org> To: Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Palmer Dabbelt <palmer@dabbelt.com>, Paul Walmsley <paul.walmsley@sifive.com>, Albert Ou <aou@eecs.berkeley.edu>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org> Cc: Samuel Holland <samuel@sholland.org>, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-serial@vger.kernel.org, Palmer Dabbelt <palmer@rivosinc.com> Subject: [PATCH v3 06/10] dt-bindings: riscv: Add bouffalolab bl808 board compatibles Date: Mon, 15 May 2023 00:56:47 +0800 Message-Id: <20230514165651.2199-7-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230514165651.2199-1-jszhang@kernel.org> References: <20230514165651.2199-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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: <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?1765893768006395051?= X-GMAIL-MSGID: =?utf-8?q?1765893768006395051?= |
Series |
riscv: add Bouffalolab bl808 support
|
|
Commit Message
Jisheng Zhang
May 14, 2023, 4:56 p.m. UTC
Several SoMs and boards are available that feature the Bouffalolab bl808 SoC. Document the compatible strings. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> --- .../bindings/riscv/bouffalolab.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/riscv/bouffalolab.yaml
Comments
On Mon, May 15, 2023 at 12:56:47AM +0800, Jisheng Zhang wrote: > +title: Bouffalo Lab Technology SoC-based boards I know you're only propagating an existing pattern, but the "SoC-based" looks rather odd! > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - description: Carrier boards for the Sipeed M1s SoM > + items: > + - enum: > + - sipeed,m1s-dock BTW, do you know of any other m1s compatible docks? I couldn't find any other ones via Google, so maybe it is just worth swapping the enum here for another const. Either is fine by me though. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor.
On Sun, May 14, 2023 at 07:39:28PM +0100, Conor Dooley wrote: > On Mon, May 15, 2023 at 12:56:47AM +0800, Jisheng Zhang wrote: > > > +title: Bouffalo Lab Technology SoC-based boards > > I know you're only propagating an existing pattern, but the "SoC-based" > looks rather odd! > > > +properties: > > + $nodename: > > + const: '/' > > + compatible: > > + oneOf: > > + - description: Carrier boards for the Sipeed M1s SoM > > + items: > > + - enum: > > + - sipeed,m1s-dock > > BTW, do you know of any other m1s compatible docks? > I couldn't find any other ones via Google, so maybe it is just worth FWICT, there's no other m1s compatible docks, but in theory the SoM can be used to build different docks, I just keep it as is since you are fine with it too ;) > swapping the enum here for another const. > Either is fine by me though. > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > Thanks, > Conor.
diff --git a/Documentation/devicetree/bindings/riscv/bouffalolab.yaml b/Documentation/devicetree/bindings/riscv/bouffalolab.yaml new file mode 100644 index 000000000000..3b25d1a5d04a --- /dev/null +++ b/Documentation/devicetree/bindings/riscv/bouffalolab.yaml @@ -0,0 +1,29 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/riscv/bouffalolab.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bouffalo Lab Technology SoC-based boards + +maintainers: + - Jisheng Zhang <jszhang@kernel.org> + +description: + Bouffalo Lab Technology SoC-based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Carrier boards for the Sipeed M1s SoM + items: + - enum: + - sipeed,m1s-dock + - const: sipeed,m1s + - const: bouffalolab,bl808 + +additionalProperties: true + +...