clk: qcom: Elaborate on "active" clocks in the RPM clock bindings
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Oct 2017 11:26:35 +0000 (13:26 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 2 Nov 2017 06:46:48 +0000 (23:46 -0700)
The concept of "active" clocks is just explained in a bried comment in the
device driver, let's explain it a bit more in the device tree bindings
so everyone understands this.

Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Documentation/devicetree/bindings/clock/qcom,rpmcc.txt

index a7235e9..32c6e9c 100644 (file)
@@ -16,6 +16,14 @@ Required properties :
 
 - #clock-cells : shall contain 1
 
+The clock enumerators are defined in <dt-bindings/clock/qcom,rpmcc.h>
+and come in pairs: FOO_CLK followed by FOO_A_CLK. The latter clock
+is an "active" clock, which means that the consumer only care that the
+clock is available when the apps CPU subsystem is active, i.e. not
+suspended or in deep idle. If it is important that the clock keeps running
+during system suspend, you need to specify the non-active clock, the one
+not containing *_A_* in the enumerator name.
+
 Example:
        smd {
                compatible = "qcom,smd";