From patchwork Fri Oct 5 16:58:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 10628579 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 C4E5C15A6 for ; Fri, 5 Oct 2018 17:50:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B375729B5D for ; Fri, 5 Oct 2018 17:50:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A6F9729B62; Fri, 5 Oct 2018 17:50:45 +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 5927D29B5D for ; Fri, 5 Oct 2018 17:50:44 +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=VeLhCbw7PwIhPYIOmbi1HKPaaoI7SP0ozSVrEj5oUKU=; b=AItdD1J9Xfnjc0rjT58xs/uV9x mUNY/LnF7yQYdsABo2Q/aDbsskZARg+CSCpYB1YFgfQaBBAIdbsgWbG3LGoWt54MQzqVOTMSuGFDe UebuL6ahTS2KCPHQXLbm3wTquIeAd4q7pRjxQtBcHLYFPg17kz8Fhq54aTzMws1AQQUjJit9weoXg okQAHNAfkTfly/VtQwEoVv5khdxEoRwQKBgISyb4nCgcx3Y7B2w5dnaZHeNyV0Q9FaxrJTOaWjzaf ZFqBDCpnzDTy+cQ5fVIl1VLFEWhADwkikCqJhUCJznI6xmRAhHxTWZ6ODURAPNqXe4pFWvhvSadap BbPQdlSw==; 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 1g8UFK-0006bm-2w; Fri, 05 Oct 2018 17:50:38 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8UBr-0003x6-0i for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Oct 2018 17:47:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=3VPklCipOuWldUvPpbh0zr7j2Wj5BAxPOt4Q1LfEFxc=; b=nIym/ABP3XTB0+k2jBKpH/eaN 7uhfIgdwsYibVL1Eb2ppq0JmyESwmnFHnaKPn24iouU5tP0kl3b0zzIz/26Eqzk8U/d2kxvw0bXH7 V5/iRh8t2DW79yfSAIN2Nw1aCUWB7f2UytA17jq4jLOdLBOQIxoEu2tS4CW20EynmL99JeReCw5G3 oy4sYgiALxW3t4B/GnZw3j7r1NuGSscWSEeZnMtEvWYg6se9vFfbK33IAEFdury4xHJZfkRgrAx+F 9JA+4uysdzS4HaqiXTOt50MMxEGQS8n8E/1+pB5TqVDRHhDxWjQ+ovjMDFtEmPf2/arSXdd1fHji5 +64GU1RYw==; Received: from mail-ot1-f67.google.com ([209.85.210.67]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TS6-0005g1-DJ for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 16:59:47 +0000 Received: by mail-ot1-f67.google.com with SMTP id h26-v6so13361605otl.9 for ; Fri, 05 Oct 2018 09:59:36 -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=3VPklCipOuWldUvPpbh0zr7j2Wj5BAxPOt4Q1LfEFxc=; b=RxrKhZCV302qcJrTz80xvY8hgZMmTDjsUDKKsuCr4EYGXsBCicr+BCZ9x3W0p3mQji nbVHrjGxizgm07fsmpJaNeK3TtTwi3nNcyMpEDmM6FdUlbaZCeuIx+IRAQfAJ9l1gh+f 08/wIcFo5exuQvk03e4CQEVgXT1Hue7LhS+RsTXxnktoJhGZR/1kCzYU4KPKHnZm9YbL DMB3Va9Q/eLxAZjWnDVLyYzXjHJdVkXwsahjkGQXsJyWLC4588j9GI73oI7pLLLz/SPe 7WPMdPTjgcggqT2AfY78mUOhGJmuEPDMPlcYnW1xxkNe5orFZJbeYeDJO1WslpGusweJ usDQ== X-Gm-Message-State: ABuFfohrowD2ZOvVRE7BLT5rska99Rco+LTdzKl8j7r4CSutQQgtIsWG 3QUIDVW36eSknYhDnpqtNQ== X-Google-Smtp-Source: ACcGV60TI+AtgrXrtCPu1O5XvTYk1/FiY3Liow99t7CKrJSaCRqZPsBcMU4bMWIJmc4w6xOU7yZqdA== X-Received: by 2002:a9d:f2:: with SMTP id 47mr7503473otk.43.1538758775042; Fri, 05 Oct 2018 09:59:35 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:34 -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 32/36] dt-bindings: arm: Convert ST STi board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:44 -0500 Message-Id: <20181005165848.3474-33-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_125946_484696_78CFFE07 X-CRM114-Status: GOOD ( 16.61 ) 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 , Patrice Chotard , Bjorn Andersson , 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 ST STi SoC bindings to DT schema format using json-schema. Cc: Patrice Chotard Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/arm/sti.txt | 23 ------------------- .../devicetree/bindings/arm/sti.yaml | 23 +++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/sti.txt create mode 100644 Documentation/devicetree/bindings/arm/sti.yaml diff --git a/Documentation/devicetree/bindings/arm/sti.txt b/Documentation/devicetree/bindings/arm/sti.txt deleted file mode 100644 index 8d27f6b084c7..000000000000 --- a/Documentation/devicetree/bindings/arm/sti.txt +++ /dev/null @@ -1,23 +0,0 @@ -ST STi Platforms Device Tree Bindings ---------------------------------------- - -Boards with the ST STiH415 SoC shall have the following properties: -Required root node property: -compatible = "st,stih415"; - -Boards with the ST STiH416 SoC shall have the following properties: -Required root node property: -compatible = "st,stih416"; - -Boards with the ST STiH407 SoC shall have the following properties: -Required root node property: -compatible = "st,stih407"; - -Boards with the ST STiH410 SoC shall have the following properties: -Required root node property: -compatible = "st,stih410"; - -Boards with the ST STiH418 SoC shall have the following properties: -Required root node property: -compatible = "st,stih418"; - diff --git a/Documentation/devicetree/bindings/arm/sti.yaml b/Documentation/devicetree/bindings/arm/sti.yaml new file mode 100644 index 000000000000..10814334cfc9 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/sti.yaml @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/sti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST STi Platforms Device Tree Bindings + +maintainers: + - Maxime Coquelin + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - st,stih415 + - st,stih416 + - st,stih407 + - st,stih410 + - st,stih418 +...