[PATCH v2 08/10] dt-bindings: clock: Cleanup qcom,videocc bindings for sdm845/sc7180

From: Douglas Anderson
Date: Fri Jan 24 2020 - 17:43:34 EST


This makes the qcom,videocc bindings match the recent changes to the
dispcc and gpucc. Unlike the recent changes to those files, this one
doesn't really have any functional change. It:

1. Adds a description for the XO clock. Not terribly important but
nice if it cleanly matches its cousins.

2. Updates the example to use the symbolic name for the RPMH clock and
also show that the real devices are currently using 2 address cells
/ size cells and fixes the spacing on the closing brace.

Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
---

Changes in v2:
- Patch ("dt-bindings: clock: Cleanup qcom,videocc") new for v2.

.../devicetree/bindings/clock/qcom,videocc.yaml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml
index 43cfc893a8d1..745928dc0fcb 100644
--- a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml
@@ -20,7 +20,8 @@ properties:
- qcom,sdm845-videocc

clocks:
- maxItems: 1
+ items:
+ - description: Board XO source

clock-names:
items:
@@ -50,13 +51,14 @@ required:
examples:
# Example of VIDEOCC with clock node properties for SDM845:
- |
+ #include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@ab00000 {
compatible = "qcom,sdm845-videocc";
- reg = <0xab00000 0x10000>;
- clocks = <&rpmhcc 0>;
+ reg = <0 0x0ab00000 0 0x10000>;
+ clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
- };
+ };
...
--
2.25.0.341.g760bfbb309-goog