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-camcc.yaml# 55f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65f62a964SEmmanuel Vadot 75f62a964SEmmanuel Vadottitle: Qualcomm Camera Clock & Reset Controller on SA8775P 85f62a964SEmmanuel Vadot 95f62a964SEmmanuel Vadotmaintainers: 105f62a964SEmmanuel Vadot - Taniya Das <quic_tdas@quicinc.com> 11*2846c905SEmmanuel Vadot - Imran Shaik <quic_imrashai@quicinc.com> 125f62a964SEmmanuel Vadot 135f62a964SEmmanuel Vadotdescription: | 145f62a964SEmmanuel Vadot Qualcomm camera clock control module provides the clocks, resets and power 155f62a964SEmmanuel Vadot domains on SA8775p. 165f62a964SEmmanuel Vadot 17*2846c905SEmmanuel Vadot See also: 18*2846c905SEmmanuel Vadot include/dt-bindings/clock/qcom,qcs8300-camcc.h 19*2846c905SEmmanuel Vadot include/dt-bindings/clock/qcom,sa8775p-camcc.h 205f62a964SEmmanuel Vadot 215f62a964SEmmanuel Vadotproperties: 225f62a964SEmmanuel Vadot compatible: 235f62a964SEmmanuel Vadot enum: 24*2846c905SEmmanuel Vadot - qcom,qcs8300-camcc 255f62a964SEmmanuel Vadot - qcom,sa8775p-camcc 265f62a964SEmmanuel Vadot 275f62a964SEmmanuel Vadot clocks: 285f62a964SEmmanuel Vadot items: 295f62a964SEmmanuel Vadot - description: Camera AHB clock from GCC 305f62a964SEmmanuel Vadot - description: Board XO source 315f62a964SEmmanuel Vadot - description: Board active XO source 325f62a964SEmmanuel Vadot - description: Sleep clock source 335f62a964SEmmanuel Vadot 345f62a964SEmmanuel Vadot power-domains: 355f62a964SEmmanuel Vadot maxItems: 1 365f62a964SEmmanuel Vadot description: MMCX power domain 375f62a964SEmmanuel Vadot 385f62a964SEmmanuel Vadotrequired: 395f62a964SEmmanuel Vadot - compatible 405f62a964SEmmanuel Vadot - clocks 415f62a964SEmmanuel Vadot - power-domains 425f62a964SEmmanuel Vadot - '#power-domain-cells' 435f62a964SEmmanuel Vadot 445f62a964SEmmanuel VadotallOf: 455f62a964SEmmanuel Vadot - $ref: qcom,gcc.yaml# 465f62a964SEmmanuel Vadot 475f62a964SEmmanuel VadotunevaluatedProperties: false 485f62a964SEmmanuel Vadot 495f62a964SEmmanuel Vadotexamples: 505f62a964SEmmanuel Vadot - | 515f62a964SEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmh.h> 525f62a964SEmmanuel Vadot #include <dt-bindings/power/qcom-rpmpd.h> 535f62a964SEmmanuel Vadot #include <dt-bindings/clock/qcom,sa8775p-gcc.h> 545f62a964SEmmanuel Vadot clock-controller@ade0000 { 555f62a964SEmmanuel Vadot compatible = "qcom,sa8775p-camcc"; 565f62a964SEmmanuel Vadot reg = <0x0ade0000 0x20000>; 575f62a964SEmmanuel Vadot clocks = <&gcc GCC_CAMERA_AHB_CLK>, 585f62a964SEmmanuel Vadot <&rpmhcc RPMH_CXO_CLK>, 595f62a964SEmmanuel Vadot <&rpmhcc RPMH_CXO_CLK_A>, 605f62a964SEmmanuel Vadot <&sleep_clk>; 615f62a964SEmmanuel Vadot power-domains = <&rpmhpd SA8775P_MMCX>; 625f62a964SEmmanuel Vadot #clock-cells = <1>; 635f62a964SEmmanuel Vadot #reset-cells = <1>; 645f62a964SEmmanuel Vadot #power-domain-cells = <1>; 655f62a964SEmmanuel Vadot }; 665f62a964SEmmanuel Vadot... 67