From patchwork Mon Dec 3 21:31:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152781 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7320787ljp; Mon, 3 Dec 2018 13:35:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/WHrAEF5iPDhb8EJzD12cBuOY3UWjTqvxuGMoD12NpPBgABrWncBK1BJsKKCVGqLLVTf2OE X-Received: by 2002:a63:d10:: with SMTP id c16mr14728412pgl.382.1543872948878; Mon, 03 Dec 2018 13:35:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872948; cv=none; d=google.com; s=arc-20160816; b=A1BP7v/ei3P3devnjr9FdpJVm/HMhLn17LUGg/OTicObIWLx9gpIIiTrPWq2dU4zhp 8zv0u7n0VGaQEL/Xi+PCr9d90VbDFqk1Zep7djyRb+O6+AkaJCEOZPwchGefQYmAARVe DsjST+iUaulcSAmF9MF3nss7A4zkExiDNtSfplA3hok+JuBpqgwkuqpWSQiYCRql9A54 MILA75ny16B6VCkn0bqJBMd4ZdaICurNTf9jm2vMP0rpcuTlNh6flkRhwwvQdzkNPJSG BP/J5Tj54YZiTulH2T5qBpy0hKKz7eRl1VYBSQODt+sxdWfF+xpBbAZvPzUkIw8OepUG R1Yg== 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=EX5Bbxszue3VcY0+K5Qoq6qRkzYBy/6q4QLJhvS89M4=; b=vGiYUScvchfruY1D4lvFgfnduv1NktYyxWHSPLVTuayudK3X5MMTUUSnmgOKbS44b6 wOqpcBMj4IdNtHYCyiHegHGPGAykA51YiuuDJKujRxJzej2ea6EsPOC5GqiVlDLew9ku HMpAwPKCbBHsvJtT1jx5g6RYLiVXGd+/BhFEcB7Ymy+iIo0N4hiD+ew1gLwYGbGeuoMd l1feFifvsu3kPnYmMSTDekjTyZwWy4c0PoUgk7pQ71o2av0G6QA/FegPbUFL+Igq9qKZ 1GH2x3/+cVYgWXsB0bhdKKEz7TNeJHlupWpxyg3V7ACP3DIoscTuycXfHOb/g9GTat9N f29Q== 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 w5si7032427plz.419.2018.12.03.13.35.48; Mon, 03 Dec 2018 13:35:48 -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 S1726505AbeLCVfl (ORCPT + 32 others); Mon, 3 Dec 2018 16:35:41 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:34652 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbeLCVcc (ORCPT ); Mon, 3 Dec 2018 16:32:32 -0500 Received: by mail-ot1-f65.google.com with SMTP id t5so13159104otk.1; Mon, 03 Dec 2018 13:32:31 -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=EX5Bbxszue3VcY0+K5Qoq6qRkzYBy/6q4QLJhvS89M4=; b=aaP+RjuZOFx4CRMCgReqlYkMiQ7dmI2iavgP/K3OdlIUyFDFh9nXme4AbODzzErLzM lFkLGy9bS8sD1zWUaMqhaJl+ca7atFWlN2aeMYFpAL4QU6ER4kQt3BkEpGefmGoAVjuj WnhtyEwYlSXBc7P0XkME9YF7lEfg9HlxTOh+306aXTOupdz+ok4IlgzPPJJ41/TC7gZN 3zopBs6yb12xEaW3dOeyp2KqcPTh9uj1z4r8pMDagp92fHtPAJO4hch31lX8a5T/fwWo tBnDIMiJu1AoigmxSGZ84Pm2tBib1MCelpAWvtjVDJlI+wGjD7Tt8PkWJf2x7a3UeGk0 ZWvA== X-Gm-Message-State: AA+aEWayPYVayIxiKRCS1s1oWmrAahJBrgKdSV+uaSNCDFj1Bb1yv8ss ArhTT26l0cpDXNSDmguq1CbsXWU= X-Received: by 2002:a9d:620f:: with SMTP id g15mr10489610otj.296.1543872750861; Mon, 03 Dec 2018 13:32:30 -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.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:29 -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, Mark Rutland , Dinh Nguyen Subject: [PATCH v2 04/34] dt-bindings: altera: Convert clkmgr binding to json-schema Date: Mon, 3 Dec 2018 15:31:53 -0600 Message-Id: <20181203213223.16986-5-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 Altera clkmgr to DT schema format using json-schema. Cc: Mark Rutland Cc: Dinh Nguyen Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../arm/altera/socfpga-clk-manager.txt | 11 ------- .../arm/altera/socfpga-clk-manager.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 11 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt create mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml -- 2.19.1 diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt deleted file mode 100644 index 2c28f1d12f45..000000000000 --- a/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt +++ /dev/null @@ -1,11 +0,0 @@ -Altera SOCFPGA Clock Manager - -Required properties: -- compatible : "altr,clk-mgr" -- reg : Should contain base address and length for Clock Manager - -Example: - clkmgr@ffd04000 { - compatible = "altr,clk-mgr"; - reg = <0xffd04000 0x1000>; - }; diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml new file mode 100644 index 000000000000..e4131fa42b26 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera SOCFPGA Clock Manager + +maintainers: + - Dinh Nguyen + +description: test + +properties: + compatible: + items: + - const: altr,clk-mgr + reg: + maxItems: 1 + +required: + - compatible + +examples: + - | + clkmgr@ffd04000 { + compatible = "altr,clk-mgr"; + reg = <0xffd04000 0x1000>; + }; + +...