From patchwork Thu Sep 21 16:49:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 9964317 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 D663E602D8 for ; Thu, 21 Sep 2017 16:51:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAFD22961E for ; Thu, 21 Sep 2017 16:51:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFB6829621; Thu, 21 Sep 2017 16:51:19 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham 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 4AE0C29625 for ; Thu, 21 Sep 2017 16:51:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751728AbdIUQvD (ORCPT ); Thu, 21 Sep 2017 12:51:03 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:48328 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751896AbdIUQtx (ORCPT ); Thu, 21 Sep 2017 12:49:53 -0400 Received: by mail-wm0-f43.google.com with SMTP id m127so3570477wmm.3 for ; Thu, 21 Sep 2017 09:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tvRW2ZSF2XUBLk395jXryNnxHAWgY9ROCgPUaZMbC8w=; b=b0Zcf9RDIC0Z3oZ1s9sgkofgD01KIrBN86LEizAIsR/mVXQxRYo0GNaPIW9hAfCjop ofy5cQ5SZyua4B5s01KSolIYhZxXk/oMWdZqKJ1LjXh0y/aguM1D+45bXb3mvivd4gHh +Ney5sDf2VjVVMUX5tZnpC/IIdbA+m9arof9Q= 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=tvRW2ZSF2XUBLk395jXryNnxHAWgY9ROCgPUaZMbC8w=; b=tCBavFdgLO2hwxGF7vVABtIUJ0Kvo8gPD/12ECWW8AQcNIHk4ZquSZceXcvFdC3Sms JDKVKpltVknU31fh1wsnZa+jSS//14lS7f6BlR7qYUgHG1kLbqa2BUXj0Hdum9CT0L8q NPSJ4v80pawNmD6E+PaBHwC96IYmUvT85ePuw5aF8Foqra0xQbyE5bE0WTxSwLsAujll 3ACB9AiDDVXjN0wxxwUPJSi4okTeFM8y89YC5vgs8W66mGvGfCHAUwi8wVXoSOpMhU8u TgX3A7yaT1pIymFbMXyQ6jWl7L+NWZirZUtjUw5JoLcrLwBChBSScWOIPBBumyRquMcC UFbg== X-Gm-Message-State: AHPjjUinTz6oLgS6tyq9Fnq/r3CpQ6Xbl1FwzJWmTk+XfL/2bndT7cyg WhIvBImmpnjUQvJVLtQz/murdg== X-Google-Smtp-Source: AOwi7QAypNwlOOYlEjOs0ajb8tXIb9ZkYNxbcZlTSqM44NPoySFxbp9jq8FxQW0tBkX12A4ZD8YP8w== X-Received: by 10.80.241.22 with SMTP id w22mr1865215edl.188.1506012591954; Thu, 21 Sep 2017 09:49:51 -0700 (PDT) Received: from mms-0441.qualcomm.mm-sol.com ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id i16sm993311edj.29.2017.09.21.09.49.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 09:49:51 -0700 (PDT) From: Georgi Djakov To: sboyd@codeaurora.org, jassisinghbrar@gmail.com, bjorn.andersson@linaro.org, robh+dt@kernel.org Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH v9 6/7] dt-bindings: clock: Document qcom,apcs binding Date: Thu, 21 Sep 2017 19:49:39 +0300 Message-Id: <20170921164940.20343-7-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170921164940.20343-1-georgi.djakov@linaro.org> References: <20170921164940.20343-1-georgi.djakov@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device-tree binding documentation for the Qualcom APCS clock controller. This clock controller is a mux and half-integer divider and provides the clock for the application CPU. Signed-off-by: Georgi Djakov Acked-by: Rob Herring --- .../devicetree/bindings/clock/qcom,apcs.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,apcs.txt -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/clock/qcom,apcs.txt b/Documentation/devicetree/bindings/clock/qcom,apcs.txt new file mode 100644 index 000000000000..8083bcc33ebe --- /dev/null +++ b/Documentation/devicetree/bindings/clock/qcom,apcs.txt @@ -0,0 +1,27 @@ +Qualcomm APCS Clock Controller Binding +-------------------------------------- +The APCS hardware block provides a combined mux and half-integer divider +functionality. It is used for a main CPU clock mux on MSM8916 platforms. + +Required properties : +- compatible : shall contain only one of the following: + + "qcom,msm8916-apcs-clk" + +- clocks : shall be the phandle to the main input CPU PLL clock + +- #clock-cells : must be set to <0> + +Example: + + apcs: mailbox@b011000 { + compatible = "qcom,msm8916-apcs-kpss-global"; + reg = <0xb011000 0x1000>; + #mbox-cells = <1>; + + apcs_clk: apcs_clk { + compatible = "qcom,msm8916-apcs-clk"; + clocks = <&a53pll>; + #clock-cells = <0>; + }; + };