From patchwork Mon Dec 3 21:32:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152759 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7318375ljp; Mon, 3 Dec 2018 13:33:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/XsFIMxLz5XvTDcRzDWzmdYG7QrgKjG4mznRNdcWuOQZwykgN9eOnISj74lUK25J5r3uwSQ X-Received: by 2002:a63:5a57:: with SMTP id k23mr14510924pgm.5.1543872790468; Mon, 03 Dec 2018 13:33:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872790; cv=none; d=google.com; s=arc-20160816; b=eRx2ll6M7anb5WkDKBJITSMgushyXv93P1TLcGAjWZWzFjIyANxmauzPE2uOpYsNAE TCGT/Bq+f3Z/MhA6xHPtFyLK0vx/wsPLvnR6Jc6OpN4d0t4ngZz1BAebNsodVtSdZDWF YD2ngAfFt5+THh2obFSfD/JOILgE0FQMDtXJWMNQnkgIV47M5m74tcrXUn8xazwk/SeV 1RkRhHH1RHiWaK0UtqD7NwQueVVU/BMgL4sy6D7ywQegdwiaVyO5Yiptm0RVxF3ILHNi SKA/IcHXWNOyfIeUw2gr7aX++mHziVcgejm+76KGkQRbWJRzOMp8P0EBF0O7kt7BT2rp 7YiQ== 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=8cE1v9dL0zvH+rxZgt//TElW5sNm8BLRK/4XdbU5h9c=; b=lxFSTOU/+gZawrW+ucVYa62g5JMLxlCmAOmjgT+xJlYcrhpcAF9XwfutlBhPyxZOHn eM7+ZCGKk62V34QT+DS4q4cK32/hQAsL7kqJwQQDcrSm2TSmI1Kcx9wyZKg9xYoY2Sac jp+il0EA9HKy21nFSIKuFg0INBhZGxEbaRF8QNVj13CiBKvNu6LVR21VYn6bm1KcDNKW ZLCmSzBlnLlmEB2MIL+dDN8MT6dbDz3bDHAgptGn3gpFAIXaxbjlOl9uNo1f/rJAqJUS FiCukl8p7mkx/T6nRtwgjBXz9xDaZNsZdTunA78+sIZvFsgfK1II8l87PkNN4cLM3+9v 70NA== 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.09; Mon, 03 Dec 2018 13:33:10 -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 S1726361AbeLCVdI (ORCPT + 32 others); Mon, 3 Dec 2018 16:33:08 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:41166 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726305AbeLCVdD (ORCPT ); Mon, 3 Dec 2018 16:33:03 -0500 Received: by mail-ot1-f67.google.com with SMTP id u16so13121893otk.8; Mon, 03 Dec 2018 13:33:01 -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=8cE1v9dL0zvH+rxZgt//TElW5sNm8BLRK/4XdbU5h9c=; b=B6eGs1O3R/TJMZn8kJK78ndHRkkl1ocU+k+WwrbqMJEH96N2FEdeLnHeed38rEieTW 8swVY/X7mreDmllATsaKmgMB2afOgGjY0o8K9NNqm8lGVdcn/rf5zKZqT6luIIa9u11O 9VDBIg71Rrk8hx6IdCi5CeGtfBfh/kwD49ZdEAlC1gTIiIm21QVU0HkFJvig38du+2kD bApeU+bbM/w5DBrL1qhwfnRtr0k60A+VPCA9R8ZO/INUIgdXYoJ2SbQORloFfKtBp3lJ otnxSLyIqcmHAj44AX4xdO2spxAHH95f6xD1g8TiEpBadL5HKmToK5C1dWNiqacQgzV/ kUiQ== X-Gm-Message-State: AA+aEWYhYIpKBgtNKYWlroPVzaCW9rZW0UCK2gAXNNuMjz9zEAa68dTI r/oHPRSn+sykS3D7CsPUzk4nw/Q= X-Received: by 2002:a9d:784a:: with SMTP id c10mr11686907otm.175.1543872780957; Mon, 03 Dec 2018 13:33:00 -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.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:33:00 -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, Patrice Chotard , Mark Rutland Subject: [PATCH v2 29/34] dt-bindings: arm: Convert ST STi board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:18 -0600 Message-Id: <20181203213223.16986-30-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 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.19.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..47f9b8eebaa0 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/sti.yaml @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/sti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST STi Platforms Device Tree Bindings + +maintainers: + - Patrice Chotard + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - st,stih415 + - st,stih416 + - st,stih407 + - st,stih410 + - st,stih418 +...