From patchwork Tue Dec 5 15:47:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 844839 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="QQvbrzLN"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yrmPF372cz9t9j for ; Wed, 6 Dec 2017 02:48:33 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753084AbdLEPrq (ORCPT ); Tue, 5 Dec 2017 10:47:46 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:40717 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753135AbdLEPrM (ORCPT ); Tue, 5 Dec 2017 10:47:12 -0500 Received: by mail-wm0-f68.google.com with SMTP id f206so2067426wmf.5 for ; Tue, 05 Dec 2017 07:47:11 -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=enFYRy2WVA6WKyNMd65JxPCGNUhh/eiRtU+6DrOvK1w=; b=QQvbrzLNPWrbGpMrD5LG1YV5Q1lXCTrXrlcIUfo8nH15ArGtzg3GI7r8voKCIgmjIG o4WLzXXV3IteOzH97U6fjCY3gK8YAbs9D2RNwttZppyTBU7bDP57dOeUkVhdrf6rONYT 61qUS+rhBIxZmn9F9yaOHJK/KLrFq7TxFyAx0= 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=enFYRy2WVA6WKyNMd65JxPCGNUhh/eiRtU+6DrOvK1w=; b=tplgmcvuWb14DIr2pLeofi6IszbO8wlT9jGMleZNFZjh7IRe0Fptt3v5CNJvQ52S8c Pq1nT9BjSVqJNlzW7QR1eum9GKHObVVi73Z1w+QtUcpQDv4hN8LEU99nt3qYhizoeGX1 n+LrLbOHtaqCdUZuA6AZ3vMtwAjPh33PCAr4TXwX182v0BqadUr5UmMJIcmR26+oufx5 8MfJtIS9nwpCM6vk7HTa8qqIllQn8gK8goK/h9vJ84Bm3l+1fpmtj0kX0AhBak1kUPCr T/4n1/nYnt32Pe0y81LG4o/mmF4084vlFDWMvau7bTapXz1XqlTiP25F4Hi88SsF1uB7 98Sw== X-Gm-Message-State: AKGB3mLHbt74oeRsfn6mUkU/o126J6xfBCI3KReY51A+nL1hWNFyyege MvZyWFOJ7Yb4FxtrilQZCLMgAA== X-Google-Smtp-Source: AGs4zMbSsWBAhm3jZbbgIQToOfKG/nSj3z3vGo4AyT6rYF8RX7E8OgdnIVFyfFn8tPoQs+IzcL/dZQ== X-Received: by 10.28.151.7 with SMTP id z7mr6452333wmd.5.1512488831205; Tue, 05 Dec 2017 07:47:11 -0800 (PST) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id v47sm500946wrc.13.2017.12.05.07.47.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Dec 2017 07:47:10 -0800 (PST) From: Georgi Djakov To: sboyd@codeaurora.org, jassisinghbrar@gmail.com, bjorn.andersson@linaro.org Cc: mturquette@baylibre.com, robh@kernel.org, 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 v11 5/6] dt-bindings: mailbox: qcom: Document the APCS clock binding Date: Tue, 5 Dec 2017 17:47:00 +0200 Message-Id: <20171205154701.27730-6-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171205154701.27730-1-georgi.djakov@linaro.org> References: <20171205154701.27730-1-georgi.djakov@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 devicetree" 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>; + };