From patchwork Mon Dec 3 21:31:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152751 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7317967ljp; Mon, 3 Dec 2018 13:32:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ue9UFAdfX8Q3wZyOJFG6iJaVC6k88+pZ+1Pn+fPufarZUqtBuhlRW/G8up9S1FgSVIK+H/ X-Received: by 2002:a17:902:3f81:: with SMTP id a1mr8962758pld.258.1543872764873; Mon, 03 Dec 2018 13:32:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872764; cv=none; d=google.com; s=arc-20160816; b=bO9vh38nl2GLTlryEOWWlOLYExq4cAuNCFrx0TCyB1MOL3lP7BeI8tevoua77JD4rQ E9Wv9zo51JKFEMJpVs3UFB5Qv/GPq/DQQUlnGd79U1l161vq+ZBctHeOpQk+hKq00KtX Dpdxc4GNMUj2nz/7mhF4PEFXOzlPkZ3Idd/Lqdjj9kpBgh+GBk8nYaBWN1yFe45TfV8O TjdTtzk4GeS33cZHVclr3F+x92isHigcbF23QFikewbd2PqsTGqr+2jQWHv6d3X8uKAx kQvPFUOQgPY7aH+5K/0H6IMxlAcbO92xShXQvQ3Dzo0yXAqPz0eltkWpg2HQdU0i+hsI glRA== 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=Fzihti73hKbmmJj389IERxLXU8bEWQPykR3QHUcAyXE=; b=Q4Yme6KtdrrKf2WSTAGV/wb93FvWlNtbXr/VoqEjOXswFa1KO3Cc0L97NGisC9LFM7 00ie2tgGV5boBqfbqipyRyiG82MAXOrv6wKSloaWKfAw/TMKmpNqglE10ZWGpugh3/WB /yplnwoFU0zDxHHlRHguCms4yVCMqn5bN5P+lG8/jfxXKNtNhHcF9rOW+ALKgjGAg82z RKbsSvulEkRYt2Pq9/ECdAtY538j6pGfW7336CL5rl9X+75e4NxoRvtM013ilUx3CfWM qHJAnsEuloRIYppVpD/T6d8wmiboOrjtHp31qdKU9+U2k67A5dmmX8P9eARSB+mwy5NE 9gjA== 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 o11si14145004pll.160.2018.12.03.13.32.44; Mon, 03 Dec 2018 13:32:44 -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 S1726137AbeLCVcm (ORCPT + 32 others); Mon, 3 Dec 2018 16:32:42 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:34669 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbeLCVcj (ORCPT ); Mon, 3 Dec 2018 16:32:39 -0500 Received: by mail-ot1-f68.google.com with SMTP id t5so13159389otk.1; Mon, 03 Dec 2018 13:32:38 -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=Fzihti73hKbmmJj389IERxLXU8bEWQPykR3QHUcAyXE=; b=n7NJdPBeXVeHo+3LpilYro0u4MqRhgjjFFjBi43fTMOIU6+I5Uhn8l+38H7qkFi2TS 5/G7PfzKAIOQfiA1t0oxlYBcz6HDWcE+baIxlW7KEp/IENy3OVnVt7qtkF+Nvtez9mTY NzmKY+Z7+kHU6DPzNBk7w+JcGzw2RUiaNsroh7I3zBL0cKWTr6eE+dDRoYNB5C/URMoR apTAU93Oa9UlNV/mhT8H5O1rNrcGzsvQeg/7Ag/mD5cK6ngwAvh6ZWcr4TWb9KVQePOc 4spaAAop5TUKWm6trME3Sn39eugG6DUcYH5/meI35taikWS33t3cO2zoOQm7mkTWGL2l Dpew== X-Gm-Message-State: AA+aEWYX7q+Y0QezUdZIpSfBNlQePRX8++sqa1wyJVByABlE5pSl02Z4 3N89iuQiUp2ZQ24NhEMRXT4RK9A= X-Received: by 2002:a9d:694a:: with SMTP id p10mr12005275oto.44.1543872757948; Mon, 03 Dec 2018 13:32:37 -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.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:37 -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, =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Mark Rutland Subject: [PATCH v2 10/34] dt-bindings: arm: Convert Actions Semi bindings to jsonschema Date: Mon, 3 Dec 2018 15:31:59 -0600 Message-Id: <20181203213223.16986-11-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 Actions Semi SoC bindings to DT schema format using json-schema. Cc: "Andreas Färber" Cc: Manivannan Sadhasivam 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 | 38 +++++++++++++ 2 files changed, 38 insertions(+), 56 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml -- 2.19.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..60abd371e474 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/actions.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/actions.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi platforms device tree bindings + +maintainers: + - Andreas Färber + - Manivannan Sadhasivam + +properties: + compatible: + oneOf: + # The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. + - items: + - enum: + - allo,sparky # Allo.com Sparky + - cubietech,cubieboard6 # Cubietech CubieBoard6 + - const: actions,s500 + - items: + - enum: + - lemaker,guitar-bb-rev-b # LeMaker Guitar Base Board rev. B + - const: lemaker,guitar + - const: actions,s500 + + # The Actions Semi S700 is a quad-core ARM Cortex-A53 SoC. + - items: + - enum: + - cubietech,cubieboard7 # Cubietech CubieBoard7 + - const: actions,s700 + + # The Actions Semi S900 is a quad-core ARM Cortex-A53 SoC. + - items: + - enum: + - ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96 + - const: actions,s900