Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7010263imu; Mon, 3 Dec 2018 06:25:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/VsF3rqMKg3SJERWYt/UOhsS77AXyxwEKRC1xk0TlQhooocFB7iROzNPrLTiKUVY+KbzwaM X-Received: by 2002:a17:902:680f:: with SMTP id h15mr15864958plk.40.1543847130683; Mon, 03 Dec 2018 06:25:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543847130; cv=none; d=google.com; s=arc-20160816; b=TNhBuuoANN6jok/nAccmwhEhF67aBz+9ceZLiVEF4MaKVh/1t+gHvqcUU5m96qwVlC PCIowv4ekOBbqfn4xpnEVIa/Co5wTzMIzJU2WNlxXT1zU+vabVaAUnzsmVu3cnwIrGZ1 xTDo5+1faW0HtHI8NHkGhkeHQcDPHZty+PMTZkBdLWLujtXghMd37cw9UxI7zXbXYYh2 k6Y14feLQCYpImOoY2l7OZaYx41KJgUVMEuPXq4a7hqk/LAr3ZLsB7DPF+i6KL6wahEO rNOevUK+G88Gn0MDvd/vsDU5LpkWI+77h/y/ReqvvXaVmH3UmXohDc5yN5aaHANaKZYX gIBw== 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=TUDLPaQ/irSlzx61kl+1w4YhXf/051EedeZO6e+h+ug=; b=TamfgelczqL3MSdJMQyC7TtJAYGKcXk5TWXrqJeSpi1Mcmcl2xfSIZzuFgNJSsxXcb LrnBywRG4jPWpo1O7mCAtvvAI9HNTe+Xyfjh+G5VBGoyEUjGEt3x2VhB5UQ9eXtFbBq6 VxOGHXOn7ExkILfXZ0obyP5RbS0k7bFJrmvQ6PNs9VbTKKYvi71jhjFctyoDzSTnbTc6 q5WIzKhRwq9HmzDQNXB1+SXCK9sYcGxIiROAr/EULFV1uyNciyjmc/EoFlTeKB6jkeXM BxB7GIpGeIFXm3potc57VTHp6/I1vWNaNau7GU2iU25KYR+jTixPC2/t9eeoJG8zCL/C 42VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=k2xTc4dx; 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 m3si13695895pfh.58.2018.12.03.06.25.14; Mon, 03 Dec 2018 06:25:30 -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=k2xTc4dx; 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 S1726631AbeLCOZm (ORCPT + 99 others); Mon, 3 Dec 2018 09:25:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:54788 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbeLCOZm (ORCPT ); Mon, 3 Dec 2018 09:25:42 -0500 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (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 1C5452147C; Mon, 3 Dec 2018 14:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543847069; bh=8d6A/eGHeNhO5+5OG/m5ZZxRYdvk4qfOI6WRjYjlRGI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=k2xTc4dxX60qJG6sKGGU8Qs+KPM9eRQ8DJwXkP3zzn2UCx7Dt1oZgSe3YNhaCVyrc EtxyBpa4+C7sFmTZ4dy2Ympb4JDxmEB88rw0Nxj0cG8wiGlASjLXvMRZ6a/ierWKz7 ikSQcH52spry8YBsFWGGBgTtVw8eC2lN+gJr0TnI= Received: by mail-qk1-f172.google.com with SMTP id o89so7414634qko.0; Mon, 03 Dec 2018 06:24:29 -0800 (PST) X-Gm-Message-State: AA+aEWbC2mMd5c+mi+ovWDyw+zUVIy6ifs4hak2tejQXaiKU6zaM3M4t AOhMVNLYuZSq72ZEnxsxwZoPvwT3W76f4/a48g== X-Received: by 2002:a37:7682:: with SMTP id r124mr15113528qkc.79.1543847068207; Mon, 03 Dec 2018 06:24:28 -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> <20181203124039.GA25097@arm.com> In-Reply-To: <20181203124039.GA25097@arm.com> From: Rob Herring Date: Mon, 3 Dec 2018 08:24:16 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 12/36] dt-bindings: arm: Convert cpu binding to json-schema To: Will Deacon Cc: Michal Simek , Mark Rutland , Catalin Marinas , "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 Mon, Dec 3, 2018 at 6:40 AM Will Deacon wrote: > > On Fri, Nov 30, 2018 at 12:00:05PM -0600, Rob Herring wrote: > > 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. > > I'd prefer to keep it around, since that's what's used to describe the CPUs > on the fastmodel iirc. We can and should keep it for that purpose, but do we need it as a fallback? For real cores though, we have mixture of with and without and one of those need to be fixed. Rob