xref: /freebsd/sys/contrib/device-tree/Bindings/display/msm/dsi-phy-28nm.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25956d97fSEmmanuel Vadot%YAML 1.2
35956d97fSEmmanuel Vadot---
45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/msm/dsi-phy-28nm.yaml#
55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65956d97fSEmmanuel Vadot
75956d97fSEmmanuel Vadottitle: Qualcomm Display DSI 28nm PHY
85956d97fSEmmanuel Vadot
95956d97fSEmmanuel Vadotmaintainers:
10d5b0e70fSEmmanuel Vadot  - Krishna Manikandan <quic_mkrishn@quicinc.com>
115956d97fSEmmanuel Vadot
125956d97fSEmmanuel VadotallOf:
135956d97fSEmmanuel Vadot  - $ref: dsi-phy-common.yaml#
145956d97fSEmmanuel Vadot
155956d97fSEmmanuel Vadotproperties:
165956d97fSEmmanuel Vadot  compatible:
17354d7675SEmmanuel Vadot    enum:
18f126890aSEmmanuel Vadot      - qcom,dsi-phy-28nm-8226
19*0e8011faSEmmanuel Vadot      - qcom,dsi-phy-28nm-8937
20f126890aSEmmanuel Vadot      - qcom,dsi-phy-28nm-8960
21354d7675SEmmanuel Vadot      - qcom,dsi-phy-28nm-hpm
22cb7aa33aSEmmanuel Vadot      - qcom,dsi-phy-28nm-hpm-fam-b
23354d7675SEmmanuel Vadot      - qcom,dsi-phy-28nm-lp
245956d97fSEmmanuel Vadot
255956d97fSEmmanuel Vadot  reg:
265956d97fSEmmanuel Vadot    items:
275956d97fSEmmanuel Vadot      - description: dsi pll register set
285956d97fSEmmanuel Vadot      - description: dsi phy register set
295956d97fSEmmanuel Vadot      - description: dsi phy regulator register set
305956d97fSEmmanuel Vadot
315956d97fSEmmanuel Vadot  reg-names:
325956d97fSEmmanuel Vadot    items:
335956d97fSEmmanuel Vadot      - const: dsi_pll
345956d97fSEmmanuel Vadot      - const: dsi_phy
355956d97fSEmmanuel Vadot      - const: dsi_phy_regulator
365956d97fSEmmanuel Vadot
375956d97fSEmmanuel Vadot  vddio-supply:
385956d97fSEmmanuel Vadot    description: Phandle to vdd-io regulator device node.
395956d97fSEmmanuel Vadot
408bab661aSEmmanuel Vadot  qcom,dsi-phy-regulator-ldo-mode:
418bab661aSEmmanuel Vadot    type: boolean
428bab661aSEmmanuel Vadot    description: Indicates if the LDO mode PHY regulator is wanted.
438bab661aSEmmanuel Vadot
445956d97fSEmmanuel Vadotrequired:
455956d97fSEmmanuel Vadot  - compatible
465956d97fSEmmanuel Vadot  - reg
475956d97fSEmmanuel Vadot  - reg-names
485956d97fSEmmanuel Vadot  - vddio-supply
495956d97fSEmmanuel Vadot
505956d97fSEmmanuel VadotunevaluatedProperties: false
515956d97fSEmmanuel Vadot
525956d97fSEmmanuel Vadotexamples:
535956d97fSEmmanuel Vadot  - |
545956d97fSEmmanuel Vadot     #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
555956d97fSEmmanuel Vadot     #include <dt-bindings/clock/qcom,rpmh.h>
565956d97fSEmmanuel Vadot
575956d97fSEmmanuel Vadot     dsi-phy@fd922a00 {
585956d97fSEmmanuel Vadot         compatible = "qcom,dsi-phy-28nm-lp";
595956d97fSEmmanuel Vadot         reg = <0xfd922a00 0xd4>,
605956d97fSEmmanuel Vadot               <0xfd922b00 0x2b0>,
615956d97fSEmmanuel Vadot               <0xfd922d80 0x7b>;
625956d97fSEmmanuel Vadot         reg-names = "dsi_pll",
635956d97fSEmmanuel Vadot                     "dsi_phy",
645956d97fSEmmanuel Vadot                     "dsi_phy_regulator";
655956d97fSEmmanuel Vadot
665956d97fSEmmanuel Vadot         #clock-cells = <1>;
675956d97fSEmmanuel Vadot         #phy-cells = <0>;
685956d97fSEmmanuel Vadot
695956d97fSEmmanuel Vadot         vddio-supply = <&vddio_reg>;
705956d97fSEmmanuel Vadot
715956d97fSEmmanuel Vadot         clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
725956d97fSEmmanuel Vadot                  <&rpmhcc RPMH_CXO_CLK>;
735956d97fSEmmanuel Vadot         clock-names = "iface", "ref";
745956d97fSEmmanuel Vadot     };
755956d97fSEmmanuel Vadot...
76