Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4043909imu; Fri, 30 Nov 2018 10:01:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/WhslKx7KvqoBRWIUYQJdvMLoqM473mu6XR0xbHTdBmw/lh4/REB1tMcvyLVerChmkrakCq X-Received: by 2002:a17:902:f01:: with SMTP id 1mr6378350ply.143.1543600891170; Fri, 30 Nov 2018 10:01:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543600891; cv=none; d=google.com; s=arc-20160816; b=rjbHi/W2igR6QbbhIYOHNQv9bnhkCJ4Mby2/2LjMeZdo0whDk2wIIMdIlSaTonFyQN JX2oK/itLzkn+Q6zXTYMNm7acosWRFKzJ6P9vUsu6DHzToLATj0Cm0e5585/SmV4QEOc 2ojSMpsDSpKUnendW/2Lspca5jdeEUVHzV7h7mitwIcXmYlqKp36on/FbYf36FaJhUjW F3nDsEk3yicNzKm4NynhygrS+U5Kosg4HDwYxBslRd5MI/GTLwpxf50PbfpRu63X+El4 bZN6fcL6WF7H5NA+hH5b23kLNaZRNIcnXxO+RiFFJ6PcZKbXJ/Mm9cH4DvyaUrDz56Xa PzbQ== 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=25pVdrcV38PUaIiJ9o/sLDSIVOmEAI+rj5mWDFsvG70=; b=Z9b7atfRWzy2eC99cohRZLpJMfeYlvz3vhtsCONfYR48r+gok1TjBPZ0p/mg7GOpe1 xKG5/gIbUTwuMRAJAcHczq3VNMQs+WwjDK0If9cu5opDO+8k1TRUmCj8RDKqETIzSgcj ZeRyruLZq+SZhVqljTJc4xUbS7WW58S6HHsDQd4tACmmdfwOczWcmFFPSiFADKkzpKJR ZvJzMd7llMHVAPXKRk5fRpTieZSIX+8zgewCYimkgZjm+2owEEpXHfZSTOxNsUEcLMPR oFtDqMvX43AK5N+JG7K86Nky7CbpVws+iooJF+QpxjKVvbFLKPn2q3WM3iBmIaNk1THI vZxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fR6nWM3w; 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 11si5339253pgs.126.2018.11.30.10.01.14; Fri, 30 Nov 2018 10:01:31 -0800 (PST) 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=fR6nWM3w; 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 S1727199AbeLAFKX (ORCPT + 99 others); Sat, 1 Dec 2018 00:10:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:36488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726618AbeLAFKW (ORCPT ); Sat, 1 Dec 2018 00:10:22 -0500 Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (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 B341A2147C; Fri, 30 Nov 2018 18:00:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543600817; bh=/QpuGKJw2ddCeYOK3BoT6q8Eh45edi10/QgSRj8sg4I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fR6nWM3wBm1dMxNyAUPSbwdj1Q+K/XNmHKVIxb+tfplFWTz5Hf9UQePJG9BlCS+qO Bf+tw27Vw48FA0mSJiQ4QVwrMDXC1EEGZj3XbJh6TVqZe+eC0hdOB2ibCvO4cXY5VB hS0wpOT5xwQYG6bMvsnZX/wBPyPmQm8uSOExBHd4= Received: by mail-qt1-f176.google.com with SMTP id y20so6841312qtm.13; Fri, 30 Nov 2018 10:00:17 -0800 (PST) X-Gm-Message-State: AA+aEWbBXVIbhnwQv9UFPd+JxdLdom7av0vebS7NZRQhxZVIsz7ymYsG mXt4VFjO6HiqSMIzFVdWuh7ULvWIRU+Bux6LmA== X-Received: by 2002:ac8:6b18:: with SMTP id w24mr6546459qts.144.1543600816930; Fri, 30 Nov 2018 10:00:16 -0800 (PST) MIME-Version: 1.0 References: <20181005165848.3474-1-robh@kernel.org> <20181005165848.3474-13-robh@kernel.org> <035ae23f-3c92-ffd9-0753-abbd604c5c02@xilinx.com> In-Reply-To: <035ae23f-3c92-ffd9-0753-abbd604c5c02@xilinx.com> From: Rob Herring Date: Fri, 30 Nov 2018 12:00:05 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 12/36] dt-bindings: arm: Convert cpu binding to json-schema To: Michal Simek , Mark Rutland , Catalin Marinas , Will Deacon Cc: "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linuxppc-dev , Tom Rini , Kumar Gala , Grant Likely , Arnd Bergmann , Linus Walleij , Pantelis Antoniou , Bjorn Andersson , Olof Johansson , Mark Brown , Geert Uytterhoeven , Matthias Brugger , linux-mediatek@lists.infradead.org, Frank Rowand , Jonathan Cameron 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 Thu, Nov 8, 2018 at 2:49 AM Michal Simek wrote: > > Hi Rob, > > On 05. 10. 18 18:58, Rob Herring wrote: > > Convert ARM CPU binding to DT schema format using json-schema. > > > > Cc: Mark Rutland > > Cc: Matthias Brugger > > Cc: devicetree@vger.kernel.org > > Cc: linux-arm-kernel@lists.infradead.org > > Cc: linux-mediatek@lists.infradead.org > > Signed-off-by: Rob Herring > > --- > > .../devicetree/bindings/arm/cpus.txt | 490 ----------------- > > .../devicetree/bindings/arm/cpus.yaml | 503 ++++++++++++++++++ > > 2 files changed, 503 insertions(+), 490 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/arm/cpus.txt > > create mode 100644 Documentation/devicetree/bindings/arm/cpus.yaml [...] > I have take a look at xilinx part of this and try to build it for arm64 > platforms and I see errors coming from this cpu description. > /root/linux/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dt.yaml: > cpu@0:compatible: ['arm,cortex-a53', 'arm,armv8'] is too long > /root/linux/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dt.yaml: > cpu@0:compatible: Additional items are not allowed ('arm,armv8' was > unexpected) Thanks for actually giving this a spin! > Based on grep this is used in a lot of places > compatible = "arm,cortex-a53", "arm,armv8"; > > Should this be moved to just simple? > compatible = "arm,cortex-a53"; I'd normally go with the majority which would be to keep it. However, 'arm,armv8' is of questionable value, isn't actually documented, and doesn't exist for any other version of the architecture. So we should kill it IMO. Paging Mark Rutland and other arm folks... Rob