From patchwork Wed Feb 1 23:26:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 9550805 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0F25360236 for ; Wed, 1 Feb 2017 23:27:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0652F20008 for ; Wed, 1 Feb 2017 23:27:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED7E828435; Wed, 1 Feb 2017 23:27:40 +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=-1.9 required=2.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 8CAC820008 for ; Wed, 1 Feb 2017 23:27:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cZ4JL-00051z-Bp; Wed, 01 Feb 2017 23:27:35 +0000 Received: from smtp-out-no.shaw.ca ([64.59.134.13]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cZ4JG-0004ps-7a for linux-arm-kernel@lists.infradead.org; Wed, 01 Feb 2017 23:27:32 +0000 Received: from triton.mmayer.net ([70.71.160.251]) by shaw.ca with SMTP id Z4Iqc0keacWiHZ4IrcRjbA; Wed, 01 Feb 2017 16:27:08 -0700 X-Authority-Analysis: v=2.2 cv=JLBLi4Cb c=1 sm=1 tr=0 a=6xzog4CasRozao6qlzTIAw==:117 a=6xzog4CasRozao6qlzTIAw==:17 a=n2v9WMKugxEA:10 a=Q-fNiiVtAAAA:8 a=VwQbUJbxAAAA:8 a=GNgAPsaWc5Iyy3YvJ8UA:9 a=Fp8MccfUoT0GBdDC_Lng:22 a=AjGcO6oz07-iQ99wixmX:22 Received: by triton.mmayer.net (Postfix, from userid 501) id E587A3377EA8; Wed, 1 Feb 2017 15:27:03 -0800 (PST) From: Markus Mayer To: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Viresh Kumar , "Rafael J . Wysocki" , Arnd Bergmann Subject: [PATCH v6 1/2] dt-bindings: brcm: clocks: add binding for brcmstb-cpu-clk-div Date: Wed, 1 Feb 2017 15:26:37 -0800 Message-Id: <20170201232638.74396-2-code@mmayer.net> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170201232638.74396-1-code@mmayer.net> References: <20170201232638.74396-1-code@mmayer.net> X-CMAE-Envelope: MS4wfIM1Ys4+CuOTIKiHotx/yF8Kp4LsFfN6EGawb0TKPi5cdNdhCI/O/haVe9FLoWh3seQ7HOIU8aV2vnu58c/thWa6FDeFT1m53OTbKTZCq2XrYV3wqLEI rJC6FkzgakbrDwZyR87aZUkEhVXZbckO+LGdPCkWf0YQM9sFqfLXXJeSJiZjdIL1W6XYxn8S6UWZSm3czcIB67ScIvipeeJ2V2BeRcQ6oqOZjFlrmnNMFpDd Pi4oNvu+/8EwALzpStNNtPwVZZz5zaZqMs2dRL53OQHOO9rVsQbmcnX8poNRN52SLFCdViAxuDVlFk0BShBCNmzrP5YZICxyIZzdrHMKcAV0ziLFJc8Lq9Ya UF89H0kHm7xaQyOmkEkwEMdkCSSMEr0voIaB0efe/zvqBc/RFLJbYPZ/rR0jmKrHjH8mqMCshpOvSn9n3ybPycAU2PUZlPxj0ET0JfssIJ2l87OfuOMEFaWJ rwXpjLJAKF6habzQ4DL5JJz6v/gopCioJR1hapnmpb1EA/0DKF/S9Fluxszha/P1fT5f894dvgVPMKFt9qV+OTU1ZBxGDE7sTqiWD7pSjwozUbbiCpTGIEoT 3w5DQS4niuu/DTaTpOdvd1/1j0TBkpGHY6gGATZMaK6KDIpfCaR7YhqrC23118BkW90= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170201_152730_642268_BCE275F8 X-CRM114-Status: GOOD ( 12.96 ) 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: Device Tree List , Power Management List , Linux Kernel Mailing List , Broadcom Kernel List , Markus Mayer , Linux Clock List , ARM Kernel List 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 From: Markus Mayer Add binding document for brcm,brcmstb-cpu-clk-div. Signed-off-by: Markus Mayer Acked-by: Rob Herring --- .../bindings/clock/brcm,brcmstb-cpu-clk-div.txt | 22 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/brcm,brcmstb-cpu-clk-div.txt diff --git a/Documentation/devicetree/bindings/clock/brcm,brcmstb-cpu-clk-div.txt b/Documentation/devicetree/bindings/clock/brcm,brcmstb-cpu-clk-div.txt new file mode 100644 index 0000000..7b6a8ce --- /dev/null +++ b/Documentation/devicetree/bindings/clock/brcm,brcmstb-cpu-clk-div.txt @@ -0,0 +1,22 @@ +The CPU divider node serves as the sole clock for the CPU complex. It supports +power-of-2 clock division, with a divider of "1" as the default highest-speed +setting. + +Required properties: +- compatible: shall be "brcm,brcmstb-cpu-clk-div" +- reg: address and width of the divider configuration register +- #clock-cells: shall be set to 0 +- clocks: phandle of clock provider which provides the source clock + (this would typically be a "fixed-clock" type PLL) + +Optional properties: +- clock-names: the clock may be named + +Example: + cpuclkdiv: clock-controller@f03e257c { + compatible = "brcm,brcmstb-cpu-clk-div"; + reg = <0xf03e257c 0x4>; + #clock-cells = <0>; + clocks = <&cpupll>; + clock-names = "cpupll"; + }; diff --git a/MAINTAINERS b/MAINTAINERS index cfff2c9..690761d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2786,6 +2786,7 @@ M: bcm-kernel-feedback-list@broadcom.com L: linux-pm@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/cpufreq/brcm,stb-avs-cpu-freq.txt +F: Documentation/devicetree/bindings/clock/brcm,brcmstb-cpu-clk-div.txt F: drivers/cpufreq/brcmstb* BROADCOM SPECIFIC AMBA DRIVER (BCMA)