Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1266039ybd; Wed, 26 Jun 2019 14:24:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMQZewGygjTKD9WC5FzkVK/TOuZfjUoAuCbrfOKaHd6VVQkF8AWHsIX9WcYm03zopbY5NX X-Received: by 2002:a17:90a:9291:: with SMTP id n17mr1450167pjo.66.1561584261423; Wed, 26 Jun 2019 14:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561584261; cv=none; d=google.com; s=arc-20160816; b=p0KDbrqyV6IcmyWNHI94S/ZLqQxc/tvBX/asf4mzvzWfeR+bPkL+k0AxU6BIkslwto Dn6oOHTp1o9gQBI9odI8tb0/CfxmfJo5swFbqnC1APVCrrem1TEBhBbesJOa5+mdfHCf h4sg2ufs98OOC7e0Oi/3FrUtuqi/gJ7feZFd8Z8k4UKEdvXyBd8J2HMIhAIJ2fLwRrKI v/+hnyO8jBL+esGpAP2oy6F9wZTT3mNAo5U90VF87KTR9vzmjSJlPc3twHGy/mkFTnlx KBPkYE7yAwdFpH+HKHItI184dS35Ktz4pbywD0obQBJYF1VGOuLdGaXM7qMKOW5hKR3i QXpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=XgHVVh1iwQlYOWPtBpGRVOxMwDek9WmdQZnI0nvo5lI=; b=fKqNSRI0Hjl/c8keYYzoJHp9GuokAtUE4bHUoNoD84ItjzG9t2QjNn0GmoF/NTbqFE homqpDw1rJp4k4JRzDqL9KzPMrr3U4IMA7LYtIKMjuqVjy7m/Kg6R+AbaTDzwAsQgdLg CHd6T6SCl7dXJAexX+6cj0O7aThMoY134SPQ3jBq4sDRmTosEJo0rIoHaehl1Uyf5EBt kTkhNT+IKMChx4i3E2/8x2v4rqB3wQzIqkbWWQWwmI9bbZz6+MMvRyfBpm15PykIN7bu /PDpxa3SJ/0bLVS5eUPZt4asZpX1PzVEachNgERSCfHAoGXgKG8CgiS8/hbuV9xf/Bki 4X0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=e5QEQhKB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t11si110948pgn.369.2019.06.26.14.24.05; Wed, 26 Jun 2019 14:24:21 -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=@sifive.com header.s=google header.b=e5QEQhKB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726445AbfFZVXY (ORCPT + 99 others); Wed, 26 Jun 2019 17:23:24 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:40332 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726271AbfFZVXX (ORCPT ); Wed, 26 Jun 2019 17:23:23 -0400 Received: by mail-io1-f66.google.com with SMTP id n5so6520ioc.7 for ; Wed, 26 Jun 2019 14:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=XgHVVh1iwQlYOWPtBpGRVOxMwDek9WmdQZnI0nvo5lI=; b=e5QEQhKBazNUkOTeeik1glbub3qI5Xxx4Y0LUQhAdOVNdgtYFqR0SH8KhrjwxNH1e7 qnX/OyYz+qiUuX7+JvN6Am7S7S2D8kj8wMQcVTu7hbpqBFnUoX4Si758pnyTJUeNXGby aQOeSsO9o1G3iz1qfVCY6QH+g4pHkbsRcQQ2lfR0fFgEAM9BoAI54AnQoGHgr0dnFx/9 cITyW4elC4WQrR/hYc1uGeWJ/6cbdFhzTI75w/TKN8JmPXnQgb8XLNnhKONy9nMoVwXK 5T3avA7/bwF7n3rqZNNQhVNT6v8RV4BOASCXu9+kcKs2N+MrMB+9Re4wq0f+Y/pY7ZPb hmNQ== 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:in-reply-to:message-id :references:user-agent:mime-version; bh=XgHVVh1iwQlYOWPtBpGRVOxMwDek9WmdQZnI0nvo5lI=; b=O6ZIdkXA+337NvBwp0lctYnRPhMEIGkXc3zdoLO905qJFPIU9aPru29bnCgjXVHGDM JfjqHkYnmodPv/kdpTjxj9Tyq23SW5N5Yn+y1QufmnKOb8NuIfx73FwDbBauE7c79+To o345kBgQe0Uf/9u1XmF8CwBOjqFno7m1RNQRcohNqPS8a2A2JzEL5me01sxnlp110Tz0 orKvIOJ7ESwUTqSXeynH6dMzh/lp8Wf5bVnLYzR/5sOZV9ZhviFuY8Ic0rar8pw+cQoy EWm4KQka5uRDsFLycJ52jAJIpHjrkbQjS5eIUNJhZx7i4SOOiV6Pu8GKOznLbjStyvkV dHBw== X-Gm-Message-State: APjAAAXm/GuxqdV/WEfHBYwPPEq1IbWfae7dEjk0L3upEper1nNfBtYj erICJctmth5FyQlGn4XrkfZUyQ== X-Received: by 2002:a6b:e00b:: with SMTP id z11mr322758iog.27.1561584203005; Wed, 26 Jun 2019 14:23:23 -0700 (PDT) Received: from localhost (c-73-95-159-87.hsd1.co.comcast.net. [73.95.159.87]) by smtp.gmail.com with ESMTPSA id b8sm302011ioj.16.2019.06.26.14.23.22 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 26 Jun 2019 14:23:22 -0700 (PDT) Date: Wed, 26 Jun 2019 14:23:21 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Rob Herring cc: linux-riscv@lists.infradead.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] dt-bindings: riscv: resolve 'make dt_binding_check' warnings In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Jun 2019, Rob Herring wrote: > Sorry, I guess the indentation change threw me off... > > For fixing the dtc warnings: > > Reviewed-by: Rob Herring Thanks, I've queued the following patch for v5.2-rc. Will address the schema-related issues in separate patches. - Paul From: Paul Walmsley Date: Wed, 26 Jun 2019 08:19:29 -0700 Subject: [PATCH] dt-bindings: riscv: resolve 'make dt_binding_check' warnings 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 Reviewed-by: Rob Herring # for fixing the dtc warnings --- .../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 { + 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"; + }; + }; }; ... -- 2.20.1