From patchwork Fri May 17 15:32:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 164420 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2310099ili; Fri, 17 May 2019 08:32:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQcKWZezrN4QjgEwqm6BYP4eOeLnmqJQVQzKhqmhJdpED3de2aszmvrHVhWYD1bDP7GlYH X-Received: by 2002:a62:b508:: with SMTP id y8mr61807507pfe.113.1558107147501; Fri, 17 May 2019 08:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558107147; cv=none; d=google.com; s=arc-20160816; b=KhlCNB9sAT2GNyqs442slABcx1BN3Shab4oijuu1MbBeeJKKJgz10lVpaNAwZHRsSi 6m8aY4DLmTBr+DxvvFhzE9oOdETFTcAUXTaPSJKP04qOflA0PZCrkCmFiuyAqQruBu2h 5rsh5n5EiqdXXzvnlUfpspQrgRcZNC7qVN0J9jB0Un5el7sitrIGDPso1Ag/p0xSRAIy UpI3InTsiI58zyEYRowXQfg040gNUljotjUO2uIf+SA3Nl1uIqsrFmZeTQLQaQkTHibT 1uLx1UMgWmjWS9srBtrX7KhVFoI7BqEYlxlM0JSxyMBcB+r6WWD5WSqXd7PTsQuPqIIW BVbQ== 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 :message-id:date:subject:cc:to:from; bh=pjjzE4+GT6QIjZ+kII5LCAwn20M8y12XM5bh0VRi7ew=; b=AsR8wNIERBJW6X09oDSnvhITJPTIUKqJKzORrarWQIHgK/3Exo/o+rtKXk8Pt54WaE Zz1DFqHw4pYtQQK9A2pJxFi+jVa0mWgLaKF9+QlUiS1AnGW7A+hf+1jTK/S7GtTIZYAR MRqTZwY+PYM9StFfPvYNjX8LLnPqdJuqkoEusGl8qLVkufLfiw2nYyQWDZ8QWjD6MMfA hiKmiYZ0X9tqeUDpxlakrByo/g3tVoguSicqM/ca0sswL04g7K8VPmjQd/gyMR+iGo89 LN0YFA28KXtKQkCVWI2qgq9qi4028MUnyVarICjthLVSQvR7F3mQWRLCUslC5tEA3MAZ uX+Q== 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 31si8342056pli.242.2019.05.17.08.32.27; Fri, 17 May 2019 08:32:27 -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 S1729084AbfEQPc0 (ORCPT + 7 others); Fri, 17 May 2019 11:32:26 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:42385 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728962AbfEQPc0 (ORCPT ); Fri, 17 May 2019 11:32:26 -0400 Received: by mail-oi1-f194.google.com with SMTP id w9so3647626oic.9; Fri, 17 May 2019 08:32:26 -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:mime-version :content-transfer-encoding; bh=pjjzE4+GT6QIjZ+kII5LCAwn20M8y12XM5bh0VRi7ew=; b=QPjP0oJ6RMh6MukTk0X1uK1y7Uuc4O0BZcNGheaTxvgLRcALDmfrFVTYbSWOCnl+r1 TWt4OavzH0g3RdCEpa7efq3s2ijh3q9tU0KKyi929Yw72SU+8IzVKlvUC8rs4Phkq85u C9pi6hxKaPTq5g1iKYkwPN1bLfXJosLMqO6QaH9QhRv/7dpJNKL7KbRQbG2Mn0dk0MEd Nq8eLRGyg/tCcb/6UeoV83ejUkeG7JhrUGMA0ArvFug9Ejh2fzqHcpRcThTTAXUnHkro 41UmL00Knn/a/hv5EJHb264aid3I7HKiMkwlPSPEMRhnnmg2BYQc2D0OjgJoXptCWCn6 o46A== X-Gm-Message-State: APjAAAX3jMD8FXjm+7yQK1wC0A62ErEySauoj5XEqrgqjxDo5G9mu2Yc iaEv7mRkd2XamNZ8Jg7WmQ== X-Received: by 2002:aca:aa8c:: with SMTP id t134mr9914294oie.169.1558107145584; Fri, 17 May 2019 08:32:25 -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 o124sm3340730oig.23.2019.05.17.08.32.24 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 17 May 2019 08:32:24 -0700 (PDT) From: Rob Herring To: =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam Cc: linux-kernel@vger.kernel.org, Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema Date: Fri, 17 May 2019 10:32:23 -0500 Message-Id: <20190517153223.7650-1-robh@kernel.org> X-Mailer: git-send-email 2.20.1 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: Manivannan Sadhasivam Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- v3: - update MAINTAINERS .../devicetree/bindings/arm/actions.txt | 56 ------------------- .../devicetree/bindings/arm/actions.yaml | 38 +++++++++++++ MAINTAINERS | 2 +- 3 files changed, 39 insertions(+), 57 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml -- 2.20.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 diff --git a/MAINTAINERS b/MAINTAINERS index 005902ea1450..be8c3564804c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1338,7 +1338,7 @@ F: drivers/pinctrl/actions/* F: drivers/soc/actions/ F: include/dt-bindings/power/owl-* F: include/linux/soc/actions/ -F: Documentation/devicetree/bindings/arm/actions.txt +F: Documentation/devicetree/bindings/arm/actions.yaml F: Documentation/devicetree/bindings/clock/actions,owl-cmu.txt F: Documentation/devicetree/bindings/dma/owl-dma.txt F: Documentation/devicetree/bindings/i2c/i2c-owl.txt