1f1f5a303STaniya Das# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
270d795d2SJonathan Marek%YAML 1.2
370d795d2SJonathan Marek---
470d795d2SJonathan Marek$id: http://devicetree.org/schemas/clock/qcom,videocc.yaml#
570d795d2SJonathan Marek$schema: http://devicetree.org/meta-schemas/core.yaml#
670d795d2SJonathan Marek
7*ece3c319SKrzysztof Kozlowskititle: Qualcomm Video Clock & Reset Controller
870d795d2SJonathan Marek
970d795d2SJonathan Marekmaintainers:
1070d795d2SJonathan Marek  - Taniya Das <tdas@codeaurora.org>
1170d795d2SJonathan Marek
1270d795d2SJonathan Marekdescription: |
13*ece3c319SKrzysztof Kozlowski  Qualcomm video clock control module provides the clocks, resets and power
14*ece3c319SKrzysztof Kozlowski  domains on Qualcomm SoCs.
1570d795d2SJonathan Marek
16*ece3c319SKrzysztof Kozlowski  See also::
17*ece3c319SKrzysztof Kozlowski    include/dt-bindings/clock/qcom,videocc-sc7180.h
18*ece3c319SKrzysztof Kozlowski    include/dt-bindings/clock/qcom,videocc-sc7280.h
19*ece3c319SKrzysztof Kozlowski    include/dt-bindings/clock/qcom,videocc-sdm845.h
20*ece3c319SKrzysztof Kozlowski    include/dt-bindings/clock/qcom,videocc-sm8150.h
21*ece3c319SKrzysztof Kozlowski    include/dt-bindings/clock/qcom,videocc-sm8250.h
2270d795d2SJonathan Marek
2370d795d2SJonathan Marekproperties:
2470d795d2SJonathan Marek  compatible:
2570d795d2SJonathan Marek    enum:
2670d795d2SJonathan Marek      - qcom,sc7180-videocc
27f1f5a303STaniya Das      - qcom,sc7280-videocc
2870d795d2SJonathan Marek      - qcom,sdm845-videocc
29df3f61d2SJonathan Marek      - qcom,sm8150-videocc
30dafb992aSJonathan Marek      - qcom,sm8250-videocc
3170d795d2SJonathan Marek
3270d795d2SJonathan Marek  clocks:
3370d795d2SJonathan Marek    items:
3470d795d2SJonathan Marek      - description: Board XO source
3570d795d2SJonathan Marek
3670d795d2SJonathan Marek  clock-names:
3770d795d2SJonathan Marek    items:
3870d795d2SJonathan Marek      - const: bi_tcxo
3970d795d2SJonathan Marek
4070d795d2SJonathan Marek  '#clock-cells':
4170d795d2SJonathan Marek    const: 1
4270d795d2SJonathan Marek
4370d795d2SJonathan Marek  '#reset-cells':
4470d795d2SJonathan Marek    const: 1
4570d795d2SJonathan Marek
4670d795d2SJonathan Marek  '#power-domain-cells':
4770d795d2SJonathan Marek    const: 1
4870d795d2SJonathan Marek
4970d795d2SJonathan Marek  reg:
5070d795d2SJonathan Marek    maxItems: 1
5170d795d2SJonathan Marek
52a3bb8a70SDmitry Baryshkov  power-domains:
53a3bb8a70SDmitry Baryshkov    description:
54a3bb8a70SDmitry Baryshkov      A phandle and PM domain specifier for the MMCX power domain.
55a3bb8a70SDmitry Baryshkov    maxItems: 1
56a3bb8a70SDmitry Baryshkov
57a3bb8a70SDmitry Baryshkov  required-opps:
58a3bb8a70SDmitry Baryshkov    description:
59a3bb8a70SDmitry Baryshkov      A phandle to an OPP node describing required MMCX performance point.
60a3bb8a70SDmitry Baryshkov    maxItems: 1
61a3bb8a70SDmitry Baryshkov
6270d795d2SJonathan Marekrequired:
6370d795d2SJonathan Marek  - compatible
6470d795d2SJonathan Marek  - reg
6570d795d2SJonathan Marek  - clocks
6670d795d2SJonathan Marek  - clock-names
6770d795d2SJonathan Marek  - '#clock-cells'
6870d795d2SJonathan Marek  - '#reset-cells'
6970d795d2SJonathan Marek  - '#power-domain-cells'
7070d795d2SJonathan Marek
7170d795d2SJonathan MarekadditionalProperties: false
7270d795d2SJonathan Marek
7370d795d2SJonathan Marekexamples:
7470d795d2SJonathan Marek  - |
7570d795d2SJonathan Marek    #include <dt-bindings/clock/qcom,rpmh.h>
76a3bb8a70SDmitry Baryshkov    #include <dt-bindings/power/qcom-rpmpd.h>
7770d795d2SJonathan Marek    clock-controller@ab00000 {
7870d795d2SJonathan Marek      compatible = "qcom,sdm845-videocc";
7970d795d2SJonathan Marek      reg = <0x0ab00000 0x10000>;
8070d795d2SJonathan Marek      clocks = <&rpmhcc RPMH_CXO_CLK>;
8170d795d2SJonathan Marek      clock-names = "bi_tcxo";
8270d795d2SJonathan Marek      #clock-cells = <1>;
8370d795d2SJonathan Marek      #reset-cells = <1>;
8470d795d2SJonathan Marek      #power-domain-cells = <1>;
85a3bb8a70SDmitry Baryshkov      power-domains = <&rpmhpd SM8250_MMCX>;
86a3bb8a70SDmitry Baryshkov      required-opps = <&rpmhpd_opp_low_svs>;
8770d795d2SJonathan Marek    };
8870d795d2SJonathan Marek...
89