From patchwork Mon Dec 3 21:32:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152758 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7318384ljp; Mon, 3 Dec 2018 13:33:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/WxK1mBVyRCidtHN4DB2+9OPZ/qR5trHCfBWwyMyNORQomdZ8VUBw2VG7g7doMsfDzOA/pb X-Received: by 2002:a65:57cb:: with SMTP id q11mr14702442pgr.60.1543872791139; Mon, 03 Dec 2018 13:33:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872791; cv=none; d=google.com; s=arc-20160816; b=las+ytvskSzj6MBAKgBG35KHFdYU7XprE4BSWE4j54xGAXBrLyuSrCdBhH5OUnYaJr TVeiVBRLnnBmcWTgeGXuT5Djv61BCkcj1DHWmisuUsYIh17jGv4rdqqpqq3BiZOqH88w PbnOnwF27wU5mDOx4iOLGwCq4n2Qr7rwo9SH9YFQ6ncI9Z8aXI8DHZkAhcDxX45Hy8wX t3KDZY4otO9tLVnSp6mV+s4LE6FzBDzbwMKWo455zTqVKtDnpIUtBWPoJ7qvSjNcVItZ Xvto91whaVZ/FxjBY9mpILuJmG0kmZq29u3DS5KiicEcLo3cfX4wnf4f8wx1m+JWggmf flxg== 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=KeZnuus+ZQpEVnlN+wmNEXJ5n6BcAmDK+P7WR/GWygk=; b=KOfjYvv4tQVoWmYNRLVlmo8kGqGuFAnZ3rgvsVwvAYNDxE40fESoVax8hhoMkmShGd HfTEzu9HyMQ3FfAeRjISwMjqW9iWJOpRQnZSBqmM+e45Xt8q/prpescFRFUlAdkDTcsb XvCOLI49Ao0ZznNO4zQyj4gOHchUeqAKe1aKgxw0GCo4FDedJ04eUI3zIgUkxZYAvtN/ zTfAUO+OwMNyuLba8KJFdFpd1bQd1LD38C9kgkOEADFm50Wifh7UkhMsBOhDfsMVd2Td DMoI2Q8ROPUnATGW6ibuytF1CCyHoHve3g7QZdAL+qeg7UcwzTkrqahE8saIOhcqF35P QAbA== 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 h20si12910802pgm.366.2018.12.03.13.33.10; Mon, 03 Dec 2018 13:33:11 -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 S1726375AbeLCVdI (ORCPT + 32 others); Mon, 3 Dec 2018 16:33:08 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:34967 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbeLCVdE (ORCPT ); Mon, 3 Dec 2018 16:33:04 -0500 Received: by mail-ot1-f65.google.com with SMTP id 81so13148654otj.2; Mon, 03 Dec 2018 13:33:03 -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=KeZnuus+ZQpEVnlN+wmNEXJ5n6BcAmDK+P7WR/GWygk=; b=EuXBYTNbjNCtB27jXwATxpXynPWMNxo1QPdaPkDYvf6f007+2GyBVa7sOnK39gqA4L zIXYNMWp5ZzEjK16H+aiDLTwZaKY3zHzPtn7rH/Mcxp6ZbJWqmdZyT+9ac8T5ocynsQt C4UzLTQ0GoYw1QI/38UIv59+/NpBRz2ScvshSMPw5/nmJuPBvAl/uHQ4/rlsixMTPDPX kcN+vUzkyEniYR+9L0Azy+xvmnAvDAAnVn7qG3cqkLE7cQEuBVScKafbic1TZkF6pcZ4 thUHYx74PCwvKRxMpnuNGfbZg8u9qiwrHq9rgSOg38C/9SjJd4YlwZDq/K9HuFwPuCc4 YsjQ== X-Gm-Message-State: AA+aEWZhqbxY7mNeygRbGRmQLTTVMXkya8XMySunrIR0iJ+KpCf698az tatV8UVud/xWAmeikHV5LvaA9AA= X-Received: by 2002:a9d:439d:: with SMTP id t29mr11843807ote.284.1543872783148; Mon, 03 Dec 2018 13:33:03 -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.33.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:33:02 -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, Tony Prisk , Mark Rutland Subject: [PATCH v2 31/34] dt-bindings: arm: Convert VIA board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:20 -0600 Message-Id: <20181203213223.16986-32-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 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.19.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..7b25b6fa34e9 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/vt8500.yaml @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/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