xref: /linux/Documentation/devicetree/bindings/clock/qcom,x1e80100-camcc.yaml (revision 1260ed77798502de9c98020040d2995008de10cc)
17ec95ff9SBryan O'Donoghue# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
27ec95ff9SBryan O'Donoghue%YAML 1.2
37ec95ff9SBryan O'Donoghue---
47ec95ff9SBryan O'Donoghue$id: http://devicetree.org/schemas/clock/qcom,x1e80100-camcc.yaml#
57ec95ff9SBryan O'Donoghue$schema: http://devicetree.org/meta-schemas/core.yaml#
67ec95ff9SBryan O'Donoghue
77ec95ff9SBryan O'Donoghuetitle: Qualcomm Camera Clock & Reset Controller on x1e80100
87ec95ff9SBryan O'Donoghue
97ec95ff9SBryan O'Donoghuemaintainers:
107ec95ff9SBryan O'Donoghue  - Bryan O'Donoghue <bryan.odonoghue@linaro.org>
117ec95ff9SBryan O'Donoghue
127ec95ff9SBryan O'Donoghuedescription: |
137ec95ff9SBryan O'Donoghue  Qualcomm camera clock control module provides the clocks, resets and power
147ec95ff9SBryan O'Donoghue  domains on x1e80100.
157ec95ff9SBryan O'Donoghue
167ec95ff9SBryan O'Donoghue  See also:
177ec95ff9SBryan O'Donoghue    include/dt-bindings/clock/qcom,x1e80100-camcc.h
187ec95ff9SBryan O'Donoghue
197ec95ff9SBryan O'DonoghueallOf:
207ec95ff9SBryan O'Donoghue  - $ref: qcom,gcc.yaml#
217ec95ff9SBryan O'Donoghue
227ec95ff9SBryan O'Donoghueproperties:
237ec95ff9SBryan O'Donoghue  compatible:
247ec95ff9SBryan O'Donoghue    enum:
257ec95ff9SBryan O'Donoghue      - qcom,x1e80100-camcc
267ec95ff9SBryan O'Donoghue
277ec95ff9SBryan O'Donoghue  reg:
287ec95ff9SBryan O'Donoghue    maxItems: 1
297ec95ff9SBryan O'Donoghue
307ec95ff9SBryan O'Donoghue  clocks:
317ec95ff9SBryan O'Donoghue    items:
327ec95ff9SBryan O'Donoghue      - description: Camera AHB clock from GCC
337ec95ff9SBryan O'Donoghue      - description: Board XO source
347ec95ff9SBryan O'Donoghue      - description: Board active XO source
357ec95ff9SBryan O'Donoghue      - description: Sleep clock source
367ec95ff9SBryan O'Donoghue
377ec95ff9SBryan O'Donoghue  power-domains:
387ec95ff9SBryan O'Donoghue    items:
397ec95ff9SBryan O'Donoghue      - description: A phandle to the MXC power-domain
407ec95ff9SBryan O'Donoghue      - description: A phandle to the MMCX power-domain
417ec95ff9SBryan O'Donoghue
427ec95ff9SBryan O'Donoghue  required-opps:
43*d547913eSVladimir Zapolskiy    items:
44*d547913eSVladimir Zapolskiy      - description: A phandle to an OPP node describing MXC performance points
45*d547913eSVladimir Zapolskiy      - description: A phandle to an OPP node describing MMCX performance points
467ec95ff9SBryan O'Donoghue
477ec95ff9SBryan O'Donoghuerequired:
487ec95ff9SBryan O'Donoghue  - compatible
497ec95ff9SBryan O'Donoghue  - clocks
507ec95ff9SBryan O'Donoghue  - power-domains
517ec95ff9SBryan O'Donoghue  - required-opps
527ec95ff9SBryan O'Donoghue
537ec95ff9SBryan O'DonoghueunevaluatedProperties: false
547ec95ff9SBryan O'Donoghue
557ec95ff9SBryan O'Donoghueexamples:
567ec95ff9SBryan O'Donoghue  - |
577ec95ff9SBryan O'Donoghue    #include <dt-bindings/clock/qcom,x1e80100-gcc.h>
587ec95ff9SBryan O'Donoghue    #include <dt-bindings/clock/qcom,rpmh.h>
597ec95ff9SBryan O'Donoghue    #include <dt-bindings/power/qcom,rpmhpd.h>
607ec95ff9SBryan O'Donoghue    clock-controller@ade0000 {
617ec95ff9SBryan O'Donoghue      compatible = "qcom,x1e80100-camcc";
627ec95ff9SBryan O'Donoghue      reg = <0xade0000 0x20000>;
637ec95ff9SBryan O'Donoghue      clocks = <&gcc GCC_CAMERA_AHB_CLK>,
647ec95ff9SBryan O'Donoghue               <&rpmhcc RPMH_CXO_CLK>,
657ec95ff9SBryan O'Donoghue               <&rpmhcc RPMH_CXO_CLK_A>,
667ec95ff9SBryan O'Donoghue               <&sleep_clk>;
677ec95ff9SBryan O'Donoghue      power-domains = <&rpmhpd RPMHPD_MXC>,
687ec95ff9SBryan O'Donoghue                      <&rpmhpd RPMHPD_MMCX>;
69*d547913eSVladimir Zapolskiy      required-opps = <&rpmhpd_opp_low_svs>,
70*d547913eSVladimir Zapolskiy                      <&rpmhpd_opp_low_svs>;
717ec95ff9SBryan O'Donoghue      #clock-cells = <1>;
727ec95ff9SBryan O'Donoghue      #reset-cells = <1>;
737ec95ff9SBryan O'Donoghue      #power-domain-cells = <1>;
747ec95ff9SBryan O'Donoghue    };
757ec95ff9SBryan O'Donoghue...
76