diff mbox series

[v6,15/18] dt-bindings: clock: Add L2 clocks to qcom,krait-cc Documentation

Message ID 20220321231548.14276-16-ansuelsmth@gmail.com
State New
Headers show
Series Modernize rest of the krait drivers | expand

Commit Message

Christian Marangi March 21, 2022, 11:15 p.m. UTC
Krait-cc qcom driver provide also L2 clocks and require the acpu_l2_aux
and the hfpll_l2 clock to be provided. Add these missing clocks to the
Documentation. The driver keep support for both old (it did already used
these clocks and we keep the same naming scheme) and this new
implementation and should prevent any regression by this fixup.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 .../devicetree/bindings/clock/qcom,krait-cc.yaml       | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/clock/qcom,krait-cc.yaml b/Documentation/devicetree/bindings/clock/qcom,krait-cc.yaml
index e879bfbe67ac..de4320a85764 100644
--- a/Documentation/devicetree/bindings/clock/qcom,krait-cc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,krait-cc.yaml
@@ -26,6 +26,8 @@  properties:
       - description: phandle to CPU0 aux clock
       - description: phandle to CPU1 aux clock
       - description: phandle to QSB fixed clk
+      - description: phandle to hfpll for L2 mux
+      - description: phandle to L2 aux clock
 
   clock-names:
     items:
@@ -34,6 +36,8 @@  properties:
       - const: acpu0_aux
       - const: acpu1_aux
       - const: qsb
+      - const: hfpll_l2
+      - const: acpu_l2_aux
 
   '#clock-cells':
     const: 1
@@ -51,9 +55,11 @@  examples:
     clock-controller {
       compatible = "qcom,krait-cc-v1";
       clocks = <&hfpll0>, <&hfpll1>,
-               <&acpu0_aux>, <&acpu1_aux>, <&qsb>;
+               <&acpu0_aux>, <&acpu1_aux>, <&qsb>,
+               <&hfpll_l2>, <&acpu_l2_aux>;
       clock-names = "hfpll0", "hfpll1",
-                    "acpu0_aux", "acpu1_aux", "qsb";
+                    "acpu0_aux", "acpu1_aux", "qsb",
+                    "hfpll_l2", "acpu_l2_aux";
       #clock-cells = <1>;
     };
 ...