From patchwork Mon Dec 3 21:32:17 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: 10710691 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 AF65A16B1 for ; Mon, 3 Dec 2018 21:50:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F4BC2AC71 for ; Mon, 3 Dec 2018 21:50:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 930D32B188; Mon, 3 Dec 2018 21:50:18 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 090D42AC71 for ; Mon, 3 Dec 2018 21:50:18 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=pw9BZrdc53eA5nCOuCl+DWXXweHi1NMkn3YF3zp4o2c=; b=Gg7uD3mCSem547 RVK2WXbzd2ZKN1O1lUVWscIxHpXT+exlv2iua9Kb1yWcL0N3F0g73bQOrJNrKs7PZEJD9lEqji23n FteI7dgNpuCrhEsCpFkdT7ZsZkQ2iehxsPQCrVm2zCUz2X7P5q9YNKjPZRQxv+NOX+waxggyni/vp tD8vEBlNK3v+ET/H6gbMTUtHMYgC1/qPYUlyYvIbURPT2wIQABLbZaz14QQM4xI4lPWVtFhHfOW42 PKWGSneocnZPiozRrQY4eIivqV8c9r2pS1Sp8DEHlAbAK3pay32PKYQrqbF5sE3DCZ5xyf7hLMLf9 bbY1hTehCCX51T/dQJOA==; 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 1gTw6Z-0006eK-7u; Mon, 03 Dec 2018 21:50:15 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gTw6X-0005Bu-98 for linux-arm-kernel@bombadil.infradead.org; Mon, 03 Dec 2018 21:50:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type: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=C1hs7k72LLb2iEWqMGzdoCfupHeBs/tEkAC6k/rFIiI=; b=Ru6azj1is0XwklsfCU+Dh+MlMj MC/eywWDtQB3C/5Fbx0CLCNOxi4oIk7AHl5qT8Rd2VoM30Gb6Er8aKUno0ZV+9xvd86fKSAb5yQaM Tm1bSR26d2UuVhiZCQXBhnVdxGSOe981dEonFqV4IIf/Sh1EF1pGJ3IyA9vOBVDyu5RmA/Q0CydEl tV4jfZGIyHJdVjqR3/WEaFRkGhuGu69evXl8bpin0kR1ckwGmBnxlAvHNMg5pSD2bcNBKIHMrjaqw KCBf25Fpe0lexIcKX4ZwABwSJmtfXoVf0tfd6Vv5k/oZ64mgBy/xPj21CssHGhMMIiwDwboQbpNsz zx0wVM0Q==; Received: from mail-oi1-f196.google.com ([209.85.167.196]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gTvq3-00016W-3n for linux-arm-kernel@lists.infradead.org; Mon, 03 Dec 2018 21:33:12 +0000 Received: by mail-oi1-f196.google.com with SMTP id j21so12344849oii.8 for ; Mon, 03 Dec 2018 13:33:00 -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=C1hs7k72LLb2iEWqMGzdoCfupHeBs/tEkAC6k/rFIiI=; b=WWcFAYnBvyUJ07QMv3eoFUi0eVN8OwmBuI0mdJr/lJLK4G8FlOzxOXt1PdZdceb1aF 8AOGpYK8iPRUrxGWIXoF9g/AiDZnC0Yfad+5x0pyGfvQxAQOU2u/1QpReV55dMAT//I9 CTCzhUksjDrUkjf2rm2dxkkyKVQyEyqowBj9kPzxNP0ceB7hsTTChUuoz7B9D1cTWYnJ VPTxpFPrZLAFpD7arzmcTIA5hZfIiiLLqtL3zE3heKxqn6RHYIYWYIRwdMRxKzIaPTgv O51AjKmg49JqEun3YTrpFo2YN3tyI51UKiLK5mNFaX9xsUACGHMdB9krRYi+VHkqcH6M RXjA== X-Gm-Message-State: AA+aEWbKn7zUzYlwNUJbRpiF8UpqUlLXsHQUUoV2tqn6NvaPKxHKIXiP 9VvRZLPrWWDoJVxPs9TyOQ== X-Google-Smtp-Source: AFSGD/XF/jfO00XsySTH7otrkTH5OwF0eFb0bV+f9h4yYvxwB/+2Vpy36YSSJwTstEYTu374WliBaw== X-Received: by 2002:aca:c186:: with SMTP id r128mr11603786oif.52.1543872779723; Mon, 03 Dec 2018 13:32:59 -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.32.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:58 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 28/34] dt-bindings: arm: Convert SPEAr board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:17 -0600 Message-Id: <20181203213223.16986-29-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181203_213311_147520_A11EFBB7 X-CRM114-Status: GOOD ( 14.37 ) 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 , Kumar Gala , arm@kernel.org, Sean Hudson , Frank Rowand , Grant Likely , Viresh Kumar , linuxppc-dev@lists.ozlabs.org, Shiraz Hashim , linux-arm-kernel@lists.infradead.org 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 SPEAr SoC bindings to DT schema format using json-schema. Cc: Viresh Kumar Cc: Shiraz Hashim Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring Acked-by: Viresh Kumar --- .../devicetree/bindings/arm/spear.txt | 26 ------------------- .../devicetree/bindings/arm/spear.yaml | 25 ++++++++++++++++++ 2 files changed, 25 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/spear.txt create mode 100644 Documentation/devicetree/bindings/arm/spear.yaml diff --git a/Documentation/devicetree/bindings/arm/spear.txt b/Documentation/devicetree/bindings/arm/spear.txt deleted file mode 100644 index 0d42949df6c2..000000000000 --- a/Documentation/devicetree/bindings/arm/spear.txt +++ /dev/null @@ -1,26 +0,0 @@ -ST SPEAr Platforms Device Tree Bindings ---------------------------------------- - -Boards with the ST SPEAr600 SoC shall have the following properties: -Required root node property: -compatible = "st,spear600"; - -Boards with the ST SPEAr300 SoC shall have the following properties: -Required root node property: -compatible = "st,spear300"; - -Boards with the ST SPEAr310 SoC shall have the following properties: -Required root node property: -compatible = "st,spear310"; - -Boards with the ST SPEAr320 SoC shall have the following properties: -Required root node property: -compatible = "st,spear320"; - -Boards with the ST SPEAr1310 SoC shall have the following properties: -Required root node property: -compatible = "st,spear1310"; - -Boards with the ST SPEAr1340 SoC shall have the following properties: -Required root node property: -compatible = "st,spear1340"; diff --git a/Documentation/devicetree/bindings/arm/spear.yaml b/Documentation/devicetree/bindings/arm/spear.yaml new file mode 100644 index 000000000000..f6ec731c9531 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/spear.yaml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/spear.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST SPEAr Platforms Device Tree Bindings + +maintainers: + - Viresh Kumar + - Stefan Roese + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - st,spear600 + - st,spear300 + - st,spear310 + - st,spear320 + - st,spear1310 + - st,spear1340 +...