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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 B7B82C433E6 for ; Sat, 13 Mar 2021 17:54:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8806C64ECF for ; Sat, 13 Mar 2021 17:54:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234212AbhCMRxz (ORCPT ); Sat, 13 Mar 2021 12:53:55 -0500 Received: from mout.gmx.net ([212.227.15.18]:51315 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233635AbhCMRxj (ORCPT ); Sat, 13 Mar 2021 12:53:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1615658012; bh=rPjOZivutM7ahGyVWHlvhc8+PQSNNyb2U5RIaFJFD+k=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=ABpYJWgkH6r6itLhACPB/qVGYIWMzoxD/GzCKPk36AcgFgsTj5kRGlOI1ojU70PSs emSSpZUBu2TTR6g72ahUTWCqSMpdUlX2mm2SDn5o8hotfrKmez1Q8TweWpdV/XzKay BTKUpozw0JqlJBfV4o5qVJDGehYCA1x8HGMDIgC0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.215.134]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MHG8g-1lYHbo1Jj6-00DHEx; Sat, 13 Mar 2021 18:53:32 +0100 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= To: devicetree@vger.kernel.org Cc: openbmc@lists.ozlabs.org, =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Rob Herring , linux-kernel@vger.kernel.org Subject: [PATCH v3] dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML Date: Sat, 13 Mar 2021 18:53:20 +0100 Message-Id: <20210313175321.2515675-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:YdgVKbC+uUFqsQ4VX7wi1nGPYir69EyeuaQ6msT1UYLjj9qKCTK Fwav/8WA1ILbpzevkIxu9AwKMyGZIJiB2TWKOYlrSF70VIrC0V5fyaE6k99gRV0NORr8wg2 ssbHuv4vymjrGlWchvj2LvbLYK5e1mrEgrDTSZxEzDNPq/ibqV6NWTFyjaz0iBxP/L2F2+B z2zpFPMwx+z++OqCg9mUw== X-UI-Out-Filterresults: notjunk:1;V03:K0:GdCqp6B9Iz8=:FZCD7bzr46fFwmS6yIDdEr YJcHuTzfylef+APiHJk1USHhg2Nm+JgSQ8Vnck4CM0yeSEwDc2jMOFagqlDEP6QK+3w2GrYu9 vtsqOGBtJoFunqbo7oMfcb1kqSaF1rRvwLpQchWk26CkBwDdRHOxUh1N6OOqYkpJVLjqDFvUJ xyGXbojGD5XsMr6Lt0V3A+peJ++FSgjsPrcRsm2+jRG3FsHAnsgxtaSzE10RWmIscBqKphhaT O6Dbpx/cUr8iuqHQP6sw0mm9jWIxC8SA4+2wNMnqnUxqWWiWd1LUdBtNxzZ48tbaJpkwHxTyc dLEwkIlwKPvQ/zJMiQsyPD8vdTuvUWysc+kMQEfpFOj7CgdQOsfMMFcnPpzaV+dClS7bg3JXG FqhsfYRNCh+DcLttvr/FrUPAWKeWKTGALDmP+pdZsOdg+89iLI2qG5R3F9DLnUhqSDgYGb7ME HFtnjXhBevBAMdiQdp7E1r42d00wt4mLPGEL5gN3PcUVS2jRo0W8nW4q1QBb1jZzW2GvL05Cw cZNyDcPegJbEWVGtITC81SZ3vIQ01Tgd7F8c9186lxrY9vBjwjNVBG6FhIvNTP/NNLrE/43rH 8IR1kSeaMZjWP7EhUZba764hxO1gjDhAd8efcOR0Z41Zau7EdeJXKiuod/+vNPVFFGhwpixro O4EgEgrqCi8x9AlBCD/onkHVHkIUXlHYIQRoUEjmj1zCfNMiZKqIYPsJ+1nz18xHKqHBtJ/hq JdcirVw/CzH++o+u04UEh8FRD0ixXhWbXJE7Op48T+px9mM3orI1s7jTuhdhDmCy0EKQsh4Md aOqUiDndG0sYUyjgqwCGA4+7wo3VD0MNCakBkked3dg5cueJGe+a/U4QEwWmALSAsUDQ3OJN8 hvbSarBDkEQuvOxranbg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The general trend is to have devicetree bindings in YAML format, to allow automatic validation of bindings and devicetrees. Convert the NPCM SoC family's binding to YAML before it accumulates more entries. Signed-off-by: Jonathan Neusch=C3=A4fer =2D-- If someone else wants to be listed as the maintainer, please let me know. v3: - In this version, I removed the nuvoton,npcm750-evb compatible string again. I had previously introduced it to simplify the binding a little bit, but Tomer Maimon suggested to keep /compatible of nuvoton-npcm750-evb.dts as-is (i.e. only use "nuvoton,npcm750", no board-specific string). Because of this change, I am not including Rob Herring's R-b tag. v2: - https://lore.kernel.org/lkml/20210116010907.3475405-1-j.neuschaefer@gmx.= net/ https://lore.kernel.org/lkml/20210303154622.3018839-1-j.neuschaefer@gmx.= net/ - Fix indentation to satisfy yamllint - Fix $schema line =2D-- .../devicetree/bindings/arm/npcm/npcm.txt | 6 ------ .../devicetree/bindings/arm/npcm/npcm.yaml | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 6 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/npcm/npcm.txt create mode 100644 Documentation/devicetree/bindings/arm/npcm/npcm.yaml diff --git a/Documentation/devicetree/bindings/arm/npcm/npcm.txt b/Documen= tation/devicetree/bindings/arm/npcm/npcm.txt deleted file mode 100644 index 2d87d9ecea85b..0000000000000 =2D-- a/Documentation/devicetree/bindings/arm/npcm/npcm.txt +++ /dev/null @@ -1,6 +0,0 @@ -NPCM Platforms Device Tree Bindings =2D----------------------------------- -NPCM750 SoC -Required root node properties: - - compatible =3D "nuvoton,npcm750"; - diff --git a/Documentation/devicetree/bindings/arm/npcm/npcm.yaml b/Docume= ntation/devicetree/bindings/arm/npcm/npcm.yaml new file mode 100644 index 0000000000000..8cca0396a5d59 =2D-- /dev/null +++ b/Documentation/devicetree/bindings/arm/npcm/npcm.yaml @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/npcm/npcm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NPCM Platforms Device Tree Bindings + +maintainers: + - Jonathan Neusch=C3=A4fer + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: NPCM750 development board + const: nuvoton,npcm750 + +additionalProperties: true =2D- 2.30.1