dt-bindings: clock: qcom: Fix the xo parent in gpucc example
authorDouglas Anderson <dianders@chromium.org>
Wed, 28 Nov 2018 18:57:42 +0000 (10:57 -0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 28 Nov 2018 21:26:10 +0000 (13:26 -0800)
In the bindings that landed for the gpucc we require that the XO clock
(one possible parent of the gpucc) be listed.  The code doesn't use
this yet--this is just to allow us to move toward the day when it does
use it.  What the code does do today is to hardcode the parent name to
"bi_tcxo".  That's all well and good.

...but the example in the bindings shows this clock mapping to the
clock "xo_board".  On the current sdm845.dtsi file the "xo_board"
clock is a fixed clock with an output name of "xo_board".  The clock
with the name "bi_tcxo" is actually provided by the RPMh Clock
Controller.  Presumably that's the one that was wanted.

Let's update the example to make this clearer.

Fixes: e431c92188a9 ("dt-bindings: clock: Introduce QCOM Graphics clock bindings")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/qcom,gpucc.txt

index 9d0358c..4e5215e 100644 (file)
@@ -17,6 +17,6 @@ Example:
                #clock-cells = <1>;
                #reset-cells = <1>;
                #power-domain-cells = <1>;
-               clocks = <&xo_board>;
+               clocks = <&rpmhcc RPMH_CXO_CLK>;
                clock-names = "xo";
        };