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: 10628517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 43A6D15E8 for ; Fri, 5 Oct 2018 17:17:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 255FF29AE7 for ; Fri, 5 Oct 2018 17:17:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18B6629AED; Fri, 5 Oct 2018 17:17:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7EFBD29AE7 for ; Fri, 5 Oct 2018 17:17:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KvAJc6+wZV30HyokMgUHtKkEHYK7GBWr8FGvuh03RJI=; b=IqJUNDCSz93erh9tzFT1vgfB83 RheJ2H7Kk6MjUgn2+AybVXSyDqkObiy6ocPfofVRXGP21IeiZ/08RlztRB1Hdx2Nfwdz4y2lmthjE mf/g6QNPo0QzKmM1vUkh/4D9LIc84SlMtZxR33bI+9l3HJqBw25L0P2ZobodzTYdsUGmekuEt0TBs uh1dj+842f9gqwFgQw25Nch+F6b2SJNGSnTkyrfYgWVDa2UF3oUcAS6xo86+1wOFd7EH+HIJB6ERv wnQI29p2oHMag0AHV6oTUujJc4A9rkrLOUaslxAX/IV49B3OGb7QNc97iiYiFq10DTISB+pHI05WF V1wQZnHg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8Tj6-00039b-RT; Fri, 05 Oct 2018 17:17:20 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8Tgo-0000tI-9w for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Oct 2018 17:14:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NPLYmq8r2xM4JEKhhNKIpjB9p0qLt//yMuDdja+hyKo=; b=FOEdQ0bhPoLOQOszB7SyHx5cp cssUrP5S353oVqdSrX0hcPXkNqmR1A1xEwU1Gzq1w3D2gqWFEzMdps4GwYfdMkupA2NsY2tU8Wb8e mL6AaLVyMCUBiRZFhss2Hg6zd0M4S5AmIqQlz8zO0OTWaeqsSvEmyNKb2CmTysqzVeKjusAN2k1gb c1ZiFOSN4VXO4VWyFBrOsRcdkxb4BOYitTLlBD2SihVwc80bfwCOwSrPpXyKQZ4KyzmORhvwBoK/+ AzbYGsRgHYgtQFMkDmwPxTRQ1L1n8NEUg4c+AwfUJrUwoZ8s0HXzZDy6ZDf/IZ4mjod0GwtJadOPH y6yWguQtw==; Received: from mail-ot1-f67.google.com ([209.85.210.67]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRz-0005Ee-9Q for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 16:59:42 +0000 Received: by mail-ot1-f67.google.com with SMTP id c20-v6so13347512otl.6 for ; Fri, 05 Oct 2018 09:59:39 -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=hQTokotH7avkqPc8xGLgNFMS5DZ2lDJt0H5wBXwevQL6QfrRcL2yHJSE1Y40fxzsL9 DpQqyP/24nzuDqjBO7X3BCh2lJZZf19yyDOm9aGrhPnBcU53cC8AG9a7Hhobc/V/vcEe xbo3lxucLTaqj4w8kC91E23idu35vUtrfu0jfYvn85bHUMdsII6KTp/fJXnyQST3lD2D kkgaBtLEmGyqYscJQTAwvj/jgzG5TlI7WaEohS1ntDl2KXhRgTdb1+7lHGD3YujWf+Gm P/9i3kFl+vf8TP5Dkny/O2gl36sUC56P3tzVHcbGmSVjCrLufY0UIN1unSxR1J1zYqTJ doHA== X-Gm-Message-State: ABuFfohN5yOZr6BuSUjHvd8our3fUFkseU5NMq/rrkC2zcnuHLUvkMCN ibaO3eU04tPP8qgPDdI1Bg== X-Google-Smtp-Source: ACcGV634LJ88gCnQYGc/cHlogepMmHh7tZduArLt+mli5CisxRoQe4LWBWYOkTZQnrNGVRXyRtB6nA== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181005_175939_348486_196B9434 X-CRM114-Status: GOOD ( 16.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Tom Rini , Kumar Gala , Grant Likely , Arnd Bergmann , Linus Walleij , Pantelis Antoniou , Bjorn Andersson , Tony Prisk , Mark Brown , Geert Uytterhoeven , Olof Johansson , Frank Rowand , Jonathan Cameron MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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