From patchwork Fri Oct 5 16:58:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 148240 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp689093lji; Fri, 5 Oct 2018 09:59:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV616/OLsftmOv21mSOj9mzBxMGsXDk7LosqUEUUkokzWYKT49Np/J7d5cpy2TypiYujDroDi X-Received: by 2002:a65:5c81:: with SMTP id a1-v6mr6836334pgt.390.1538758756102; Fri, 05 Oct 2018 09:59:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758756; cv=none; d=google.com; s=arc-20160816; b=Gm4ax+xbRAztkW2Rq3kpWiPABhYf2fuksRkZKW7lweW9vOWAFt2KB6JNNj/LNCSVQn KGg17q86qkPUR7xd0rsUFyQ5wtYlsaCNSSmGaVZQbzphu7SrJEDQlfIc1iw1gwmENai1 MJ7FEt6zOLVqjo8IW60Ut/JwqCFoxX3fE6fDcbAVuJfCg+YHlSG7WmyCxMPuAPkvcl+o MU02h/QYmtzS//cXxpjzlAeZyCT9rgeSiaW7E0ZVlviCprTkBZFDNFwRmefaqqsnX86j qlayG4qjJfywhYZs5plM5BkTJJb5/NTkcXv7xKblvWvBqlAR4kQTXY+j/BaMzUM+1YaO cG6w== 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=CPjyBcDgH3rQvK5Topeu+rZwcMHC70P5llkoEmHzmYE=; b=ro98kZYfQ/v9RyBGYhXD/grc6dsaCBpOVzqLnblqk8lDMOBtIBG4svZcekpgz6c+iC yir05emi8UfYFFU0pYos/5CdHNh4q9thSsSkM2FpnXGhkMhI5gLsfmomCm4X9Oj9P9GF CffKSZrav9uc2nk5r2n8DKxbmcHtnvSNfVZtJPurULS3zDua+Qf5kGOoIKPbal9gmALy Qzt3XImyfZUXlFU4pQSQx82zy9Fq6fkYAXWL56YfH3QLm6TJgfnj1nppjSf8E/YPkyzn 7Q2eRpdCGwEVw++puenfNFgq5/zlWoWSzGa5FeLsGI9QIBGxTq+rWpYwHc2gzEsHNFCd GpDA== 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 i4-v6si7781833pgk.564.2018.10.05.09.59.15; Fri, 05 Oct 2018 09:59:16 -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 S1729246AbeJEX6s (ORCPT + 6 others); Fri, 5 Oct 2018 19:58:48 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:34498 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728042AbeJEX6q (ORCPT ); Fri, 5 Oct 2018 19:58:46 -0400 Received: by mail-oi1-f195.google.com with SMTP id v69-v6so10975874oif.1; Fri, 05 Oct 2018 09:59:12 -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:mime-version:content-transfer-encoding; bh=CPjyBcDgH3rQvK5Topeu+rZwcMHC70P5llkoEmHzmYE=; b=n35/2+WrgZJw8tHlvTa6JCsMCg9+HE0UPfP3X9B5Jl8E8OEZFLqN3J/84bOZeIih9C eGnxyQNJ/T+EFNEZ3AwzMkXdVCy/YEXARhMireN/J+CV2hiQIc7WHND5souq5FhurC8z 8OPlKGCo91JS9cE0YbJpeiW9WnqB44qGmzIv6bW0XyBJvW6n5ZWKuPezG2PFDt+NkQ18 hTKEIg7Sv3FlsLQCYbhYvOFZPzLpqpiCiwX/qi0qwpzVyf9h25VMw1Rbdk3e/QpZdc+h mzIe5kBm57i0k8LFtVI6Zx3hilPqLYNhnm2l/cQYPRKEgPB03JhN9e05roqEhFG23Ec8 aIQw== X-Gm-Message-State: ABuFfoh7NfnliFgxHp1ctGs7ozMddzq7S1JXtStqziOlw/VfvzkzRSgv gdbkUQuzwuhm2U2vEnD+YraMfdBAeg== X-Received: by 2002:aca:3585:: with SMTP id c127-v6mr1661072oia.63.1538758751756; Fri, 05 Oct 2018 09:59:11 -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.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:11 -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 , =?utf-8?q?Andreas_F=C3=A4rber?= Subject: [PATCH 15/36] dt-bindings: arm: Convert Actions Semi bindings to jsonschema Date: Fri, 5 Oct 2018 11:58:27 -0500 Message-Id: <20181005165848.3474-16-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> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Convert Actions Semi SoC bindings to DT schema format using json-schema. Cc: "Andreas Färber" Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/actions.txt | 56 ------------------- .../devicetree/bindings/arm/actions.yaml | 34 +++++++++++ 2 files changed, 34 insertions(+), 56 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree/bindings/arm/actions.txt deleted file mode 100644 index d54f33c4e0da..000000000000 --- a/Documentation/devicetree/bindings/arm/actions.txt +++ /dev/null @@ -1,56 +0,0 @@ -Actions Semi platforms device tree bindings -------------------------------------------- - - -S500 SoC -======== - -Required root node properties: - - - compatible : must contain "actions,s500" - - -Modules: - -Root node property compatible must contain, depending on module: - - - LeMaker Guitar: "lemaker,guitar" - - -Boards: - -Root node property compatible must contain, depending on board: - - - Allo.com Sparky: "allo,sparky" - - Cubietech CubieBoard6: "cubietech,cubieboard6" - - LeMaker Guitar Base Board rev. B: "lemaker,guitar-bb-rev-b", "lemaker,guitar" - - -S700 SoC -======== - -Required root node properties: - -- compatible : must contain "actions,s700" - - -Boards: - -Root node property compatible must contain, depending on board: - - - Cubietech CubieBoard7: "cubietech,cubieboard7" - - -S900 SoC -======== - -Required root node properties: - -- compatible : must contain "actions,s900" - - -Boards: - -Root node property compatible must contain, depending on board: - - - uCRobotics Bubblegum-96: "ucrobotics,bubblegum-96" diff --git a/Documentation/devicetree/bindings/arm/actions.yaml b/Documentation/devicetree/bindings/arm/actions.yaml new file mode 100644 index 000000000000..af9345a228b4 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/actions.yaml @@ -0,0 +1,34 @@ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/arm/actions.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi platforms device tree bindings + +maintainers: + - Andreas Färber + +description: | + The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. The Actions Semi + S900 is a quad-core ARM Cortex-A53 SoC. + +properties: + compatible: + oneOf: + - items: + - enum: + - lemaker,guitar-bb-rev-b + - enum: + - lemaker,guitar + - allo,sparky + - cubietech,cubieboard6 + - const: actions,s500 + minItems: 2 + maxItems: 3 + additionalItems: false + - items: + - const: cubietech,cubieboard7 + - const: actions,s700 + - items: + - const: ucrobotics,bubblegum-96 + - const: actions,s900