From patchwork Fri Oct 5 16:58:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 148252 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp689436lji; Fri, 5 Oct 2018 09:59:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV62gBLYZ6H4XzUIIUt6UlFd02Qwh32fROJbd1woJvg/+DtTYsjUJhasr2v9KpeeKzZ6UN5g4 X-Received: by 2002:a17:902:a606:: with SMTP id u6-v6mr12094558plq.69.1538758774920; Fri, 05 Oct 2018 09:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758774; cv=none; d=google.com; s=arc-20160816; b=Te+FyRUnxXoQpruKM7VN+1cVhFJLQBc3S+NPk+9Fho9ejjXiuSyjBPh4kR49tKslEJ N9PiF9I+b9p3L4C9V9Y5DyjSWbJXUSz8iIl+KzY/nLsVNI+1gU4uRd30EJ2pxTtUFUE8 rKfWKuhc8hHZ1nJhSO47o490b97yuvLC6wcDwWyhM/b9e5kN7k5t9bEeu41YLdL0ef3e DnzRyNsdcbL38OXMMWN4N6EgxYXUykzSgnDGgb9qJwp6KGC2xWzJho3FupK5mQZNYqEB uID0th1zdVjmBvY4Wi5P/1KYHgls8vmuh/irqcDldZSdOcURW/PC1ilsC+p9eymXXfn6 dGZg== 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=3QaNxpesTBxVr/7vfmPYasCc5X/KE8pFik4kvCVqTlQ=; b=uNpNMuk4whk/5dVcjJXb08o08qJ9YQ/3ongZmLGWU2/YdXfiVWMLCXcfmZJoec3Mmc hs2VfqOhI8SmSxOFouuVr2OwoGZ5Mrfczbz79Ft/EYz/Nn0FHBT/V/TBpZ48ndPtLIIV 86IH9zDRkYt3318/crEg5NHkIhJ/1kHyH5lMLxZWc5U/6XgLrKhCiUn1sFVzU09c7IBJ 1SqYaI7A+A8ZAO0SRn7u3JqHyZWydjHTDstPGSJsi7WBu3m6bo9z2UbtZ1cgkdV+UBTi Pbpkeke3KYubAGoDsFQEPnae0W+H7LvUZRGtPooAjQZ7khabP/EsrNpzdClaX1cshGop Dhrg== 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 d23-v6si8882406plr.127.2018.10.05.09.59.34; Fri, 05 Oct 2018 09:59:34 -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 S1729490AbeJEX7H (ORCPT + 6 others); Fri, 5 Oct 2018 19:59:07 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:34088 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729541AbeJEX7H (ORCPT ); Fri, 5 Oct 2018 19:59:07 -0400 Received: by mail-ot1-f66.google.com with SMTP id i12-v6so13401552otl.1; Fri, 05 Oct 2018 09:59:33 -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=3QaNxpesTBxVr/7vfmPYasCc5X/KE8pFik4kvCVqTlQ=; b=ju0MXjpEbULJ3s9WGNRVvIjkcBOcUPF/QRLu6sKAzuqdbMvpo6RtfGPrqEjjVDkpyt xWCyZdJ5Yd3be0I/KVICcrQGQ4jwh/xWKxlgX3CNK2VIJjsOurr35kZ8cyyARmp7Zirp Q7OHLMfnMwZBIZRB4lgomLcRbT9sSCBKQK8skgKFOKLON2JoFxEWm8tTy6gfc/0aBaxP PyYWnSGoJxQxrp6VQ2wNK4eJLxzjoJ0DJaWBBDO0lpilV7kU2rwGlsRmj97dBz4eh7yS ZdzZIYwmlgWwWDoHzkkPoZVgbJAXbe6JJu7zl3nSduwCZldumW+4BCWxGrfud8pcorsF RG7g== X-Gm-Message-State: ABuFfoglhTx/OFePUkONuMI00BK4VQ4RwZ2MrVx87iE7Yr4AdDufC38c 3bDXYZIQIrsv44/OKiUt11d20uIiNw== X-Received: by 2002:a9d:3c1b:: with SMTP id q27mr7258445otc.103.1538758772490; Fri, 05 Oct 2018 09:59:32 -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.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:31 -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 , Barry Song Subject: [PATCH 30/36] dt-bindings: arm: Convert CSR SiRF board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:42 -0500 Message-Id: <20181005165848.3474-31-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 CSR SiRF SoC bindings to DT schema format using json-schema. Cc: Mark Rutland Cc: Barry Song Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/sirf.txt | 11 -------- .../devicetree/bindings/arm/sirf.yaml | 27 +++++++++++++++++++ 2 files changed, 27 insertions(+), 11 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/sirf.txt create mode 100644 Documentation/devicetree/bindings/arm/sirf.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/sirf.txt b/Documentation/devicetree/bindings/arm/sirf.txt deleted file mode 100644 index 7b28ee6fee91..000000000000 --- a/Documentation/devicetree/bindings/arm/sirf.txt +++ /dev/null @@ -1,11 +0,0 @@ -CSR SiRFprimaII and SiRFmarco device tree bindings. -======================================== - -Required root node properties: - - compatible: - - "sirf,atlas6-cb" : atlas6 "cb" evaluation board - - "sirf,atlas6" : atlas6 device based board - - "sirf,atlas7-cb" : atlas7 "cb" evaluation board - - "sirf,atlas7" : atlas7 device based board - - "sirf,prima2-cb" : prima2 "cb" evaluation board - - "sirf,prima2" : prima2 device based board diff --git a/Documentation/devicetree/bindings/arm/sirf.yaml b/Documentation/devicetree/bindings/arm/sirf.yaml new file mode 100644 index 000000000000..5675b3efda96 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/sirf.yaml @@ -0,0 +1,27 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/sirf.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CSR SiRFprimaII and SiRFmarco device tree bindings. + +maintainers: + - Binghua Duan + - Barry Song + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - const: sirf,atlas6-cb + - const: sirf,atlas6 + - items: + - const: sirf,atlas7-cb + - const: sirf,atlas7 + - items: + - const: sirf,prima2-cb + - const: sirf,prima2 +...