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 X-Patchwork-Id: 148259 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp690022lji; Fri, 5 Oct 2018 10:00:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV62N6j0BrPN7MKN/K2TKZtl9cytzyAIBJlCpDYUfOWeSPf5dKl5/w5hfSIsjm8sz+U9HGxj3 X-Received: by 2002:a62:4681:: with SMTP id o1-v6mr2610897pfi.108.1538758809990; Fri, 05 Oct 2018 10:00:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758809; cv=none; d=google.com; s=arc-20160816; b=ZGHPuuPcvrkF/k5qEGqWrFuPGjUsd4gwetBwhgG2ljrVow8vhz6LhTX7VcoDuZthR6 E9tC2FJvKBFX9zXx7IH9eCD8bxdtnOi38WzTgvGIRgJNM+h7nddp6rzFsmIVaRA8IbRi ULCWrAFG5C0ds+NLECcgaDyAbnAt0ttlqmG5zQF8ZZYm8agHrVVptYf46xNf46Sce0ol H7Ogf2AaFVoPD6zVKkZxqEpOfZar+uAbFa0Rg8vdJrPvdf0SV6eUc/+/J09zZG6A6ji7 +QgOZqNnWi/2TNLPGCREr0QHRyRLr4NqpL0yQLHI50FHWDxbC5xXea6jB4I3+hn6284m oP1w== 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=3VPklCipOuWldUvPpbh0zr7j2Wj5BAxPOt4Q1LfEFxc=; b=KEiH8H9FyZbjqMKsqTYlixl68GDtUS2y9/5H0vle1TOVctOOSK4ry/ub0mNINwDPFP fpOWatursY+8MATdGgsp/6IT2WvbKGKEDO9AUANFu+1Kxm9t8oZi3mGZ8ejTwoRse5ms Bpq/St3m0MuVUQIjmidUu1jaw84pdZofYTqPXZtAsuROqd9/CbAuakWFMhvnEHWAvWHB JkG4hFQs9CJKSzDak/KuVrG2YmxToOeS2GJdZyTG/6zXOqV8mstHSmjHOpQBIwBIfz+S iRodCT1YRsBygavoZ+IWEcL7y3emkv6npYbPubTaQjkpA3Q0cYy6rIIZWO46HMnO4Cor 2FjQ== 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 t21-v6si8919935pgn.56.2018.10.05.10.00.09; Fri, 05 Oct 2018 10:00:09 -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 S1729705AbeJEX7l (ORCPT + 32 others); Fri, 5 Oct 2018 19:59:41 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:45350 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729525AbeJEX7J (ORCPT ); Fri, 5 Oct 2018 19:59:09 -0400 Received: by mail-ot1-f67.google.com with SMTP id u22so13321507ota.12; Fri, 05 Oct 2018 09:59:35 -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=d12UDYbF4coJEYvH35b/XEEHeKtZVgcav1+EKG1Zjpccpf9mjWw5VKcoj/Bx/zKRQ8 KOU0s4e7A3YNvLsVvct/K4M7KKtZGKw6MJ/mrWiuClWqpKrvzcIRPZ48mgQXRKfbf/NS xh/KRHHwyWdeAhO6XY++IG6Oe1KBl4bcbzT0JaDjk68LrLJA/RFMoDNo65I+6YwccoIs lk8Weisa8IuXFYdV48E44JMzUIjaSDrjVXrv2JlkxLMYZbivtUEGpME0chYTb7a7tj0L XNP66B1CXHVZ/RJMgZpHVUmiXraJhHvkWp6HcUusEe831g6GCAQOqQ1P8z+3S0kjV45Q Ncdw== X-Gm-Message-State: ABuFfoi3SYMD3uT8gWcHV1+TRIaNhQ+y6ZXPhKtO2+Aev4SGcuFRmTXY dDNxa8RB3U7UjKkM+RxUj0zRDXztvQ== 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 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 , Patrice Chotard 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.1 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 +...