From patchwork Fri Oct 5 16:58:22 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: 10628471 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 D23A315E8 for ; Fri, 5 Oct 2018 17:01:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C022329A9B for ; Fri, 5 Oct 2018 17:01:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B3B9429AA3; Fri, 5 Oct 2018 17:01:42 +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 2666B29A9B for ; Fri, 5 Oct 2018 17:01:42 +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=7HyWrLNH7xrKll5qte2G4ajbmPcoByVT/KANhy+ZiWo=; b=Ng8EVKxpAXZLL2srrcnTkiQuj4 EQCZmqEAYT1W7G34Q4Bct6RymjU/PnEX1lXQL0ip/4wGZMrFRzJyc9v+aRsqLgP/mGcVS+FThM0eK XItWCtIKagm8mwRvMdTSccfUZDYmCEIFuH5y5Jzp+x2cbXlAI6VgWqobbo8vkH859Xk9WQko7nEm7 MnibTbZSCEB4Nb9WEAs8TA/oXglHnvLfqgIyRmKOngrE6y6qPaweh85l8NUDhFn9Lf5/EyWeaf7RX qts48R8MUEgQ2U+8x/x4ffJWRm1pqPGAqvti2vQZWchx2xSbOyahvDmNwHooHTBlfj6lbphzVCtq/ El/kCEFw==; 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 1g8TTi-0001G8-Ir; Fri, 05 Oct 2018 17:01:26 +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 1g8TRe-0007gi-Ro for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Oct 2018 16:59:18 +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=zoNxd1sQf4bhVATt8RklSISv1vp3Ut2WaEzmkh9zdXo=; b=r5Sx8nMKNGt0VKt+SadzZZ/ud JtUJPRmP9PdREX6I5mVEfepRWRsPzIlQo8KpnNmrgIL893z7AqFoarX2rKIxIZp0eutrZMnl6LiZO 5Ergz4TAjlfWc3U7tkB3cKG10uU9jpircOplnpypJG8+kIE+kmj7aEzuEWtj5SQA8WZB0vzsXxf49 MXZOKMOZQwKf3vQTuRd7z5TsSQeUeTjDw4Ss8DkM3QJa/Zn12tmgSgoT07kDCOJe/XUmkq88EG6ZJ cmLt1ZnN1vDS15ZP/DJcSG0jZ4mtAAZsh0D9/UH7FxSULVGbeHFPp8GGp9ksLE6/uFS6IB2a/2C1I v4mS2pbdQ==; Received: from mail-oi1-f195.google.com ([209.85.167.195]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRc-0005d0-0v for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 16:59:17 +0000 Received: by mail-oi1-f195.google.com with SMTP id v69-v6so10975514oif.1 for ; Fri, 05 Oct 2018 09:59:05 -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=zoNxd1sQf4bhVATt8RklSISv1vp3Ut2WaEzmkh9zdXo=; b=OpMTKjt+zBPe4CicPEZgWnoBKDbLlRTl/fur/waj/zcoMGOubsdBQ7gmBEwom6e5b7 t9BdS/touyfRR1HfA0wWou0SQzXnE4bM5TPLe1ug8ONW9fZTBaVmBEAqwzCGXqmNvrUc 9QSED+q6MXFe8uYKBmPCPUPYu3nzFURQKH+fxAhgSqYflmLpJVFMYPjJoZYAHAMrbOaO pf2AbygRbqF5Z/llIysOQSWZgSbvY05ihzpX0QcTDPm60VEo2cMF8WD07yNjnhiUmYAR ZP80+7EsrN4dFV7/uSwiQEQKEBuwXaNfw3MOjpbLcop6rfCKRYrng+uAtnDr4Ln0P0jb yBRQ== X-Gm-Message-State: ABuFfojdl+Rhq0q4HpYwXqwayQjBGSK5Z7YMMy6TepqSrxBXmaFTA4VO g5wW5MVa60/pqARVpYWTZA== X-Google-Smtp-Source: ACcGV60ra+ZWkkDwvIDTvmqyG9Jnx/zX9evmVtVhgTMw12gz5UPPJB/4HBUGFojHd2Df58cLg11pPA== X-Received: by 2002:aca:754b:: with SMTP id q72-v6mr6275729oic.13.1538758744745; Fri, 05 Oct 2018 09:59:04 -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.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:03 -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 10/36] dt-bindings: altera: Convert clkmgr binding to json-schema Date: Fri, 5 Oct 2018 11:58:22 -0500 Message-Id: <20181005165848.3474-11-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_125916_105155_1B886630 X-CRM114-Status: GOOD ( 17.29 ) 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 , Bjorn Andersson , Dinh Nguyen , 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 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 | 30 +++++++++++++++++++ 2 files changed, 30 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 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..37c2cf08fae0 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/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>; + }; + +...