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 - Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com> 127ec95ff9SBryan O'Donoghue 137ec95ff9SBryan O'Donoghuedescription: | 147ec95ff9SBryan O'Donoghue Qualcomm camera clock control module provides the clocks, resets and power 157ec95ff9SBryan O'Donoghue domains on x1e80100. 167ec95ff9SBryan O'Donoghue 177ec95ff9SBryan O'Donoghue See also: 187ec95ff9SBryan O'Donoghue include/dt-bindings/clock/qcom,glymur-camcc.h 197ec95ff9SBryan O'Donoghue include/dt-bindings/clock/qcom,x1e80100-camcc.h 207ec95ff9SBryan O'Donoghue 217ec95ff9SBryan O'DonoghueallOf: 227ec95ff9SBryan O'Donoghue - $ref: qcom,gcc.yaml# 237ec95ff9SBryan O'Donoghue 247ec95ff9SBryan O'Donoghueproperties: 257ec95ff9SBryan O'Donoghue compatible: 26*97a5e120SJagadeesh Kona enum: 277ec95ff9SBryan O'Donoghue - qcom,glymur-camcc 287ec95ff9SBryan O'Donoghue - qcom,x1e80100-camcc 297ec95ff9SBryan O'Donoghue - qcom,x1p42100-camcc 307ec95ff9SBryan O'Donoghue 317ec95ff9SBryan O'Donoghue reg: 327ec95ff9SBryan O'Donoghue maxItems: 1 337ec95ff9SBryan O'Donoghue 347ec95ff9SBryan O'Donoghue clocks: 357ec95ff9SBryan O'Donoghue items: 367ec95ff9SBryan O'Donoghue - description: Camera AHB clock from GCC 377ec95ff9SBryan O'Donoghue - description: Board XO source 387ec95ff9SBryan O'Donoghue - description: Board active XO source 397ec95ff9SBryan O'Donoghue - description: Sleep clock source 407ec95ff9SBryan O'Donoghue 417ec95ff9SBryan O'Donoghue power-domains: 427ec95ff9SBryan O'Donoghue items: 437ec95ff9SBryan O'Donoghue - description: A phandle to the MXC power-domain 44d547913eSVladimir Zapolskiy - description: A phandle to the MMCX power-domain 45d547913eSVladimir Zapolskiy 46d547913eSVladimir Zapolskiy required-opps: 477ec95ff9SBryan O'Donoghue items: 487ec95ff9SBryan O'Donoghue - description: A phandle to an OPP node describing MXC performance points 497ec95ff9SBryan O'Donoghue - description: A phandle to an OPP node describing MMCX performance points 507ec95ff9SBryan O'Donoghue 517ec95ff9SBryan O'Donoghuerequired: 527ec95ff9SBryan O'Donoghue - compatible 537ec95ff9SBryan O'Donoghue - clocks 547ec95ff9SBryan O'Donoghue - power-domains 557ec95ff9SBryan O'Donoghue - required-opps 567ec95ff9SBryan O'Donoghue 577ec95ff9SBryan O'DonoghueunevaluatedProperties: false 587ec95ff9SBryan O'Donoghue 597ec95ff9SBryan O'Donoghueexamples: 607ec95ff9SBryan O'Donoghue - | 617ec95ff9SBryan O'Donoghue #include <dt-bindings/clock/qcom,x1e80100-gcc.h> 627ec95ff9SBryan O'Donoghue #include <dt-bindings/clock/qcom,rpmh.h> 637ec95ff9SBryan O'Donoghue #include <dt-bindings/power/qcom,rpmhpd.h> 647ec95ff9SBryan O'Donoghue clock-controller@ade0000 { 657ec95ff9SBryan O'Donoghue compatible = "qcom,x1e80100-camcc"; 667ec95ff9SBryan O'Donoghue reg = <0xade0000 0x20000>; 677ec95ff9SBryan O'Donoghue clocks = <&gcc GCC_CAMERA_AHB_CLK>, 687ec95ff9SBryan O'Donoghue <&rpmhcc RPMH_CXO_CLK>, 697ec95ff9SBryan O'Donoghue <&rpmhcc RPMH_CXO_CLK_A>, 70d547913eSVladimir Zapolskiy <&sleep_clk>; 71d547913eSVladimir Zapolskiy power-domains = <&rpmhpd RPMHPD_MXC>, 727ec95ff9SBryan O'Donoghue <&rpmhpd RPMHPD_MMCX>; 737ec95ff9SBryan O'Donoghue required-opps = <&rpmhpd_opp_low_svs>, 747ec95ff9SBryan O'Donoghue <&rpmhpd_opp_low_svs>; 757ec95ff9SBryan O'Donoghue #clock-cells = <1>; 767ec95ff9SBryan O'Donoghue #reset-cells = <1>; 77 #power-domain-cells = <1>; 78 }; 79... 80