Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp686976imm; Fri, 5 Oct 2018 10:03:48 -0700 (PDT) X-Google-Smtp-Source: ACcGV610AwcoaRlkdi//z4kTSNnlUYth0WxBqXBprUXqlld/ASsQ+bPcs4byKcMqpT4WAVn+BWSY X-Received: by 2002:a62:1112:: with SMTP id z18-v6mr12974387pfi.200.1538759028731; Fri, 05 Oct 2018 10:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538759028; cv=none; d=google.com; s=arc-20160816; b=0H1OqRwH5WSlK0cNLys3GfQsli1zRL5ojV+3yvohEkDi8lS2nTrYsKzONby9NEY197 Xt+Dy1n4BcGo9+dxbqtJ2F00t/ATxRbDvYsjjPxwSf8qpqXhTemFv0xj9Ph9+i7Z/w9b N1O9BzQbJqgS8EW++LHN4j0e5xacKRG2VfAGEpjQ743GdVgxYQemWea5b+b1Zs4D7uKT yoi2Qf6iRc3GHAab44UVM+WJa2wsiVLeRkV7mvg5eBgU4nx+AXbLid8pGq4qUwtXKsWG Zovlym1NqhbzmH1RQHpcJrH6NPPruYqmPNMCq5kw+6O832M7aK9WJmlV5gugEFjcbcKM MBXQ== 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=SPGQgL+i7dsSFfr2eb47rn0IE5I3MQNd8pJ5s+k4wXTQb7y+I+3KvI9WZoQq0HRzT3 F1GxqqKpf36KS4F/C0s3Ryc9TJj5zlr+ivmbVEmBU2R97U53ZWUpFosuv4YfvX4ZL70i AnqKfJDDoKNc4MOeucxYO163jEs0kcnN2rqiqeiztdcx3mJjMAVNhktSitCexe5vL9OR 1wRpG7RVNvrJGUF5i8vw+1DK7wMP7BTJkdmBkreIOvbfXpXp2xUZofjzjwUQ+3Qt3kao 94ycgOvhzd74+ee0iCkQJ0u4CzQa0MKXCf0/Adwj6/+c8qoiRY9b0ov99GDReiW9AmW+ oA8w== 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 b124-v6si8411463pgc.45.2018.10.05.10.03.33; Fri, 05 Oct 2018 10:03:48 -0700 (PDT) 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 S1729269AbeJEX6s (ORCPT + 99 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=20F=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 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 -- 2.17.1