1f1f5a303STaniya Das# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 270d795d2SJonathan Marek%YAML 1.2 370d795d2SJonathan Marek--- 470d795d2SJonathan Marek$id: http://devicetree.org/schemas/clock/qcom,videocc.yaml# 570d795d2SJonathan Marek$schema: http://devicetree.org/meta-schemas/core.yaml# 670d795d2SJonathan Marek 7ece3c319SKrzysztof Kozlowskititle: Qualcomm Video Clock & Reset Controller 870d795d2SJonathan Marek 970d795d2SJonathan Marekmaintainers: 1070d795d2SJonathan Marek - Taniya Das <tdas@codeaurora.org> 1170d795d2SJonathan Marek 1270d795d2SJonathan Marekdescription: | 13ece3c319SKrzysztof Kozlowski Qualcomm video clock control module provides the clocks, resets and power 14ece3c319SKrzysztof Kozlowski domains on Qualcomm SoCs. 1570d795d2SJonathan Marek 16ece3c319SKrzysztof Kozlowski See also:: 17ece3c319SKrzysztof Kozlowski include/dt-bindings/clock/qcom,videocc-sc7180.h 18ece3c319SKrzysztof Kozlowski include/dt-bindings/clock/qcom,videocc-sc7280.h 19ece3c319SKrzysztof Kozlowski include/dt-bindings/clock/qcom,videocc-sdm845.h 20ece3c319SKrzysztof Kozlowski include/dt-bindings/clock/qcom,videocc-sm8150.h 21ece3c319SKrzysztof Kozlowski include/dt-bindings/clock/qcom,videocc-sm8250.h 2270d795d2SJonathan Marek 2370d795d2SJonathan Marekproperties: 2470d795d2SJonathan Marek compatible: 2570d795d2SJonathan Marek enum: 2670d795d2SJonathan Marek - qcom,sc7180-videocc 27f1f5a303STaniya Das - qcom,sc7280-videocc 2870d795d2SJonathan Marek - qcom,sdm845-videocc 29df3f61d2SJonathan Marek - qcom,sm8150-videocc 30dafb992aSJonathan Marek - qcom,sm8250-videocc 3170d795d2SJonathan Marek 3270d795d2SJonathan Marek clocks: 33*37483c26SKrzysztof Kozlowski minItems: 1 34*37483c26SKrzysztof Kozlowski maxItems: 3 3570d795d2SJonathan Marek 3670d795d2SJonathan Marek clock-names: 37*37483c26SKrzysztof Kozlowski minItems: 1 38*37483c26SKrzysztof Kozlowski maxItems: 3 3970d795d2SJonathan Marek 4070d795d2SJonathan Marek '#clock-cells': 4170d795d2SJonathan Marek const: 1 4270d795d2SJonathan Marek 4370d795d2SJonathan Marek '#reset-cells': 4470d795d2SJonathan Marek const: 1 4570d795d2SJonathan Marek 4670d795d2SJonathan Marek '#power-domain-cells': 4770d795d2SJonathan Marek const: 1 4870d795d2SJonathan Marek 4970d795d2SJonathan Marek reg: 5070d795d2SJonathan Marek maxItems: 1 5170d795d2SJonathan Marek 52a3bb8a70SDmitry Baryshkov power-domains: 53a3bb8a70SDmitry Baryshkov description: 54a3bb8a70SDmitry Baryshkov A phandle and PM domain specifier for the MMCX power domain. 55a3bb8a70SDmitry Baryshkov maxItems: 1 56a3bb8a70SDmitry Baryshkov 57a3bb8a70SDmitry Baryshkov required-opps: 58a3bb8a70SDmitry Baryshkov description: 59a3bb8a70SDmitry Baryshkov A phandle to an OPP node describing required MMCX performance point. 60a3bb8a70SDmitry Baryshkov maxItems: 1 61a3bb8a70SDmitry Baryshkov 6270d795d2SJonathan Marekrequired: 6370d795d2SJonathan Marek - compatible 6470d795d2SJonathan Marek - reg 6570d795d2SJonathan Marek - clocks 6670d795d2SJonathan Marek - clock-names 6770d795d2SJonathan Marek - '#clock-cells' 6870d795d2SJonathan Marek - '#reset-cells' 6970d795d2SJonathan Marek - '#power-domain-cells' 7070d795d2SJonathan Marek 71*37483c26SKrzysztof KozlowskiallOf: 72*37483c26SKrzysztof Kozlowski - if: 73*37483c26SKrzysztof Kozlowski properties: 74*37483c26SKrzysztof Kozlowski compatible: 75*37483c26SKrzysztof Kozlowski enum: 76*37483c26SKrzysztof Kozlowski - qcom,sc7180-videocc 77*37483c26SKrzysztof Kozlowski - qcom,sdm845-videocc 78*37483c26SKrzysztof Kozlowski - qcom,sm8150-videocc 79*37483c26SKrzysztof Kozlowski then: 80*37483c26SKrzysztof Kozlowski properties: 81*37483c26SKrzysztof Kozlowski clocks: 82*37483c26SKrzysztof Kozlowski items: 83*37483c26SKrzysztof Kozlowski - description: Board XO source 84*37483c26SKrzysztof Kozlowski clock-names: 85*37483c26SKrzysztof Kozlowski items: 86*37483c26SKrzysztof Kozlowski - const: bi_tcxo 87*37483c26SKrzysztof Kozlowski 88*37483c26SKrzysztof Kozlowski - if: 89*37483c26SKrzysztof Kozlowski properties: 90*37483c26SKrzysztof Kozlowski compatible: 91*37483c26SKrzysztof Kozlowski enum: 92*37483c26SKrzysztof Kozlowski - qcom,sc7280-videocc 93*37483c26SKrzysztof Kozlowski then: 94*37483c26SKrzysztof Kozlowski properties: 95*37483c26SKrzysztof Kozlowski clocks: 96*37483c26SKrzysztof Kozlowski items: 97*37483c26SKrzysztof Kozlowski - description: Board XO source 98*37483c26SKrzysztof Kozlowski - description: Board active XO source 99*37483c26SKrzysztof Kozlowski clock-names: 100*37483c26SKrzysztof Kozlowski items: 101*37483c26SKrzysztof Kozlowski - const: bi_tcxo 102*37483c26SKrzysztof Kozlowski - const: bi_tcxo_ao 103*37483c26SKrzysztof Kozlowski 104*37483c26SKrzysztof Kozlowski - if: 105*37483c26SKrzysztof Kozlowski properties: 106*37483c26SKrzysztof Kozlowski compatible: 107*37483c26SKrzysztof Kozlowski enum: 108*37483c26SKrzysztof Kozlowski - qcom,sm8250-videocc 109*37483c26SKrzysztof Kozlowski then: 110*37483c26SKrzysztof Kozlowski properties: 111*37483c26SKrzysztof Kozlowski clocks: 112*37483c26SKrzysztof Kozlowski items: 113*37483c26SKrzysztof Kozlowski - description: AHB 114*37483c26SKrzysztof Kozlowski - description: Board XO source 115*37483c26SKrzysztof Kozlowski - description: Board active XO source 116*37483c26SKrzysztof Kozlowski clock-names: 117*37483c26SKrzysztof Kozlowski items: 118*37483c26SKrzysztof Kozlowski - const: iface 119*37483c26SKrzysztof Kozlowski - const: bi_tcxo 120*37483c26SKrzysztof Kozlowski - const: bi_tcxo_ao 121*37483c26SKrzysztof Kozlowski 12270d795d2SJonathan MarekadditionalProperties: false 12370d795d2SJonathan Marek 12470d795d2SJonathan Marekexamples: 12570d795d2SJonathan Marek - | 12670d795d2SJonathan Marek #include <dt-bindings/clock/qcom,rpmh.h> 127a3bb8a70SDmitry Baryshkov #include <dt-bindings/power/qcom-rpmpd.h> 12870d795d2SJonathan Marek clock-controller@ab00000 { 12970d795d2SJonathan Marek compatible = "qcom,sdm845-videocc"; 13070d795d2SJonathan Marek reg = <0x0ab00000 0x10000>; 13170d795d2SJonathan Marek clocks = <&rpmhcc RPMH_CXO_CLK>; 13270d795d2SJonathan Marek clock-names = "bi_tcxo"; 13370d795d2SJonathan Marek #clock-cells = <1>; 13470d795d2SJonathan Marek #reset-cells = <1>; 13570d795d2SJonathan Marek #power-domain-cells = <1>; 136a3bb8a70SDmitry Baryshkov power-domains = <&rpmhpd SM8250_MMCX>; 137a3bb8a70SDmitry Baryshkov required-opps = <&rpmhpd_opp_low_svs>; 13870d795d2SJonathan Marek }; 13970d795d2SJonathan Marek... 140