Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1258878ybd; Wed, 26 Jun 2019 14:15:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTSnndbTI3oH0xOAOiSUratARcVvNkH0XA3ZiEnzJOHaXQwmwEO9n4PbIQ4tiqkqs9Sw9+ X-Received: by 2002:a17:902:8c83:: with SMTP id t3mr177712plo.93.1561583723032; Wed, 26 Jun 2019 14:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561583723; cv=none; d=google.com; s=arc-20160816; b=oINUi3VJgrVmPp2saWbAF9u/5DlYhLEr831AMqdPN4sWQo2hUBNrXBC5ho/3R0fzqt bMScmXOYMoF4/hDymi74s2POgqumbE26nMxvTJqnCppYm2MohWbEP6ePkGGmTZnBrC4g IrMT6OmZyKGmbuP5o/MQ4f7V2yNK0IqBD0mLZY+feQjHW9d/ia36VSd5cuQ6mjeFsFVE HO9gz7dIqBw1wGA9j/hOCJAW9yGJKHHjjbjHXR8DQGeYqnMn3ek/VmTHjA7bTg6sBmIU sYa5RzL3qRwikVtBvvhKl06kgvCGtH/1Tp1NkCnWd9683SrX+cSPt2a/n4k/e5PdF0w9 vHSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jscHsuJPimvE4W/iffDZr8Be8pliiSXTJqoire4RRRY=; b=I3bkj4YGGT26w7aEFy5OyNDwEreaC/LB6pw/lLSCL5CAp5jw2A1J0c2SBWTSJj6c0S TfxyEXHU9of9vAhCxLBRM7NHM7+z8I/FIyBKiCyDJsuDTtZauRD5LS/KCOnEkYYLslWG d5eqNYyag25dsGBu0L0x2DFQ8LiyflZq9zhY24L1PfQLKg6ftmh5YmFSHUgfRtpq8L0Y Ys1f1W3k8zy3rGCDYcHkEMGOTcz2S/aNTafJX2Y/KvJ8cIYWAY61KWThq4wZsXz5T8Dv WqsSls6LNjgODplCCrVlbhuLk4xWW1CsAQ/tIsEtYqP/lzukFEpSXdMa21lqgHYRNpd7 1phQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P6KTBhC+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y84si277499pfb.87.2019.06.26.14.15.06; Wed, 26 Jun 2019 14:15:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P6KTBhC+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726447AbfFZVNQ (ORCPT + 99 others); Wed, 26 Jun 2019 17:13:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:43008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbfFZVNQ (ORCPT ); Wed, 26 Jun 2019 17:13:16 -0400 Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 14D15204EC for ; Wed, 26 Jun 2019 21:13:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561583595; bh=7SVWpkHfE1YSV+N/YHXLrqpwi2xY8ZGPFSN0/F5f1z8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=P6KTBhC+F/EO0xRie2KzrytWpnbthLtNnNcA1O1CHoYOufReynLjrbUKH8tP/IJyf YkW2CU0ajlyohcTpRA4LAs/gR5EYFi0dDz3ERe7xEn2XYFO8OcKNGTsbThatT6r7iW kTu0yyk/dFkfOHidfUTo/tsM122g0lW4nM1Jrk44= Received: by mail-qt1-f180.google.com with SMTP id i34so164198qta.6 for ; Wed, 26 Jun 2019 14:13:15 -0700 (PDT) X-Gm-Message-State: APjAAAX93oiTG/2faBwYmH8txcsN9fYoiDwNfS93CVLAPsbRhshBGTcy T8+NI/N8q+r8AsqcVmtwf8Q/MpX2JVP1q8nsYw== X-Received: by 2002:ac8:36b9:: with SMTP id a54mr15141qtc.300.1561583594362; Wed, 26 Jun 2019 14:13:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rob Herring Date: Wed, 26 Jun 2019 15:13:03 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: riscv: resolve 'make dt_binding_check' warnings To: Paul Walmsley Cc: linux-riscv@lists.infradead.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 26, 2019 at 2:27 PM Paul Walmsley wrote: > > On Wed, 26 Jun 2019, Rob Herring wrote: > > > On Wed, Jun 26, 2019 at 9:30 AM Paul Walmsley wrote: > > > > > > Rob pointed out that one of the examples in the RISC-V 'cpus' YAML schema > > > results in warnings from 'make dt_binding_check'. Fix these. > > > > > > While here, make the whitespace in the second example consistent with the > > > first example. > > > > > > Signed-off-by: Paul Walmsley > > > Cc: Rob Herring > > > --- > > > .../devicetree/bindings/riscv/cpus.yaml | 26 ++++++++++--------- > > > 1 file changed, 14 insertions(+), 12 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml > > > index 27f02ec4bb45..f97a4ecd7b91 100644 > > > --- a/Documentation/devicetree/bindings/riscv/cpus.yaml > > > +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml > > > @@ -152,17 +152,19 @@ examples: > > > - | > > > // Example 2: Spike ISA Simulator with 1 Hart > > > cpus { > > > - cpu@0 { > > > - device_type = "cpu"; > > > - reg = <0>; > > > - compatible = "riscv"; > > > - riscv,isa = "rv64imafdc"; > > > - mmu-type = "riscv,sv48"; > > > - interrupt-controller { > > > - #interrupt-cells = <1>; > > > - interrupt-controller; > > > - compatible = "riscv,cpu-intc"; > > > - }; > > > - }; > > > + #address-cells = <1>; > > > + #size-cells = <0>; > > > + cpu@0 { > > > > This only works because you removed 'cpus' and therefore none of this > > schema is applied. > > I'm not following you - could you point out where "cpus" was removed? Sorry, I guess the indentation change threw me off... For fixing the dtc warnings: Reviewed-by: Rob Herring