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: 9550809 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 0FCFD60236 for ; Wed, 1 Feb 2017 23:27:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0845D2041F for ; Wed, 1 Feb 2017 23:27:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F13BF28462; Wed, 1 Feb 2017 23:27:55 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A157C2041F for ; Wed, 1 Feb 2017 23:27:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751433AbdBAX1M (ORCPT ); Wed, 1 Feb 2017 18:27:12 -0500 Received: from smtp-out-no.shaw.ca ([64.59.134.9]:43814 "EHLO smtp-out-no.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbdBAX1K (ORCPT ); Wed, 1 Feb 2017 18:27:10 -0500 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 Cc: Markus Mayer , Broadcom Kernel List , Linux Clock List , Power Management List , Device Tree List , ARM Kernel List , Linux Kernel Mailing List 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= Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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)