16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,dispcc-sm8x50.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Qualcomm Display Clock & Reset Controller on SM8150/SM8250/SM8350 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Jonathan Marek <jonathan@marek.ca> 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadotdescription: | 138bab661aSEmmanuel Vadot Qualcomm display clock control module provides the clocks, resets and power 148bab661aSEmmanuel Vadot domains on SM8150/SM8250/SM8350. 156be33864SEmmanuel Vadot 168bab661aSEmmanuel Vadot See also:: 178bab661aSEmmanuel Vadot include/dt-bindings/clock/qcom,dispcc-sm8150.h 188bab661aSEmmanuel Vadot include/dt-bindings/clock/qcom,dispcc-sm8250.h 198bab661aSEmmanuel Vadot include/dt-bindings/clock/qcom,dispcc-sm8350.h 206be33864SEmmanuel Vadot 216be33864SEmmanuel Vadotproperties: 226be33864SEmmanuel Vadot compatible: 236be33864SEmmanuel Vadot enum: 245956d97fSEmmanuel Vadot - qcom,sc8180x-dispcc 256be33864SEmmanuel Vadot - qcom,sm8150-dispcc 266be33864SEmmanuel Vadot - qcom,sm8250-dispcc 27b97ee269SEmmanuel Vadot - qcom,sm8350-dispcc 286be33864SEmmanuel Vadot 296be33864SEmmanuel Vadot clocks: 30*0e8011faSEmmanuel Vadot minItems: 7 316be33864SEmmanuel Vadot items: 326be33864SEmmanuel Vadot - description: Board XO source 336be33864SEmmanuel Vadot - description: Byte clock from DSI PHY0 346be33864SEmmanuel Vadot - description: Pixel clock from DSI PHY0 356be33864SEmmanuel Vadot - description: Byte clock from DSI PHY1 366be33864SEmmanuel Vadot - description: Pixel clock from DSI PHY1 376be33864SEmmanuel Vadot - description: Link clock from DP PHY 386be33864SEmmanuel Vadot - description: VCO DIV clock from DP PHY 39*0e8011faSEmmanuel Vadot - description: Link clock from eDP PHY 40*0e8011faSEmmanuel Vadot - description: VCO DIV clock from eDP PHY 41*0e8011faSEmmanuel Vadot - description: Link clock from DP1 PHY 42*0e8011faSEmmanuel Vadot - description: VCO DIV clock from DP1 PHY 43*0e8011faSEmmanuel Vadot - description: Link clock from DP2 PHY 44*0e8011faSEmmanuel Vadot - description: VCO DIV clock from DP2 PHY 456be33864SEmmanuel Vadot 466be33864SEmmanuel Vadot clock-names: 47*0e8011faSEmmanuel Vadot minItems: 7 486be33864SEmmanuel Vadot items: 496be33864SEmmanuel Vadot - const: bi_tcxo 506be33864SEmmanuel Vadot - const: dsi0_phy_pll_out_byteclk 516be33864SEmmanuel Vadot - const: dsi0_phy_pll_out_dsiclk 526be33864SEmmanuel Vadot - const: dsi1_phy_pll_out_byteclk 536be33864SEmmanuel Vadot - const: dsi1_phy_pll_out_dsiclk 546be33864SEmmanuel Vadot - const: dp_phy_pll_link_clk 556be33864SEmmanuel Vadot - const: dp_phy_pll_vco_div_clk 56*0e8011faSEmmanuel Vadot - const: edp_phy_pll_link_clk 57*0e8011faSEmmanuel Vadot - const: edp_phy_pll_vco_div_clk 58*0e8011faSEmmanuel Vadot - const: dptx1_phy_pll_link_clk 59*0e8011faSEmmanuel Vadot - const: dptx1_phy_pll_vco_div_clk 60*0e8011faSEmmanuel Vadot - const: dptx2_phy_pll_link_clk 61*0e8011faSEmmanuel Vadot - const: dptx2_phy_pll_vco_div_clk 626be33864SEmmanuel Vadot 638cc087a1SEmmanuel Vadot power-domains: 648cc087a1SEmmanuel Vadot description: 658cc087a1SEmmanuel Vadot A phandle and PM domain specifier for the MMCX power domain. 668cc087a1SEmmanuel Vadot maxItems: 1 678cc087a1SEmmanuel Vadot 688cc087a1SEmmanuel Vadot required-opps: 698cc087a1SEmmanuel Vadot description: 708cc087a1SEmmanuel Vadot A phandle to an OPP node describing required MMCX performance point. 718cc087a1SEmmanuel Vadot maxItems: 1 728cc087a1SEmmanuel Vadot 736be33864SEmmanuel Vadotrequired: 746be33864SEmmanuel Vadot - compatible 756be33864SEmmanuel Vadot - clocks 766be33864SEmmanuel Vadot - clock-names 776be33864SEmmanuel Vadot - '#power-domain-cells' 786be33864SEmmanuel Vadot 79*0e8011faSEmmanuel VadotallOf: 80*0e8011faSEmmanuel Vadot - $ref: qcom,gcc.yaml# 81*0e8011faSEmmanuel Vadot - if: 82*0e8011faSEmmanuel Vadot not: 83*0e8011faSEmmanuel Vadot properties: 84*0e8011faSEmmanuel Vadot compatible: 85*0e8011faSEmmanuel Vadot contains: 86*0e8011faSEmmanuel Vadot const: qcom,sc8180x-dispcc 87*0e8011faSEmmanuel Vadot then: 88*0e8011faSEmmanuel Vadot properties: 89*0e8011faSEmmanuel Vadot clocks: 90*0e8011faSEmmanuel Vadot maxItems: 7 91*0e8011faSEmmanuel Vadot clock-names: 92*0e8011faSEmmanuel Vadot maxItems: 7 93*0e8011faSEmmanuel Vadot 94*0e8011faSEmmanuel VadotunevaluatedProperties: false 956be33864SEmmanuel Vadot 966be33864SEmmanuel Vadotexamples: 976be33864SEmmanuel Vadot - | 986be33864SEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmh.h> 99aa1a8ff2SEmmanuel Vadot #include <dt-bindings/power/qcom,rpmhpd.h> 1006be33864SEmmanuel Vadot clock-controller@af00000 { 1016be33864SEmmanuel Vadot compatible = "qcom,sm8250-dispcc"; 1026be33864SEmmanuel Vadot reg = <0x0af00000 0x10000>; 1036be33864SEmmanuel Vadot clocks = <&rpmhcc RPMH_CXO_CLK>, 1046be33864SEmmanuel Vadot <&dsi0_phy 0>, 1056be33864SEmmanuel Vadot <&dsi0_phy 1>, 1066be33864SEmmanuel Vadot <&dsi1_phy 0>, 1076be33864SEmmanuel Vadot <&dsi1_phy 1>, 1086be33864SEmmanuel Vadot <&dp_phy 0>, 1096be33864SEmmanuel Vadot <&dp_phy 1>; 1106be33864SEmmanuel Vadot clock-names = "bi_tcxo", 1116be33864SEmmanuel Vadot "dsi0_phy_pll_out_byteclk", 1126be33864SEmmanuel Vadot "dsi0_phy_pll_out_dsiclk", 1136be33864SEmmanuel Vadot "dsi1_phy_pll_out_byteclk", 1146be33864SEmmanuel Vadot "dsi1_phy_pll_out_dsiclk", 1156be33864SEmmanuel Vadot "dp_phy_pll_link_clk", 1166be33864SEmmanuel Vadot "dp_phy_pll_vco_div_clk"; 1176be33864SEmmanuel Vadot #clock-cells = <1>; 1186be33864SEmmanuel Vadot #reset-cells = <1>; 1196be33864SEmmanuel Vadot #power-domain-cells = <1>; 120aa1a8ff2SEmmanuel Vadot power-domains = <&rpmhpd RPMHPD_MMCX>; 1218cc087a1SEmmanuel Vadot required-opps = <&rpmhpd_opp_low_svs>; 1226be33864SEmmanuel Vadot }; 1236be33864SEmmanuel Vadot... 124