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: 120699 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5906550qgn; Tue, 5 Dec 2017 07:47:48 -0800 (PST) X-Google-Smtp-Source: AGs4zMbVKMmZ5VDTPLkVqjif5dqMRHOZo1J7pCihhHCDYUdBbRCReraXnAqkoqFMRVmBG4OlLcoR X-Received: by 10.159.230.16 with SMTP id u16mr18811020plq.41.1512488868342; Tue, 05 Dec 2017 07:47:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512488868; cv=none; d=google.com; s=arc-20160816; b=gSjCaMT0KrvrlvWqw2H/RmZkhjrJCmSRe03UsCRCBgyMiyUDEjkJOZ7H1WW9DQJz2I +udBAVx/Vaz2nHJgHO+jf1QBDnoaE4bQPxyeKGeNWlrLh6LhsOBN7CEzREffXCT2uvXc Z2dSa30Wh4upZ1UR2KoTlLX6HT7giGzChaLKke+0BoSBF0yV9BoNgqhjkyd01sntvHCG Ud6O6ciPIMDUHQOatLIEpYzVKsbaevQcyvUnspgHX1kDXyUJzm1iPf7zBYikQr0mAWm0 WXoowo0ipD/6qgni6uB1SrRTf1aa7wAECTTqjvPZco6ZYl8+pOTFPtqVgXgUthHjm54R XRVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=i8RBOOMBMBdxMhoo9kSfsnXmze8ymCGB7zMKK+2q8Tc=; b=SntmxsUomSR9TcQUy4V2odrt/BoJF9g9mKn0EtkFQnYnqlLw6DPdaJLcu6ngvsII+n vBOMrv0MLk8NdsFYwiQv+TrPnTrJbx/HX1N+UoEwOuJfNgJJtHNasnpOkp4Yu3CI1VS5 kyYsyrI5b3p73SbuOotyQN+NTdm97qz+pCbbYFRKrHGa2vdQ+Mk9X2fXDNBNQXuDQBB1 NJOr2hYYN2EhsOWPdZkGmekl/74LOxA0nocjKX4aQGJZsdTULyt26ehu99oKiUISNqg8 mFPcZA03IEwfIPWJv0n16ItI7XevIZRc9rX5istcobd0aOSzAOlEerVcRbbUhTXm1hd6 fmIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QQvbrzLN; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si235836pll.585.2017.12.05.07.47.48; Tue, 05 Dec 2017 07:47:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QQvbrzLN; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753082AbdLEPrq (ORCPT + 10 others); Tue, 5 Dec 2017 10:47:46 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37826 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753015AbdLEPrN (ORCPT ); Tue, 5 Dec 2017 10:47:13 -0500 Received: by mail-wm0-f66.google.com with SMTP id f140so2093664wmd.2 for ; Tue, 05 Dec 2017 07:47:12 -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=nTJCY/SCtaOTLm4qJgLxsWmDnQIh49XF0H7fEaeu6ElYBJw0Cr+Pf9iJjeVoubg6lD IUC+GT9T4PyMKGfVYu33xhlPyzCcNbZM90R6tHj8uU38ythnX/YEiJ9JyBomT1IihrmH sWzuLi1ZlVjJuuUxQvTjxacQ2D37dgyWPdK3wM9nQZnzNWd8731o6RgCBINc0zHC6thP i0e70I/c0FLrDA4pKk/D9rVBOsUA2eveiiAhSg4JgPkJnLi0Ckq92YeNY7TkrdlBfTY1 4S5PRlZB04UQJeNjGbhzCQjkVi/SBg43mUzi0gVXR8SKLbpXibsxYY1MoQZfL3XON2kx y5sQ== X-Gm-Message-State: AKGB3mJWl6iQINt7KrQaE1M6S56uBHpOrR/hDvrE5MH0KtwgBvAIkV19 Z86u4boxRq90vUfXj9JAIGQNgA== 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: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 linux-arm-msm" 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>; + };