[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200124144154.v2.8.I27bbd90045f38cd3218c259526409d52a48efb35@changeid>
Date: Fri, 24 Jan 2020 14:42:23 -0800
From: Douglas Anderson <dianders@...omium.org>
To: Rob Herring <robh@...nel.org>, Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Stephen Boyd <sboyd@...eaurora.org>
Cc: Jeffrey Hugo <jhugo@...eaurora.org>,
Taniya Das <tdas@...eaurora.org>, devicetree@...r.kernel.org,
linux-arm-msm@...r.kernel.org, harigovi@...eaurora.org,
mka@...omium.org, kalyan_t@...eaurora.org,
Mark Rutland <mark.rutland@....com>, linux-clk@...r.kernel.org,
hoegsberg@...omium.org, Douglas Anderson <dianders@...omium.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>, linux-kernel@...r.kernel.org,
Rob Herring <robh+dt@...nel.org>
Subject: [PATCH v2 08/10] dt-bindings: clock: Cleanup qcom,videocc bindings for sdm845/sc7180
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@...omium.org>
---
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@...0000 {
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
Powered by blists - more mailing lists