From patchwork Fri Oct 5 16:58:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 148253 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp689478lji; Fri, 5 Oct 2018 09:59:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV61V9ovdBkmbpNOvfPFyZ2QyDvFA8DwZvcvRv+1QSRbSUsbGDHRRUFg+ESQ62LgyHIe88+vS X-Received: by 2002:a62:f20f:: with SMTP id m15-v6mr12649123pfh.244.1538758777757; Fri, 05 Oct 2018 09:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758777; cv=none; d=google.com; s=arc-20160816; b=jFBYDchdmkexVI3BqD3iEkNI3bllnFM9OCVcuBnL4xsLFGoNFzCgbrdZBYtVb/0JBQ fUEsUvL+qbEdwPsP4DMCXbnKpZdB2ivteCyugcCpRWng3bEd9PGqKnYfk0shsMtytsNS nfU7ZQKrunW3nzg3pUJLfpv6EcOJg2pBsxH/dCFn3Ntz5ueKIx8OGOWCCeC9xAfmbzi1 BPqVBOMhVt2h8tzufTtfhqSz1Vt9Q9439ltEMuMAxZVAlFekeXDPfZ/LL2v2akcw6WjY cFMw+LIFkVZVK6teVSwSw0a7jgjPFi2+kfD7A8ZOB6JGbSBi7osCwQcfgJdiraafSdlE ztwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=E0eCUxfOwBpipo7Bw/JN/xoyxB44uKaqnXkAgBBbYjI=; b=s5K8bo59e1j+dBnysVxqxH1orjaY0GjcfoDVS/xVbF8AQSPJjy6Aw3z+QbQnxRxjPp LxwMk3nVib+LQQ8N0umOECPq0HFCBbHdc0yl5IpC8rv3wBFzRuMRGxdovwLUFnSrn9tu mIHWDl+XE0MTw2ypz/PfMtSHeMRqmO3VMg/Ttefo8VlMXGVcHotgaofeFYE2R3pgOxRb fomFcikFf5uOnvmUZc8GMsFItV5xxqgiDlqWF2maR/zf7uXkNGWKVTJx7gRiA3R2sE+d YdRyTAjXzsCktXOweBBqaAj3kWUDFavoPJr5aeSrE0tzsll2/RpZFEIriUWle+4EOuGZ eprQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 f62-v6si9756983pfb.218.2018.10.05.09.59.37; Fri, 05 Oct 2018 09:59:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1729581AbeJEX7J (ORCPT + 6 others); Fri, 5 Oct 2018 19:59:09 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:36992 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729541AbeJEX7J (ORCPT ); Fri, 5 Oct 2018 19:59:09 -0400 Received: by mail-ot1-f68.google.com with SMTP id o13-v6so13351231otl.4; Fri, 05 Oct 2018 09:59:34 -0700 (PDT) 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; bh=E0eCUxfOwBpipo7Bw/JN/xoyxB44uKaqnXkAgBBbYjI=; b=E9lYNO0xVTKnYGNG4vJdvL7B8RSNUN+dOsq+wcV1OhTXYmwEk2cy4xy/40v2uOK26U 9ahpZqFw07yw9eEHF65OvulGpAoWxEC0OKq8b7DK7UEVT++yRIeyL3ylviUPcatZES8J G6la/RBXOiZIsvgPbsJGKGu8v5qBdpvpCCBJbu1KY5obqraBeamk9Ooku/JrmJfm8DL2 y5mDE2I097it79sjZGYREz1FIx0eSwB6EcyQO9Q53iEHqY/rIfpU4vSRGtCpbDf6Xgn0 iAFj+Z18In12rZWj49EQ4mXx/ccwbc7OvufVVLQtLTxBrG2kD++eOdkYbSf8qIV94AFV Nznw== X-Gm-Message-State: ABuFfogIWyUm0TDwYI6AJAzRAryJGkrQfEmE2P+EudXN3mMVKHhSyukw N/RY/xiY/SjW6ruWEgc43PsTYUXlJg== X-Received: by 2002:a9d:3e54:: with SMTP id h20mr6321692otg.184.1538758773772; Fri, 05 Oct 2018 09:59:33 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id u63-v6sm2904328ota.75.2018.10.05.09.59.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:33 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Cc: Grant Likely , Kumar Gala , Frank Rowand , Mark Rutland , Linus Walleij , Olof Johansson , Arnd Bergmann , Mark Brown , Tom Rini , Pantelis Antoniou , Geert Uytterhoeven , Jonathan Cameron , Bjorn Andersson , Viresh Kumar , Shiraz Hashim Subject: [PATCH 31/36] dt-bindings: arm: Convert SPEAr board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:43 -0500 Message-Id: <20181005165848.3474-32-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005165848.3474-1-robh@kernel.org> References: <20181005165848.3474-1-robh@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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.17.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..6ce8ef979390 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/spear.yaml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/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 +...