xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sc7280-camcc.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sc7280-camcc.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Camera Clock & Reset Controller on SC7280
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
10aa1a8ff2SEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm camera clock control module provides the clocks, resets and
148cc087a1SEmmanuel Vadot  power domains on SC7280.
158cc087a1SEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,camcc-sc7280.h
178cc087a1SEmmanuel Vadot
18*8d13bc63SEmmanuel VadotallOf:
19*8d13bc63SEmmanuel Vadot  - $ref: qcom,gcc.yaml#
20*8d13bc63SEmmanuel Vadot
218cc087a1SEmmanuel Vadotproperties:
228cc087a1SEmmanuel Vadot  compatible:
238cc087a1SEmmanuel Vadot    const: qcom,sc7280-camcc
248cc087a1SEmmanuel Vadot
258cc087a1SEmmanuel Vadot  clocks:
268cc087a1SEmmanuel Vadot    items:
278cc087a1SEmmanuel Vadot      - description: Board XO source
288cc087a1SEmmanuel Vadot      - description: Board XO active source
298cc087a1SEmmanuel Vadot      - description: Sleep clock source
308cc087a1SEmmanuel Vadot
318cc087a1SEmmanuel Vadot  clock-names:
328cc087a1SEmmanuel Vadot    items:
338cc087a1SEmmanuel Vadot      - const: bi_tcxo
348cc087a1SEmmanuel Vadot      - const: bi_tcxo_ao
358cc087a1SEmmanuel Vadot      - const: sleep_clk
368cc087a1SEmmanuel Vadot
378cc087a1SEmmanuel Vadot  reg:
388cc087a1SEmmanuel Vadot    maxItems: 1
398cc087a1SEmmanuel Vadot
408cc087a1SEmmanuel Vadotrequired:
418cc087a1SEmmanuel Vadot  - compatible
428cc087a1SEmmanuel Vadot  - clocks
438cc087a1SEmmanuel Vadot  - clock-names
448cc087a1SEmmanuel Vadot
45*8d13bc63SEmmanuel VadotunevaluatedProperties: false
468cc087a1SEmmanuel Vadot
478cc087a1SEmmanuel Vadotexamples:
488cc087a1SEmmanuel Vadot  - |
498cc087a1SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
508cc087a1SEmmanuel Vadot    clock-controller@ad00000 {
518cc087a1SEmmanuel Vadot      compatible = "qcom,sc7280-camcc";
528cc087a1SEmmanuel Vadot      reg = <0x0ad00000 0x10000>;
538cc087a1SEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
548cc087a1SEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
558cc087a1SEmmanuel Vadot               <&sleep_clk>;
568cc087a1SEmmanuel Vadot      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
578cc087a1SEmmanuel Vadot      #clock-cells = <1>;
588cc087a1SEmmanuel Vadot      #reset-cells = <1>;
598cc087a1SEmmanuel Vadot      #power-domain-cells = <1>;
608cc087a1SEmmanuel Vadot    };
618cc087a1SEmmanuel Vadot...
62