From patchwork Fri Oct 5 16:58:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 148260 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp690523lji; Fri, 5 Oct 2018 10:00:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV61halmb5iTT0eXkR/NMC/+/V8IzF6spiwxogiWKK1kOj4mjs+SVRkWlXEcA+/rsfoskyIam X-Received: by 2002:a63:82c6:: with SMTP id w189-v6mr10952480pgd.211.1538758834785; Fri, 05 Oct 2018 10:00:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758834; cv=none; d=google.com; s=arc-20160816; b=MMrYa4TBpvkr6CldQHS7XlhLCKUAlR4KTpK0CoY44VYbYOisqfQvynWcJAIQZyh9yH eK2vPoKgdWp6psZ/2WPWQohcGVrsXkss51LnHZ3/h/vI/eJkIaK6sK8loGJpQHvG6lW+ B3T04GzFOcdZH+PUYUpc/EW0s0RiKOnyNEmb5YZuVx65epUQLasCjy1uIKZ+VA6DjTiz DqzBn0y2NJP0glpB6XgTSegsv7LvEyIafqV7TdQk3wpuOucfMpx50I6DUORuc1rzMpEo 4tgJe5Hj0sC9bxgDinqwO4U1nGHsYMOS3KVpJDRsuKEJzTkdN/zPfppbtp29wzLNJxFr 7UHA== 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=dAy5qx+6J1oOwRzhSrnPqWe3tAf3nbvPmD7N4uqhtmQ=; b=QGG23xfGdWDqb2S4RKKFCfxfkhPqXQbqfegqVNmPfTq8elf7bnmePoATYkZntDu7/W fB8v/Z6hUdF0gYuXSJuhaAvzJqwwzGU0OxdnYSANSz992Ga2XFYapr641up925k0PJgc ilKGkNnaT7RbLTmfjQCdiWV1iyim7ksxH8JF9yCgEe6GJnpij8sPD4fTSQH7QNdc9zER uEzYq54loha2qF4PV/QbqRMP4f9XId183yZMKz4lxcVvO89kBI9Oy+ViGOj7f/qMopeN ahezzzNINiFOW5m7FUz9hwBOx5S0upVHUfFxFelPoJqtTiMuCAZQZpvKv70dN2KZBdzn qkDA== 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 b12-v6si8860280pgj.87.2018.10.05.10.00.34; Fri, 05 Oct 2018 10:00:34 -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 S1729712AbeJFAAH (ORCPT + 32 others); Fri, 5 Oct 2018 20:00:07 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:38956 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728147AbeJEX7D (ORCPT ); Fri, 5 Oct 2018 19:59:03 -0400 Received: by mail-ot1-f68.google.com with SMTP id c20-v6so13347085otl.6; Fri, 05 Oct 2018 09:59:29 -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=dAy5qx+6J1oOwRzhSrnPqWe3tAf3nbvPmD7N4uqhtmQ=; b=YsKOCJE7caFxwCNjtpSfkmGlNQZMjhZd/jl5UN8zqDqlPJRrBTCLrxKG3RWG63Jdkr c+R2zHAkpKNOrOJsc6mm2QvfD+gHf3qK5cjPgLC9JiiM1kv1IrLdkRzzmHUVtgfe3h/B FImCe4/0KXAtgQwT5WdYcoggxz9PR+Bwwwr9BiE6ouuW/SB0uXsoMJUfIWPSQ2rax0X6 uriKTIIKAnDtFE+q6IFR4txkpnF/ZGgMLc6aeJAP4faK4/4ZkbymAONltuA8ki+kv/uG U7+sPWjQPDyQqzFlXkd33eYZclGlMdcnPNz/Dc1jTqttBebckg24YWNPj9iCD2MDkulI c7Yw== X-Gm-Message-State: ABuFfoiIP14IItlucnaf2l3b6GakQc3iXu2EbtntjLi5fr5bfnC74wVd XrA1h5nEetv7NK8exm3qW0VwhmD8mw== X-Received: by 2002:a9d:41f6:: with SMTP id v51mr4448257oti.368.1538758768482; Fri, 05 Oct 2018 09:59:28 -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.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:27 -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 27/36] dt-bindings: arm: Convert Realtek board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:39 -0500 Message-Id: <20181005165848.3474-28-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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert Realtek 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/realtek.txt | 22 ---------------- .../devicetree/bindings/arm/realtek.yaml | 25 +++++++++++++++++++ 2 files changed, 25 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/realtek.txt create mode 100644 Documentation/devicetree/bindings/arm/realtek.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/realtek.txt b/Documentation/devicetree/bindings/arm/realtek.txt deleted file mode 100644 index 95839e19ae92..000000000000 --- a/Documentation/devicetree/bindings/arm/realtek.txt +++ /dev/null @@ -1,22 +0,0 @@ -Realtek platforms device tree bindings --------------------------------------- - - -RTD1295 SoC -=========== - -Required root node properties: - - - compatible : must contain "realtek,rtd1295" - - -Root node property compatible must contain, depending on board: - - - MeLE V9: "mele,v9" - - ProBox2 AVA: "probox2,ava" - - Zidoo X9S: "zidoo,x9s" - - -Example: - - compatible = "zidoo,x9s", "realtek,rtd1295"; diff --git a/Documentation/devicetree/bindings/arm/realtek.yaml b/Documentation/devicetree/bindings/arm/realtek.yaml new file mode 100644 index 000000000000..9e3bb3249c77 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/realtek.yaml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/realtek.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek platforms device tree bindings + +maintainers: + - Andreas Färber + +description: |+ + RTD1295 SoC + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - mele,v9 + - probox2,ava + - zidoo,x9s + - const: realtek,rtd1295 +...