From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7FC1C2B9F4 for ; Fri, 25 Jun 2021 06:59:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 86A8061424 for ; Fri, 25 Jun 2021 06:59:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 86A8061424 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=beagleboard.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QUieG6S6GglB0TNikbe8w7hVK2FrZLOYlVFuUZ32kMI=; b=rlDQm3nqk700/l og96HUn52FdoR5P6ptaVvEQb+I6vD9sn7yOdr67u00PpBelLkkU/O2EdB85tbtcE+ruNpWpnK65KP qqPSxl3lwEvU/md+8h5JhfJ9pLTT5h1zJ8zF+3as0zvVF9S3/EDK3Rp5Ce8wF/jDO5/yyEYNnWKwM qDY9U0HLr2fdBMj6xr302ALKmjEOIz3cVglU+tUYIyp6TrJtg776uR9+HNEqXKURYWtXt06fzC1bo L+1KpXRm/JVXGI3PXNcg+AJXG8H1f6yynpPtDrdZ6Jxq/Yn+QJVHir8XKgHc0UhjRl2cr9ue9EjR7 FJ7Ts0pP/PzsQt0Wxo/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwfoN-00HUkO-MM; Fri, 25 Jun 2021 06:59:35 +0000 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwfoK-00HUjV-GQ for linux-riscv@lists.infradead.org; Fri, 25 Jun 2021 06:59:34 +0000 Received: by mail-pg1-x533.google.com with SMTP id u190so6806495pgd.8 for ; Thu, 24 Jun 2021 23:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=AHwJnyu1M1WtC7LQsa6ckFoImjEwhE8dFZ25fvWXS6c=; b=dFDJj84Ym7SD6vPMsX2rksoNnPdb73Vbd+kGC60fKgLxEOpDhQRUIo7LkPeEcZ6alJ 3U2//teY0RQ6H4gvuBbyy+KmC4CdtmoaxBN2l4eTsCavRraN4EbCcoV35vrEmJjvqjjK Loqphmf/CJyDoyHOHlMDdXhoHfrm+WZ2kZnOr/sR7wdCLxd0cOJNBO78wAuGdNEtEzv4 K3sTuqtIkxVnB2GORVLYKDbjaeJAXFaTQn2CoFovwVkKLIfANEfZYQkwMX/x+xk555B9 EHlAHBo9KPFZSV8QNdKCS7xDcT6XHDgPXYWMTSJh9lP5K9tmHR9zLwrwtFlTz4WpT/5/ 5pGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=AHwJnyu1M1WtC7LQsa6ckFoImjEwhE8dFZ25fvWXS6c=; b=CHUMf0vnloV+pD8OPFLGD5EO4mCpe/zZWL3k2d216QLt68xHn57VKrsUuiMEaoDj5N WJrR0Fs798lhwdNLOFY3IinNvEh8ICVCxoS5DDVdFJuOTcl1rTgp7pRz0c96VdhDLjdz ktG462GZY4ixe2jKzJmfUZeaKVe9R7VtSSOViO2WatgGWxoTzNIbKEnXHWQrSvtP1PvF C50Ay6//xxTcaTkauwhneffZnMO+s0zzNfK73yz0xYhaw+gsETrp6MqaUTLvvng7XNHF ap84YhKDJTbbSDAydTnwldLd5upyivXXEJgDZtMDguYxd5b584ihzxWzS8rLbIMO98jO DMng== X-Gm-Message-State: AOAM530aTvaPoVOhzxZD9ha9LKe8wlO+KXsCAiK4c9Kpuqucasqx5Uyu w9zFlIX8uPwKrgz55WMU1qebxQ== X-Google-Smtp-Source: ABdhPJy00XRwPN8BHfecCuS+WWKxTsrm/686cC2PWlRyOx5C4abvPyhU42EUsvrpfXYu9OIdikuDfg== X-Received: by 2002:a63:5442:: with SMTP id e2mr8360070pgm.365.1624604371185; Thu, 24 Jun 2021 23:59:31 -0700 (PDT) Received: from x1 ([174.127.163.79]) by smtp.gmail.com with ESMTPSA id z9sm4660768pfa.2.2021.06.24.23.59.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 23:59:30 -0700 (PDT) Date: Thu, 24 Jun 2021 23:59:28 -0700 From: Drew Fustini To: Rob Herring Cc: Paul Walmsley , Palmer Dabbelt , Michael Zhu , Geert Uytterhoeven , Fu Wei , Emil Renner Berthing , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: riscv: add starfive jh7100 compatibles Message-ID: <20210625065928.GA567037@x1> References: <20210616202654.578870-1-drew@beagleboard.org> <20210624212018.GA2003868@robh.at.kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210624212018.GA2003868@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210624_235932_629769_4E57B933 X-CRM114-Status: GOOD ( 21.06 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Thu, Jun 24, 2021 at 03:20:18PM -0600, Rob Herring wrote: > On Wed, Jun 16, 2021 at 01:27:00PM -0700, Drew Fustini wrote: > > Add DT binding documentation for the StarFive JH7100 Soc [1] and the > > BeagleV Starlight JH7100 board [2]. > > > > [1] https://github.com/starfive-tech/beaglev_doc > > [2] https://github.com/beagleboard/beaglev-starlight > > > > Signed-off-by: Drew Fustini > > --- > > Note: my patch to add 'starfive' to vendor-prefixes.yaml was applied by > > Rob back on June 2: > > https://lore.kernel.org/linux-devicetree/20210602163200.GA3513985@robh.at.kernel.org/ > > > > I ran dt_binding_check and dtbs_check: > > > > $ make -j8 ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- dt_binding_check \ > > DT_SCHEMA_FILES=Documentation/devicetree/bindings/riscv/starfive.yaml > > CHKDT Documentation/devicetree/bindings/processed-schema-examples.json > > SCHEMA Documentation/devicetree/bindings/processed-schema-examples.json > > DTC Documentation/devicetree/bindings/riscv/starfive.example.dt.yaml > > CHECK Documentation/devicetree/bindings/riscv/starfive.example.dt.yaml > > > > $ make -j8 ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- dtbs_check \ > > DT_SCHEMA_FILES=Documentation/devicetree/bindings/riscv/starfive.yaml > > SCHEMA Documentation/devicetree/bindings/processed-schema.json > > DTC arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dt.yaml > > CHECK arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dt.yaml > > > > The files jh7100.dtsi and jh7100-beaglev-starlight.dts are in the > > process of being cleaned up for submission. The current downstream is: > > https://github.com/starfive-tech/linux/tree/beaglev/arch/riscv/boot/dts/starfive > > > > .../devicetree/bindings/riscv/starfive.yaml | 30 +++++++++++++++++++ > > 1 file changed, 30 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/riscv/starfive.yaml > > > > diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml > > new file mode 100644 > > index 000000000000..4deae9f5c60d > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml > > @@ -0,0 +1,30 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/riscv/starfive.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: StarFive SoC-based boards > > + > > +maintainers: > > + - Michael Zhu > > + - Drew Fustini > > + > > +description: > > + SiFive SoC-based boards > > + > > +properties: > > + $nodename: > > + const: '/' > > + compatible: > > + oneOf: > > + - items: > > + - const: beagle,beaglev-starlight-jh7100 > > + - const: starfive,jh7100 > > + > > + - items: > > + - const: starfive,jh7100 > > This alone shouldn't be valid. Thank you for pointing this out. I have removed that const item and the dtbs_check still completes ok. I will send a v2. Drew _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv