xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sc7180-camcc.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sc7180-camcc.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Camera Clock & Reset Controller on SC7180
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
10aa1a8ff2SEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm camera clock control module provides the clocks, resets and power
148bab661aSEmmanuel Vadot  domains on SC7180.
155def4c47SEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,camcc-sc7180.h
175def4c47SEmmanuel Vadot
18*8d13bc63SEmmanuel VadotallOf:
19*8d13bc63SEmmanuel Vadot  - $ref: qcom,gcc.yaml#
20*8d13bc63SEmmanuel Vadot
215def4c47SEmmanuel Vadotproperties:
225def4c47SEmmanuel Vadot  compatible:
235def4c47SEmmanuel Vadot    const: qcom,sc7180-camcc
245def4c47SEmmanuel Vadot
255def4c47SEmmanuel Vadot  clocks:
265def4c47SEmmanuel Vadot    items:
275def4c47SEmmanuel Vadot      - description: Board XO source
285def4c47SEmmanuel Vadot      - description: Camera_ahb clock from GCC
295def4c47SEmmanuel Vadot      - description: Camera XO clock from GCC
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadot  clock-names:
325def4c47SEmmanuel Vadot    items:
335def4c47SEmmanuel Vadot      - const: bi_tcxo
345def4c47SEmmanuel Vadot      - const: iface
355def4c47SEmmanuel Vadot      - const: xo
365def4c47SEmmanuel Vadot
375def4c47SEmmanuel Vadot  reg:
385def4c47SEmmanuel Vadot    maxItems: 1
395def4c47SEmmanuel Vadot
405def4c47SEmmanuel Vadotrequired:
415def4c47SEmmanuel Vadot  - compatible
425def4c47SEmmanuel Vadot  - clocks
435def4c47SEmmanuel Vadot  - clock-names
445def4c47SEmmanuel Vadot
45*8d13bc63SEmmanuel VadotunevaluatedProperties: false
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel Vadotexamples:
485def4c47SEmmanuel Vadot  - |
495def4c47SEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sc7180.h>
505def4c47SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
515def4c47SEmmanuel Vadot    clock-controller@ad00000 {
525def4c47SEmmanuel Vadot      compatible = "qcom,sc7180-camcc";
535def4c47SEmmanuel Vadot      reg = <0x0ad00000 0x10000>;
545def4c47SEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
555def4c47SEmmanuel Vadot               <&gcc GCC_CAMERA_AHB_CLK>,
565def4c47SEmmanuel Vadot               <&gcc GCC_CAMERA_XO_CLK>;
575def4c47SEmmanuel Vadot      clock-names = "bi_tcxo", "iface", "xo";
585def4c47SEmmanuel Vadot      #clock-cells = <1>;
595def4c47SEmmanuel Vadot      #reset-cells = <1>;
605def4c47SEmmanuel Vadot      #power-domain-cells = <1>;
615def4c47SEmmanuel Vadot    };
625def4c47SEmmanuel Vadot...
63