xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sa8775p-videocc.yaml (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
15f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25f62a964SEmmanuel Vadot%YAML 1.2
35f62a964SEmmanuel Vadot---
45f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sa8775p-videocc.yaml#
55f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65f62a964SEmmanuel Vadot
75f62a964SEmmanuel Vadottitle: Qualcomm Video Clock & Reset Controller on SA8775P
85f62a964SEmmanuel Vadot
95f62a964SEmmanuel Vadotmaintainers:
105f62a964SEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
115f62a964SEmmanuel Vadot
125f62a964SEmmanuel Vadotdescription: |
135f62a964SEmmanuel Vadot  Qualcomm video clock control module provides the clocks, resets and power
145f62a964SEmmanuel Vadot  domains on SA8775P.
155f62a964SEmmanuel Vadot
165f62a964SEmmanuel Vadot  See also: include/dt-bindings/clock/qcom,sa8775p-videocc.h
175f62a964SEmmanuel Vadot
185f62a964SEmmanuel Vadotproperties:
195f62a964SEmmanuel Vadot  compatible:
205f62a964SEmmanuel Vadot    enum:
21*2846c905SEmmanuel Vadot      - qcom,qcs8300-videocc
225f62a964SEmmanuel Vadot      - qcom,sa8775p-videocc
235f62a964SEmmanuel Vadot
245f62a964SEmmanuel Vadot  clocks:
255f62a964SEmmanuel Vadot    items:
265f62a964SEmmanuel Vadot      - description: Video AHB clock from GCC
275f62a964SEmmanuel Vadot      - description: Board XO source
285f62a964SEmmanuel Vadot      - description: Board active XO source
295f62a964SEmmanuel Vadot      - description: Sleep Clock source
305f62a964SEmmanuel Vadot
315f62a964SEmmanuel Vadot  power-domains:
325f62a964SEmmanuel Vadot    maxItems: 1
335f62a964SEmmanuel Vadot    description: MMCX power domain
345f62a964SEmmanuel Vadot
355f62a964SEmmanuel Vadotrequired:
365f62a964SEmmanuel Vadot  - compatible
375f62a964SEmmanuel Vadot  - clocks
385f62a964SEmmanuel Vadot  - power-domains
395f62a964SEmmanuel Vadot  - '#power-domain-cells'
405f62a964SEmmanuel Vadot
415f62a964SEmmanuel VadotallOf:
425f62a964SEmmanuel Vadot  - $ref: qcom,gcc.yaml#
435f62a964SEmmanuel Vadot
445f62a964SEmmanuel VadotunevaluatedProperties: false
455f62a964SEmmanuel Vadot
465f62a964SEmmanuel Vadotexamples:
475f62a964SEmmanuel Vadot  - |
485f62a964SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
495f62a964SEmmanuel Vadot    #include <dt-bindings/power/qcom-rpmpd.h>
505f62a964SEmmanuel Vadot    #include <dt-bindings/clock/qcom,sa8775p-gcc.h>
515f62a964SEmmanuel Vadot    videocc: clock-controller@abf0000 {
525f62a964SEmmanuel Vadot      compatible = "qcom,sa8775p-videocc";
535f62a964SEmmanuel Vadot      reg = <0x0abf0000 0x10000>;
545f62a964SEmmanuel Vadot      clocks = <&gcc GCC_VIDEO_AHB_CLK>,
555f62a964SEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK>,
565f62a964SEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
575f62a964SEmmanuel Vadot               <&sleep_clk>;
585f62a964SEmmanuel Vadot      power-domains = <&rpmhpd SA8775P_MMCX>;
595f62a964SEmmanuel Vadot      #clock-cells = <1>;
605f62a964SEmmanuel Vadot      #reset-cells = <1>;
615f62a964SEmmanuel Vadot      #power-domain-cells = <1>;
625f62a964SEmmanuel Vadot    };
635f62a964SEmmanuel Vadot...
64