From patchwork Mon Dec 3 21:32:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152762 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7318660ljp; Mon, 3 Dec 2018 13:33:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/UYjRoqEhAKh4tdyNTdvdnWKsJdUfHI5cn6kZGUN6W+bFEY8PLyVKSxhcBqWQgP/nHNrbE0 X-Received: by 2002:a17:902:7d90:: with SMTP id a16mr8348015plm.249.1543872810131; Mon, 03 Dec 2018 13:33:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872810; cv=none; d=google.com; s=arc-20160816; b=ODuN+RE8c9vzFtHLwCWT6onjL6BK+voUXfnnaVJuAgbBaNylMxsy6dXLtA+ZBTWW+X HFexfx/b6jsm3A4dcYNFCKzkrZ6K/AB8aIuvT8OFbHvz7rlbf2m+kpceNy+hayHmgJfN ORW/ZV+/dpXj7w0scHMe2jrGQqMWoFmvEs+arzY9l/XWDP0jHIzOSrkSESLMCnrntYjw gGxhghrmPKnTDRsXtrrDV1QJNcPqEDcET7EbcpC6i4eISEAuXmablhRQ9SH8NKlcUL0I Cr8xbPNqNpNMASQZ9JIBc8JYfOC2O/9lv14yulltaFRBhRFlst/AwazWiOa1RuBVFlY/ g2tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=C1hs7k72LLb2iEWqMGzdoCfupHeBs/tEkAC6k/rFIiI=; b=wLP7e6gZ7bbO6p7sog0nvmiCeG3ksJ6tld9cG4UNkYdOrPIzuEd3YokhvDL/sQanYx ABc3xMnipzElaT0H05z2SfmVW+xPQNnf/pXcBqKdU1r6rC1jT9n0fYuFfR6CtIzUZ2Iu 5QFHFLBMRaWD1ftxrBJhKfZ+WWqD5hX4nna7xHyU/KlxKcWx48jhvKW8bLKtgrNMo2dt t75e0sZhRA/KL+IfvKnE4m7Ocrxs1oNglSwDqy8236hqTTy8A/IogyufJVLDoWFnBiNc gzCsb2iml7JvLTxaLdECCZpFBfv7JhSFdEeLG8mZzXItw0OpOSHVQThZZFUNJgQd0nWb H+2w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 u184si13883506pgd.262.2018.12.03.13.33.29; Mon, 03 Dec 2018 13:33: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726349AbeLCVdH (ORCPT + 32 others); Mon, 3 Dec 2018 16:33:07 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:43606 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726294AbeLCVdA (ORCPT ); Mon, 3 Dec 2018 16:33:00 -0500 Received: by mail-oi1-f195.google.com with SMTP id u18so12339679oie.10; Mon, 03 Dec 2018 13:33:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C1hs7k72LLb2iEWqMGzdoCfupHeBs/tEkAC6k/rFIiI=; b=ltjaPr1tnhcNCcwcjkMa1pdl0aw1AyY7EpHvr2vd0svkFnI9c0M0NLtDRLfcPQI2Yb 0GnyD/Dv69rjBqO0EdOIhmPyGuc/PY1Go/KSokTBgHHr2zwuDLw05tJKg3APTLhennQf HwrxD3wbsgTXXZ+P0EFHC2/EO3RfZQ/ByOts8P8sjylqosxTXxWUWqeYKvJQWrSMcKxo pfe7dgsidmF2zIwitcsOwXvc888Zjh7JxnsgJfW+M7TnkqZCEmQUOkavrudXAW6gtNKn +SaQZprqgKDaUrpipgcoVEW0I/i4SQy5cEDCMfksFHPtD3JEHUsH0JTDocmqH5351fy8 scUQ== X-Gm-Message-State: AA+aEWZh88XkWswKRDK9+d3tHCapObsm+zJpkB3xqKRgyPbPJXliBU9M bK6qPiI3uwZrKzMDFMstDxj0F/M= X-Received: by 2002:aca:c186:: with SMTP id r128mr11603786oif.52.1543872779723; Mon, 03 Dec 2018 13:32:59 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id c78sm8545501oig.30.2018.12.03.13.32.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:58 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sean Hudson , Frank Rowand , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , arm@kernel.org, Viresh Kumar , Shiraz Hashim , Mark Rutland Subject: [PATCH v2 28/34] dt-bindings: arm: Convert SPEAr board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:17 -0600 Message-Id: <20181203213223.16986-29-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203213223.16986-1-robh@kernel.org> References: <20181203213223.16986-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert SPEAr SoC bindings to DT schema format using json-schema. Cc: Viresh Kumar Cc: Shiraz Hashim Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/spear.txt | 26 ------------------- .../devicetree/bindings/arm/spear.yaml | 25 ++++++++++++++++++ 2 files changed, 25 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/spear.txt create mode 100644 Documentation/devicetree/bindings/arm/spear.yaml -- 2.19.1 diff --git a/Documentation/devicetree/bindings/arm/spear.txt b/Documentation/devicetree/bindings/arm/spear.txt deleted file mode 100644 index 0d42949df6c2..000000000000 --- a/Documentation/devicetree/bindings/arm/spear.txt +++ /dev/null @@ -1,26 +0,0 @@ -ST SPEAr Platforms Device Tree Bindings ---------------------------------------- - -Boards with the ST SPEAr600 SoC shall have the following properties: -Required root node property: -compatible = "st,spear600"; - -Boards with the ST SPEAr300 SoC shall have the following properties: -Required root node property: -compatible = "st,spear300"; - -Boards with the ST SPEAr310 SoC shall have the following properties: -Required root node property: -compatible = "st,spear310"; - -Boards with the ST SPEAr320 SoC shall have the following properties: -Required root node property: -compatible = "st,spear320"; - -Boards with the ST SPEAr1310 SoC shall have the following properties: -Required root node property: -compatible = "st,spear1310"; - -Boards with the ST SPEAr1340 SoC shall have the following properties: -Required root node property: -compatible = "st,spear1340"; diff --git a/Documentation/devicetree/bindings/arm/spear.yaml b/Documentation/devicetree/bindings/arm/spear.yaml new file mode 100644 index 000000000000..f6ec731c9531 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/spear.yaml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/spear.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST SPEAr Platforms Device Tree Bindings + +maintainers: + - Viresh Kumar + - Stefan Roese + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - st,spear600 + - st,spear300 + - st,spear310 + - st,spear320 + - st,spear1310 + - st,spear1340 +...