From patchwork Fri Dec 1 17:02:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 10087499 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 17F0C6037E for ; Fri, 1 Dec 2017 17:03:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07A5E28558 for ; Fri, 1 Dec 2017 17:03:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F088A2A55C; Fri, 1 Dec 2017 17:03:51 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 563442A564 for ; Fri, 1 Dec 2017 17:03:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751162AbdLARDZ (ORCPT ); Fri, 1 Dec 2017 12:03:25 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:38756 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751859AbdLARCf (ORCPT ); Fri, 1 Dec 2017 12:02:35 -0500 Received: by mail-wr0-f193.google.com with SMTP id o2so10804456wro.5 for ; Fri, 01 Dec 2017 09:02:34 -0800 (PST) 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=rPpiBZ0p5nkk9kadXe66AnmTeg2Alwe1QQ7ulrca7vA=; b=e4k9J/iCLO90Za0yBVP+sfCdrPqQ1gj0hicQ+i0qzBXHiTFSn7OrY5qAA8Q95bWIxw r4YkD5fnNDq0TxpL5gJRPnPCUMZE2ZcJHAT7eyKjZ3GZfeVh6caJpRm6bCUSVFIVHsMm QLyb+sxbFwSVv4lo9gpohy2XluWKmFcbnbl4s= 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=rPpiBZ0p5nkk9kadXe66AnmTeg2Alwe1QQ7ulrca7vA=; b=qQcaicHdK1wSixV4Ws+9Hqs/tlRo59PAn9AuECmVcLC3sgT8TL24ONyQ2nvHBb/JWf TceDPyfim3cIi5Bf0GGu7mO9rkUrl+dk+QPzyjLFhmobUqh94u9ZHvDVHteBGbJMNFWC UqmQ9VxMf+qmlFwNKEyclqIiE6mClHD41AY7ds+jlKp+NLcmqZ600ptXbpyU/1G1sADy SraZgOvshBvuV5ekkDnZ1osNUdN6p7OAKn/SmLdYwgOz2fYjLO3xgVjcBkwSK+dS8t+9 QVjkc00GI18Qo88XyPITIgNO92vjnadiHxEPT/2ePUVsotN5GBzVanWdjS4NBlCALsHK WTGA== X-Gm-Message-State: AJaThX6iG1s5HTfaX+ZpU5yU0jK48evso03/0Ga59zNOgVu4AKNkYBzB oAk92ssG9XsdI5tioZ5+r4ZFuA== X-Google-Smtp-Source: AGs4zMaMyT2d9f3szj7N2vK/aRH+S05v6i+gdYjnge5wvPrawYsEGQ7hWnNKUPBzKuZw5dBGs3h84Q== X-Received: by 10.223.181.150 with SMTP id c22mr6635143wre.0.1512147753833; Fri, 01 Dec 2017 09:02:33 -0800 (PST) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id 2sm1535253wmk.28.2017.12.01.09.02.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Dec 2017 09:02:33 -0800 (PST) From: Georgi Djakov To: sboyd@codeaurora.org, jassisinghbrar@gmail.com, bjorn.andersson@linaro.org, robh@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 v10 5/6] dt-bindings: mailbox: qcom: Document the APCS clock binding Date: Fri, 1 Dec 2017 19:02:23 +0200 Message-Id: <20171201170224.25053-6-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171201170224.25053-1-georgi.djakov@linaro.org> References: <20171201170224.25053-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 Update the binding documentation for APCS to mention that the APCS hardware block also expose a clock controller functionality. The APCS clock controller is a mux and half-integer divider. It has the main CPU PLL as an input and provides the clock for the application CPU. Signed-off-by: Georgi Djakov Reviewed-by: Rob Herring Acked-by: Bjorn Andersson --- .../bindings/mailbox/qcom,apcs-kpss-global.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 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/mailbox/qcom,apcs-kpss-global.txt b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt index fb961c310f44..16964f0c1773 100644 --- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt @@ -15,12 +15,21 @@ platforms. Usage: required Value type: Definition: must specify the base address and size of the global block +- clocks: + Usage: required if #clocks-cells property is present + Value type: + Definition: phandle to the input PLL, which feeds the APCS mux/divider - #mbox-cells: Usage: required Value type: Definition: as described in mailbox.txt, must be 1 +- #clock-cells: + Usage: optional + Value type: + Definition: as described in clock.txt, must be 0 + = EXAMPLE The following example describes the APCS HMSS found in MSM8996 and part of the @@ -44,3 +53,12 @@ GLINK RPM referencing the "rpm_hlos" doorbell therein. mbox-names = "rpm_hlos"; }; +Below is another example of the APCS binding on MSM8916 platforms: + + apcs: mailbox@b011000 { + compatible = "qcom,msm8916-apcs-kpss-global"; + reg = <0xb011000 0x1000>; + #mbox-cells = <1>; + clocks = <&a53pll>; + #clock-cells = <0>; + };