brintos

brintos / linux-shallow public Read only

0
0
Text · 3.4 KiB · 53a5ab3 Raw
124 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/qcom,dispcc-sm8x50.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Display Clock & Reset Controller on SM8150/SM8250/SM83508 9maintainers:10  - Jonathan Marek <jonathan@marek.ca>11 12description: |13  Qualcomm display clock control module provides the clocks, resets and power14  domains on SM8150/SM8250/SM8350.15 16  See also::17    include/dt-bindings/clock/qcom,dispcc-sm8150.h18    include/dt-bindings/clock/qcom,dispcc-sm8250.h19    include/dt-bindings/clock/qcom,dispcc-sm8350.h20 21properties:22  compatible:23    enum:24      - qcom,sc8180x-dispcc25      - qcom,sm8150-dispcc26      - qcom,sm8250-dispcc27      - qcom,sm8350-dispcc28 29  clocks:30    minItems: 731    items:32      - description: Board XO source33      - description: Byte clock from DSI PHY034      - description: Pixel clock from DSI PHY035      - description: Byte clock from DSI PHY136      - description: Pixel clock from DSI PHY137      - description: Link clock from DP PHY38      - description: VCO DIV clock from DP PHY39      - description: Link clock from eDP PHY40      - description: VCO DIV clock from eDP PHY41      - description: Link clock from DP1 PHY42      - description: VCO DIV clock from DP1 PHY43      - description: Link clock from DP2 PHY44      - description: VCO DIV clock from DP2 PHY45 46  clock-names:47    minItems: 748    items:49      - const: bi_tcxo50      - const: dsi0_phy_pll_out_byteclk51      - const: dsi0_phy_pll_out_dsiclk52      - const: dsi1_phy_pll_out_byteclk53      - const: dsi1_phy_pll_out_dsiclk54      - const: dp_phy_pll_link_clk55      - const: dp_phy_pll_vco_div_clk56      - const: edp_phy_pll_link_clk57      - const: edp_phy_pll_vco_div_clk58      - const: dptx1_phy_pll_link_clk59      - const: dptx1_phy_pll_vco_div_clk60      - const: dptx2_phy_pll_link_clk61      - const: dptx2_phy_pll_vco_div_clk62 63  power-domains:64    description:65      A phandle and PM domain specifier for the MMCX power domain.66    maxItems: 167 68  required-opps:69    description:70      A phandle to an OPP node describing required MMCX performance point.71    maxItems: 172 73required:74  - compatible75  - clocks76  - clock-names77  - '#power-domain-cells'78 79allOf:80  - $ref: qcom,gcc.yaml#81  - if:82      not:83        properties:84          compatible:85            contains:86              const: qcom,sc8180x-dispcc87    then:88      properties:89        clocks:90          maxItems: 791        clock-names:92          maxItems: 793 94unevaluatedProperties: false95 96examples:97  - |98    #include <dt-bindings/clock/qcom,rpmh.h>99    #include <dt-bindings/power/qcom,rpmhpd.h>100    clock-controller@af00000 {101      compatible = "qcom,sm8250-dispcc";102      reg = <0x0af00000 0x10000>;103      clocks = <&rpmhcc RPMH_CXO_CLK>,104               <&dsi0_phy 0>,105               <&dsi0_phy 1>,106               <&dsi1_phy 0>,107               <&dsi1_phy 1>,108               <&dp_phy 0>,109               <&dp_phy 1>;110      clock-names = "bi_tcxo",111                    "dsi0_phy_pll_out_byteclk",112                    "dsi0_phy_pll_out_dsiclk",113                    "dsi1_phy_pll_out_byteclk",114                    "dsi1_phy_pll_out_dsiclk",115                    "dp_phy_pll_link_clk",116                    "dp_phy_pll_vco_div_clk";117      #clock-cells = <1>;118      #reset-cells = <1>;119      #power-domain-cells = <1>;120      power-domains = <&rpmhpd RPMHPD_MMCX>;121      required-opps = <&rpmhpd_opp_low_svs>;122    };123...124