xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,dispcc-sc8280xp.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
18bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28bab661aSEmmanuel Vadot%YAML 1.2
38bab661aSEmmanuel Vadot---
48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,dispcc-sc8280xp.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Display Clock & Reset Controller on SC8280XP
88bab661aSEmmanuel Vadot
98bab661aSEmmanuel Vadotmaintainers:
108bab661aSEmmanuel Vadot  - Bjorn Andersson <bjorn.andersson@linaro.org>
118bab661aSEmmanuel Vadot
128bab661aSEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm display clock control module which supports the clocks, resets and
148bab661aSEmmanuel Vadot  power domains for the two MDSS instances on SC8280XP.
158bab661aSEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:
178bab661aSEmmanuel Vadot    include/dt-bindings/clock/qcom,dispcc-sc8280xp.h
188bab661aSEmmanuel Vadot
198bab661aSEmmanuel Vadotproperties:
208bab661aSEmmanuel Vadot  compatible:
218bab661aSEmmanuel Vadot    enum:
228bab661aSEmmanuel Vadot      - qcom,sc8280xp-dispcc0
238bab661aSEmmanuel Vadot      - qcom,sc8280xp-dispcc1
248bab661aSEmmanuel Vadot
258bab661aSEmmanuel Vadot  clocks:
268bab661aSEmmanuel Vadot    items:
278bab661aSEmmanuel Vadot      - description: AHB interface clock,
288bab661aSEmmanuel Vadot      - description: SoC CXO clock
298bab661aSEmmanuel Vadot      - description: SoC sleep clock
308bab661aSEmmanuel Vadot      - description: DisplayPort 0 link clock
318bab661aSEmmanuel Vadot      - description: DisplayPort 0 VCO div clock
328bab661aSEmmanuel Vadot      - description: DisplayPort 1 link clock
338bab661aSEmmanuel Vadot      - description: DisplayPort 1 VCO div clock
348bab661aSEmmanuel Vadot      - description: DisplayPort 2 link clock
358bab661aSEmmanuel Vadot      - description: DisplayPort 2 VCO div clock
368bab661aSEmmanuel Vadot      - description: DisplayPort 3 link clock
378bab661aSEmmanuel Vadot      - description: DisplayPort 3 VCO div clock
388bab661aSEmmanuel Vadot      - description: DSI 0 PLL byte clock
398bab661aSEmmanuel Vadot      - description: DSI 0 PLL DSI clock
408bab661aSEmmanuel Vadot      - description: DSI 1 PLL byte clock
418bab661aSEmmanuel Vadot      - description: DSI 1 PLL DSI clock
428bab661aSEmmanuel Vadot
438bab661aSEmmanuel Vadot  power-domains:
448bab661aSEmmanuel Vadot    items:
458bab661aSEmmanuel Vadot      - description: MMCX power domain
468bab661aSEmmanuel Vadot
478bab661aSEmmanuel Vadotrequired:
488bab661aSEmmanuel Vadot  - compatible
498bab661aSEmmanuel Vadot  - clocks
508bab661aSEmmanuel Vadot  - '#power-domain-cells'
518bab661aSEmmanuel Vadot
52*0e8011faSEmmanuel VadotallOf:
53*0e8011faSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
54*0e8011faSEmmanuel Vadot
55*0e8011faSEmmanuel VadotunevaluatedProperties: false
568bab661aSEmmanuel Vadot
578bab661aSEmmanuel Vadotexamples:
588bab661aSEmmanuel Vadot  - |
598bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
608bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
618bab661aSEmmanuel Vadot    #include <dt-bindings/power/qcom-rpmpd.h>
628bab661aSEmmanuel Vadot    clock-controller@af00000 {
638bab661aSEmmanuel Vadot      compatible = "qcom,sc8280xp-dispcc0";
648bab661aSEmmanuel Vadot      reg = <0x0af00000 0x20000>;
658bab661aSEmmanuel Vadot      clocks = <&gcc GCC_DISP_AHB_CLK>,
668bab661aSEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK>,
678bab661aSEmmanuel Vadot               <&sleep_clk>,
688bab661aSEmmanuel Vadot               <&mdss0_dp_phy0 0>,
698bab661aSEmmanuel Vadot               <&mdss0_dp_phy0 1>,
708bab661aSEmmanuel Vadot               <&mdss0_dp_phy1 0>,
718bab661aSEmmanuel Vadot               <&mdss0_dp_phy1 1>,
728bab661aSEmmanuel Vadot               <&mdss0_dp_phy2 0>,
738bab661aSEmmanuel Vadot               <&mdss0_dp_phy2 1>,
748bab661aSEmmanuel Vadot               <&mdss0_dp_phy3 0>,
758bab661aSEmmanuel Vadot               <&mdss0_dp_phy3 1>,
768bab661aSEmmanuel Vadot               <&mdss0_dsi0_phy 0>,
778bab661aSEmmanuel Vadot               <&mdss0_dsi0_phy 1>,
788bab661aSEmmanuel Vadot               <&mdss0_dsi1_phy 0>,
798bab661aSEmmanuel Vadot               <&mdss0_dsi1_phy 1>;
808bab661aSEmmanuel Vadot      power-domains = <&rpmhpd SC8280XP_MMCX>;
818bab661aSEmmanuel Vadot      #clock-cells = <1>;
828bab661aSEmmanuel Vadot      #reset-cells = <1>;
838bab661aSEmmanuel Vadot      #power-domain-cells = <1>;
848bab661aSEmmanuel Vadot    };
858bab661aSEmmanuel Vadot...
86