diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2023-05-09 23:16:36 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-06-13 19:02:57 +0200 |
commit | 5683f11aa194f1dfa7e7c63426379ac6c7bc84be (patch) | |
tree | 2ac6fa4b1fd7cf407328160e03e1f251775d6dae | |
parent | clk: qcom: gpucc-sm8550: Add support for graphics clock controller (diff) | |
download | linux-5683f11aa194f1dfa7e7c63426379ac6c7bc84be.tar.xz linux-5683f11aa194f1dfa7e7c63426379ac6c7bc84be.zip |
dt-bindings: clock: qcom,mmcc: define clocks/clock-names for MSM8226
Define clock/clock-names properties of the MMCC device node to be used
on MSM8226 platform.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Acked-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230509-msm8226-mmcc-parents-v1-2-83a2dfc986ab@z3ntu.xyz
-rw-r--r-- | Documentation/devicetree/bindings/clock/qcom,mmcc.yaml | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml b/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml index acf0c923c24f..422f5776a771 100644 --- a/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml @@ -31,11 +31,11 @@ properties: - qcom,mmcc-sdm660 clocks: - minItems: 8 + minItems: 7 maxItems: 13 clock-names: - minItems: 8 + minItems: 7 maxItems: 13 '#clock-cells': @@ -104,6 +104,34 @@ allOf: compatible: contains: enum: + - qcom,mmcc-msm8226 + then: + properties: + clocks: + items: + - description: Board XO source + - description: MMSS GPLL0 voted clock + - description: GPLL0 voted clock + - description: GPLL1 voted clock + - description: GFX3D clock source + - description: DSI phy instance 0 dsi clock + - description: DSI phy instance 0 byte clock + + clock-names: + items: + - const: xo + - const: mmss_gpll0_vote + - const: gpll0_vote + - const: gpll1_vote + - const: gfx3d_clk_src + - const: dsi0pll + - const: dsi0pllbyte + + - if: + properties: + compatible: + contains: + enum: - qcom,mmcc-msm8974 then: properties: |