Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1336930ybv; Thu, 20 Feb 2020 18:12:27 -0800 (PST) X-Google-Smtp-Source: APXvYqx1Ed0ts55T8RA5iiTtGOHsksT1dRXsGdfiD7x1bMWYpAlu5Cc/ru/gofJpE2cOMiWm3jVj X-Received: by 2002:a05:6830:1198:: with SMTP id u24mr25371169otq.215.1582251147778; Thu, 20 Feb 2020 18:12:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582251147; cv=none; d=google.com; s=arc-20160816; b=zqeLO54jtnbQ6OmhnVLPrNLw5kjcCSJiyetq8a0NJhTBW+CQUwCMSBqDpNBCPN71Rv 5dy1l5X7ioGXZYjTU5oUUBxX0PHhyUoY8bRQdsfh6V/16Ga3yTDPWg2Cc0NVgsDzD4uM pJLkwXvhq/Kcpq+xZf95/l9WMNBkUKHZFRf8te/iqroEUTHwBiMoPhxBmf22gbYOq9TM 1zv+/aAbIigwcXuhMT2hG6IqxNKsjv+J+/BBFAFuR+Y0fhKV+HPOpoFYfNzRRd/WQRax Yes5kJhqIam1SqS77CGa+nQu0hl/mX7QZzC0H1Z8/8vTXGan7lq5cgerQU4g4W7MpeLN wUVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=J5YlQLARzzU9Enfb9QitiBwyznmuB4gzWmaSBIM5u7c=; b=hgk+xskZ9f+YHKh7HwEE2Z583CgLKasJHujwQpGWccofSteYnIh+jhm6m5gGpzQUl8 ACWLRdreq78llnjQF2eFy4NnDQNHaewSJdwwYGj2iVf/hqsFLzfUPdh6lt3npE9ejnaU yLjUYTEazXFQJZNa5He0ATGBNVrDJeq0BZKZalfFznvZnCQteCw1PDl12RONP5kwNuDy rhQ9YQycyh2FHLFS9ea9j9yr2vDFIfZ7QA2iuN56x0OfHHaO4mAJRzIVcdIJScrkg8aE NUe5lpTLyNg+0mEGkUZtYTqgtxWB/WPvJeSUshk2zspob6HuhV++slhaQ2jXP2aTgqfi OYXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=vIaGzjaL; 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 j143si88732oib.16.2020.02.20.18.12.15; Thu, 20 Feb 2020 18:12:27 -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=@nifty.com header.s=dec2015msa header.b=vIaGzjaL; 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 S1729371AbgBUCLo (ORCPT + 99 others); Thu, 20 Feb 2020 21:11:44 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:46308 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728992AbgBUCLo (ORCPT ); Thu, 20 Feb 2020 21:11:44 -0500 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id 01L2A7H5001755; Fri, 21 Feb 2020 11:10:07 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com 01L2A7H5001755 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1582251010; bh=J5YlQLARzzU9Enfb9QitiBwyznmuB4gzWmaSBIM5u7c=; h=From:To:Cc:Subject:Date:From; b=vIaGzjaLDunfjhmFTMiuPJDeE0a0PQm5JxnACdIpVBMWksHGTnOrmLSM43k9R25CW wRRypljz7oOexuPsphlTKWKAT/+NRK5BbL4IybvZk4ZC7/5fcJBR2EWXd3U+J4M4v7 OXUt8HOL4TFEE4PVvcmD30zWGRe7/rYJV6UbFZbGSG3856UMmpVe/rdWS91mpD8b7j bNgmZNiVmNOCbXLMC2pQifOgZ1C0IPdJ9RI8oha3uoifC6nbfxqd8Reg7ezhcJjSgq 843JN/o9GqLqJw9G9y1p1RkfN3Omqs3hbYOPWz+Gv1t8u12C0to3+TbnH1DRPEGtFQ UeCfSS7UHbFRg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: devicetree@vger.kernel.org, Rob Herring Cc: Frank Rowand , Masahiro Yamada , "David S. Miller" , Greg Kroah-Hartman , Jonathan Cameron , Mark Rutland , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: arm: Convert UniPhier board/SoC bindings to json-schema Date: Fri, 21 Feb 2020 11:10:00 +0900 Message-Id: <20200221021002.18795-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the Socionext UniPhier board/SoC binding to DT schema format. Signed-off-by: Masahiro Yamada --- .../bindings/arm/socionext/uniphier.txt | 47 ------------- .../bindings/arm/socionext/uniphier.yaml | 70 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 71 insertions(+), 48 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/socionext/uniphier.txt create mode 100644 Documentation/devicetree/bindings/arm/socionext/uniphier.yaml diff --git a/Documentation/devicetree/bindings/arm/socionext/uniphier.txt b/Documentation/devicetree/bindings/arm/socionext/uniphier.txt deleted file mode 100644 index b3ed1033740e..000000000000 --- a/Documentation/devicetree/bindings/arm/socionext/uniphier.txt +++ /dev/null @@ -1,47 +0,0 @@ -Socionext UniPhier SoC family ------------------------------ - -Required properties in the root node: - - compatible: should contain board and SoC compatible strings - -SoC and board compatible strings: - (sorted chronologically) - - - LD4 SoC: "socionext,uniphier-ld4" - - Reference Board: "socionext,uniphier-ld4-ref" - - - Pro4 SoC: "socionext,uniphier-pro4" - - Reference Board: "socionext,uniphier-pro4-ref" - - Ace Board: "socionext,uniphier-pro4-ace" - - Sanji Board: "socionext,uniphier-pro4-sanji" - - - sLD8 SoC: "socionext,uniphier-sld8" - - Reference Board: "socionext,uniphier-sld8-ref" - - - PXs2 SoC: "socionext,uniphier-pxs2" - - Gentil Board: "socionext,uniphier-pxs2-gentil" - - Vodka Board: "socionext,uniphier-pxs2-vodka" - - - LD6b SoC: "socionext,uniphier-ld6b" - - Reference Board: "socionext,uniphier-ld6b-ref" - - - LD11 SoC: "socionext,uniphier-ld11" - - Reference Board: "socionext,uniphier-ld11-ref" - - Global Board: "socionext,uniphier-ld11-global" - - - LD20 SoC: "socionext,uniphier-ld20" - - Reference Board: "socionext,uniphier-ld20-ref" - - Global Board: "socionext,uniphier-ld20-global" - - - PXs3 SoC: "socionext,uniphier-pxs3" - - Reference Board: "socionext,uniphier-pxs3-ref" - -Example: - -/dts-v1/; - -/ { - compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20"; - - ... -}; diff --git a/Documentation/devicetree/bindings/arm/socionext/uniphier.yaml b/Documentation/devicetree/bindings/arm/socionext/uniphier.yaml new file mode 100644 index 000000000000..1cd0adcf9ddb --- /dev/null +++ b/Documentation/devicetree/bindings/arm/socionext/uniphier.yaml @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/socionext/uniphier.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier platform device tree bindings + +maintainers: + - Masahiro Yamada + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: LD4 SoC boards + items: + - enum: + - socionext,uniphier-ld4-ref + - const: socionext,uniphier-ld4 + - description: Pro4 SoC boards + items: + - enum: + - socionext,uniphier-pro4-ace + - socionext,uniphier-pro4-ref + - socionext,uniphier-pro4-sanji + - const: socionext,uniphier-pro4 + - description: sLD8 SoC boards + items: + - enum: + - socionext,uniphier-sld8-ref + - const: socionext,uniphier-sld8 + - description: PXs2 SoC boards + items: + - enum: + - socionext,uniphier-pxs2-gentil + - socionext,uniphier-pxs2-vodka + - const: socionext,uniphier-pxs2 + - description: LD6b SoC boards + items: + - enum: + - socionext,uniphier-ld6b-ref + - const: socionext,uniphier-ld6b + - description: LD11 SoC boards + items: + - enum: + - socionext,uniphier-ld11-global + - socionext,uniphier-ld11-ref + - const: socionext,uniphier-ld11 + - description: LD20 SoC boards + items: + - enum: + - socionext,uniphier-ld20-global + - socionext,uniphier-ld20-ref + - const: socionext,uniphier-ld20 + - description: PXs3 SoC boards + items: + - enum: + - socionext,uniphier-pxs3-ref + - const: socionext,uniphier-pxs3 + +examples: + - | + + / { + compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20"; + + ... + }; diff --git a/MAINTAINERS b/MAINTAINERS index 4beb8dc4c7eb..93ccb6708ae9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2546,7 +2546,7 @@ M: Masahiro Yamada L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) T: git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier.git S: Maintained -F: Documentation/devicetree/bindings/arm/socionext/uniphier.txt +F: Documentation/devicetree/bindings/arm/socionext/uniphier.yaml F: Documentation/devicetree/bindings/gpio/gpio-uniphier.txt F: Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt F: arch/arm/boot/dts/uniphier* -- 2.17.1