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: 843605 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="e4k9J/iC"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3ypLG137FZz9s8J for ; Sat, 2 Dec 2017 04:03:53 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751085AbdLARDZ (ORCPT ); Fri, 1 Dec 2017 12:03:25 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46253 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751801AbdLARCf (ORCPT ); Fri, 1 Dec 2017 12:02:35 -0500 Received: by mail-wr0-f194.google.com with SMTP id x49so10793590wrb.13 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=iFZcl3D8CBbzJWTK01qOIfvhOeKorTGSLNnHSsh0RkziiApP+S4LjcWlsOk7VSsWMp 31h+vF1Uop6/Gf7K/ZRRXwrbPTMblXTqF/DHFGcEZaIixRhDuSFvQT7uRJT6q7bwJbIq cuLJkoRo1ZQEbpsbXIgfno1wJ0zZeaZ5FkET5+BVKAt4rc/uTgg9zTrIgHrelrHffmn6 OqtkJOPjOaC7Yf6a2stfkKVgyLqVJKN0bEVuCSs/VRu95fiEOYKElXjFRS2BJA2T+Qc/ ODkuPQZX+wI0pyMb/2VJOFL3K0cEssm3hLwi2iaGJtZ0zppmgJ2g64GoZnXoHD2OubTi Gsog== X-Gm-Message-State: AJaThX4FJ1ejkmL/TEgH7mZ/fbOfdI6AC1BkS1P9cQQWf8qdN+C/IcMR BaKIClTHrfMTF9M9DSTPJ0QjrQ== 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: 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>; + };