1f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2f126890aSEmmanuel Vadot%YAML 1.2 3f126890aSEmmanuel Vadot--- 4f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm8450-videocc.yaml# 5f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadottitle: Qualcomm Video Clock & Reset Controller on SM8450 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadotmaintainers: 10f126890aSEmmanuel Vadot - Taniya Das <quic_tdas@quicinc.com> 110e8011faSEmmanuel Vadot - Jagadeesh Kona <quic_jkona@quicinc.com> 12f126890aSEmmanuel Vadot 13f126890aSEmmanuel Vadotdescription: | 14f126890aSEmmanuel Vadot Qualcomm video clock control module provides the clocks, resets and power 15f126890aSEmmanuel Vadot domains on SM8450. 16f126890aSEmmanuel Vadot 170e8011faSEmmanuel Vadot See also: 180e8011faSEmmanuel Vadot include/dt-bindings/clock/qcom,sm8450-videocc.h 190e8011faSEmmanuel Vadot include/dt-bindings/clock/qcom,sm8650-videocc.h 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadotproperties: 22f126890aSEmmanuel Vadot compatible: 23f126890aSEmmanuel Vadot enum: 24f126890aSEmmanuel Vadot - qcom,sm8450-videocc 25f126890aSEmmanuel Vadot - qcom,sm8550-videocc 260e8011faSEmmanuel Vadot - qcom,sm8650-videocc 27f126890aSEmmanuel Vadot 28f126890aSEmmanuel Vadot clocks: 29f126890aSEmmanuel Vadot items: 30f126890aSEmmanuel Vadot - description: Board XO source 31f126890aSEmmanuel Vadot - description: Video AHB clock from GCC 32f126890aSEmmanuel Vadot 33f126890aSEmmanuel Vadot power-domains: 34f126890aSEmmanuel Vadot maxItems: 1 35f126890aSEmmanuel Vadot description: 36f126890aSEmmanuel Vadot MMCX power domain. 37f126890aSEmmanuel Vadot 38f126890aSEmmanuel Vadot required-opps: 39f126890aSEmmanuel Vadot maxItems: 1 40f126890aSEmmanuel Vadot description: 41f126890aSEmmanuel Vadot A phandle to an OPP node describing required MMCX performance point. 42f126890aSEmmanuel Vadot 43f126890aSEmmanuel Vadotrequired: 44f126890aSEmmanuel Vadot - compatible 45f126890aSEmmanuel Vadot - clocks 46f126890aSEmmanuel Vadot - power-domains 47f126890aSEmmanuel Vadot - '#power-domain-cells' 48f126890aSEmmanuel Vadot 490e8011faSEmmanuel VadotallOf: 500e8011faSEmmanuel Vadot - $ref: qcom,gcc.yaml# 51*b2d2a78aSEmmanuel Vadot - if: 52*b2d2a78aSEmmanuel Vadot properties: 53*b2d2a78aSEmmanuel Vadot compatible: 54*b2d2a78aSEmmanuel Vadot contains: 55*b2d2a78aSEmmanuel Vadot enum: 56*b2d2a78aSEmmanuel Vadot - qcom,sm8450-videocc 57*b2d2a78aSEmmanuel Vadot - qcom,sm8550-videocc 58*b2d2a78aSEmmanuel Vadot then: 59*b2d2a78aSEmmanuel Vadot required: 60*b2d2a78aSEmmanuel Vadot - required-opps 610e8011faSEmmanuel Vadot 620e8011faSEmmanuel VadotunevaluatedProperties: false 63f126890aSEmmanuel Vadot 64f126890aSEmmanuel Vadotexamples: 65f126890aSEmmanuel Vadot - | 66f126890aSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-sm8450.h> 67f126890aSEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmh.h> 68aa1a8ff2SEmmanuel Vadot #include <dt-bindings/power/qcom,rpmhpd.h> 69f126890aSEmmanuel Vadot videocc: clock-controller@aaf0000 { 70f126890aSEmmanuel Vadot compatible = "qcom,sm8450-videocc"; 71f126890aSEmmanuel Vadot reg = <0x0aaf0000 0x10000>; 72f126890aSEmmanuel Vadot clocks = <&rpmhcc RPMH_CXO_CLK>, 73f126890aSEmmanuel Vadot <&gcc GCC_VIDEO_AHB_CLK>; 74aa1a8ff2SEmmanuel Vadot power-domains = <&rpmhpd RPMHPD_MMCX>; 75f126890aSEmmanuel Vadot required-opps = <&rpmhpd_opp_low_svs>; 76f126890aSEmmanuel Vadot #clock-cells = <1>; 77f126890aSEmmanuel Vadot #reset-cells = <1>; 78f126890aSEmmanuel Vadot #power-domain-cells = <1>; 79f126890aSEmmanuel Vadot }; 80f126890aSEmmanuel Vadot... 81