Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp13700194rwb; Sun, 27 Nov 2022 09:44:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf50OEYcq4Ya0E62F3oVHPO9AAjk0vOBDEyi5SjyI/AVcjWnVA/0G46RPYuJwG+tNMe632fB X-Received: by 2002:a17:906:1d14:b0:7ad:79c0:46f4 with SMTP id n20-20020a1709061d1400b007ad79c046f4mr39978350ejh.363.1669571069789; Sun, 27 Nov 2022 09:44:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669571069; cv=none; d=google.com; s=arc-20160816; b=qkVMRW76NkIvqw+McklRIP5M+v3aEhFKIXrGA9glicRozlrHUCZ41a4eRDPbV4MzlS c0SEbBPGoarepfozFupYRK2VhdoNq9SNv3B62bUkrBJtUwx3GFskDtwmnsLIeDrFpVAN 7bNqYUKKau3jKUDYHRkRiSLRkSkeq2jpfIA4CWYhWWj8epHlQ8IBCTh7qIQHEkkdQOHj 5+thuBg3HG0/57sWaxRI+gxcyjYX5ehvzeqYpy5t+rDdC4aGsPJyUjVf0NFnmjbQe4J9 u6coTkA0fNGlC2LS6bpH5xzQvJTgXTgBheBcyBDYaYRbg83ijpZexiBt5FFa6+/QdyK5 Q9ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PU1zJTMJkIHLE1tzBbgBUcP1LYhUT2sjrOTL/4l9LOs=; b=KCdnikNz4l1nQJoGHppObe0zsw5EbuOf6c+K519IOoDAf/xhpK9W3O2o61GU6VULGa NC4EdnjrlVG8G1epitXClGqlTm0Ypb+rMbqUr1n7hS8FELna3j4CZwhmnAJea9tXkI2s CFkUaI8QYrAcgen2f3PwNneXPv9PpiVD9IPOD7lMjM0YHr+Z50dO8lIPPvBYzwZqUUPG AiLn0a33PIVvNqZM3z3z8XupHBfzaX0O2MR5tnBB1PWqoKlNePzms1QjkofrUdSwu5XY 2PkFjmwVSMpTc9V05tcyk1LmnYnlf+DY9WrvD2ZjfonMrpwomY1aAv/woxnOwud3z9M9 RhSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Et+gGNvD; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds5-20020a0564021cc500b0045cc36d6d8fsi7906279edb.336.2022.11.27.09.44.08; Sun, 27 Nov 2022 09:44:29 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Et+gGNvD; 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 S229605AbiK0RaK (ORCPT + 83 others); Sun, 27 Nov 2022 12:30:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiK0RaI (ORCPT ); Sun, 27 Nov 2022 12:30:08 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1874364E4; Sun, 27 Nov 2022 09:30:07 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id C9CEEB80B27; Sun, 27 Nov 2022 17:30:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0810BC433C1; Sun, 27 Nov 2022 17:30:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669570204; bh=HmQF8mfTp92YXxlx5z8dXvAr+KpT38AMBrKC7yplp+g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Et+gGNvDUFOGo7vlvdBfdLRwWGnLPVq3NDrDiqbnh2tLuQeYphrPDbuC+9xv3n2vN mXZSpSId0MICo8fzVFZu7fhtmtj+p+xXFM+zRKnsq1+ExZFxdpBcZCFbdgFksL3/D8 CpiTsRWKx6APlFaE7vJ16sBunA45PMONSo8dGOwcxs4YhxQj5ifTBMYGqeFbhEesEu EXhfHH41sOaS4iBvJHfJ/LLAlAybPz/3BDOWdsIQu26CGtfQazuOQfu5+fFxRgbvDP Rao+gtrFlTsCIUOMo7zRVPLAh/kRne33M10bynQOxVee0QBgBKD3PNyBx3NaTgGPqp WouETvMDf1Umg== Date: Sun, 27 Nov 2022 17:29:59 +0000 From: Conor Dooley To: Jisheng Zhang Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Greg Kroah-Hartman , Jiri Slaby , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v2 5/9] dt-bindings: riscv: Add bouffalolab bl808 board compatibles Message-ID: References: <20221127132448.4034-1-jszhang@kernel.org> <20221127132448.4034-6-jszhang@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221127132448.4034-6-jszhang@kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Sun, Nov 27, 2022 at 09:24:44PM +0800, Jisheng Zhang wrote: > Several SoMs and boards are available that feature the Bouffalolab > bl808 SoC. Document the compatible strings. > > Signed-off-by: Jisheng Zhang > --- > .../bindings/riscv/bouffalolab.yaml | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/riscv/bouffalolab.yaml > > diff --git a/Documentation/devicetree/bindings/riscv/bouffalolab.yaml b/Documentation/devicetree/bindings/riscv/bouffalolab.yaml > new file mode 100644 > index 000000000000..91ca9dbdc798 > --- /dev/null > +++ b/Documentation/devicetree/bindings/riscv/bouffalolab.yaml > @@ -0,0 +1,34 @@ > +# 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 > + > +description: > + Bouffalo Lab Technology SoC-based boards > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - description: Sipeed M1s SoM: ^ Drop these :s in the descriptions to placate Rob's bot :) > + items: > + - const: sipeed,m1s > + - const: bouffalolab,bl808 > + > + - description: Carrier boards for the Sipeed M1s SoM: > + items: > + - enum: > + - sipeed,m1s-dock Do we need the enum when there's only one? I assume you're future proofing against adding more carriers? Otherwise than those two bits: Reviewed-by: Conor Dooley > + - const: sipeed,m1s > + - const: bouffalolab,bl808 > + > +additionalProperties: true > + > +... > -- > 2.38.1 >