From patchwork Fri Oct 5 16:58:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 148256 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp689562lji; Fri, 5 Oct 2018 09:59:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV6230OXD6EM3FxLJ7FaB2j0c7SG9DPOR1q+/1G9r3PfFe8nsWx1haT51PoktAebDaUYtX0n8 X-Received: by 2002:a62:7788:: with SMTP id s130-v6mr12807819pfc.189.1538758782850; Fri, 05 Oct 2018 09:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758782; cv=none; d=google.com; s=arc-20160816; b=XD9SlsYztPZVDPPzdaRkwY7qJ3zl6N2Tb+mFSeGK0s2iHYb4hzB1/N4/xds6XAOeKZ dVP5V4qbeuGoE1rLrhmvqbIfAA+2gTbhXc3D/7V3AxA4VxmmK32AqpRQu4Kd/M1+h6r6 JH6/qBYhXxFlqjVqwFk3lY1k/iuDSl1WOx7TC5DZnIxTRZGB2IrIlaJloXjJoDks+AHr oyFNkBO5E6UN70EnW2NQMXQfso20dxTamJcyXIVkY8nHVcIK0z+KmtbGXPfEubfap1rK jYl5TOAQ5DLqUX3/FGAdAsKIsu5Bn1fN5bC8oegztxUFwljFiO02GY3ZICRtMHmtTVnV 35Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=NPLYmq8r2xM4JEKhhNKIpjB9p0qLt//yMuDdja+hyKo=; b=EnEIVP09ItKQeMQmPa2kNFfbKSs/Kbvx1NImRwam6ZqTjx0flngFI6jbQwEx/M78W8 L/oUolXhCvhXs+JjvrrI/rp4Yy0QefmFkZANV53bJQM7NM2gG6klfQAZKpPsIzG3587+ MFIuK8uRewTzHDB21lu/0w6IORExRIiaJqX87cHQ7FKVdN6Ghaf4Bjom8B1LlRo9tW+u ODg8wf8Z15ddlHcgUGi+prIC3zXf1objbGNwFoqZ182fYOWZKGNPRnQCo1TErg70xq0t MGlLtDxrGcIlt/9kwq3e2PgahsQw8kNfWBiS6ZsMZoFw09VcuWVEDFldzLWf9isgzG/A 9K6g== 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 z75-v6si9140293pfd.259.2018.10.05.09.59.42; Fri, 05 Oct 2018 09:59:42 -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 S1729637AbeJEX7N (ORCPT + 32 others); Fri, 5 Oct 2018 19:59:13 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:37001 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729613AbeJEX7M (ORCPT ); Fri, 5 Oct 2018 19:59:12 -0400 Received: by mail-ot1-f67.google.com with SMTP id o13-v6so13351422otl.4; Fri, 05 Oct 2018 09:59:38 -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; bh=NPLYmq8r2xM4JEKhhNKIpjB9p0qLt//yMuDdja+hyKo=; b=YOL4QAkHe5Y/RTEZ8z6kaP42IP8Pz8HYENV6hdQmN78qKJeIBVffyihPTZ09qdZFR6 0m/Aijql/+2gfBlYKA3eodD1ECBpsso9AaC2xYnZFB1CSdoc0JTn9w61EmvWIRA+jr7R i7v/2zPGS24JrwGIu1B7KbJKs9wneFDAD+Ldtfq1c/Nnid+v6vEOQ9x7RlvPKeG29tpY GXt71IsfU4sOMVP3a4o6W7SI5xM7y67wRdiDjQKYIH+vmUm2Jg/KIaIeLC+LSR3ejZuJ ic2KiWf/ymYEsu+M9ShlvToh06DToeY64Fgt1eaAsSjcUeSMI1c0TbanLN0fW3rkALCl MsNw== X-Gm-Message-State: ABuFfojA5UqW3BAmfyB7QQWYSkKWmi7pdv8pNzMMyoNN6BdbJU/1+3fa Aq25MdpF+2k2IHX9nyaB6O7YQkslQQ== X-Received: by 2002:a9d:538c:: with SMTP id w12mr1624159otg.139.1538758777856; Fri, 05 Oct 2018 09:59:37 -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.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:37 -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 , Tony Prisk Subject: [PATCH 34/36] dt-bindings: arm: Convert VIA board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:46 -0500 Message-Id: <20181005165848.3474-35-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert VIA SoC bindings to DT schema format using json-schema. Cc: Tony Prisk Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/vt8500.txt | 22 ------------------ .../devicetree/bindings/arm/vt8500.yaml | 23 +++++++++++++++++++ 2 files changed, 23 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/vt8500.txt create mode 100644 Documentation/devicetree/bindings/arm/vt8500.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/vt8500.txt b/Documentation/devicetree/bindings/arm/vt8500.txt deleted file mode 100644 index 87dc1ddf4770..000000000000 --- a/Documentation/devicetree/bindings/arm/vt8500.txt +++ /dev/null @@ -1,22 +0,0 @@ -VIA/Wondermedia VT8500 Platforms Device Tree Bindings ---------------------------------------- - -Boards with the VIA VT8500 SoC shall have the following properties: -Required root node property: -compatible = "via,vt8500"; - -Boards with the Wondermedia WM8505 SoC shall have the following properties: -Required root node property: -compatible = "wm,wm8505"; - -Boards with the Wondermedia WM8650 SoC shall have the following properties: -Required root node property: -compatible = "wm,wm8650"; - -Boards with the Wondermedia WM8750 SoC shall have the following properties: -Required root node property: -compatible = "wm,wm8750"; - -Boards with the Wondermedia WM8850 SoC shall have the following properties: -Required root node property: -compatible = "wm,wm8850"; diff --git a/Documentation/devicetree/bindings/arm/vt8500.yaml b/Documentation/devicetree/bindings/arm/vt8500.yaml new file mode 100644 index 000000000000..6e07775b160f --- /dev/null +++ b/Documentation/devicetree/bindings/arm/vt8500.yaml @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/vt8500.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VIA/Wondermedia VT8500 Platforms Device Tree Bindings + +maintainers: + - Tony Prisk +description: test + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - via,vt8500 + - wm,wm8505 + - wm,wm8650 + - wm,wm8750 + - wm,wm8850