xref: /freebsd-src/sys/contrib/device-tree/Bindings/display/msm/dsi-phy-7nm.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/display/msm/dsi-phy-7nm.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7354d7675SEmmanuel Vadottitle: Qualcomm Display DSI 7nm PHY
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - Jonathan Marek <jonathan@marek.ca>
11354d7675SEmmanuel Vadot
12354d7675SEmmanuel VadotallOf:
13354d7675SEmmanuel Vadot  - $ref: dsi-phy-common.yaml#
14354d7675SEmmanuel Vadot
15354d7675SEmmanuel Vadotproperties:
16354d7675SEmmanuel Vadot  compatible:
17354d7675SEmmanuel Vadot    enum:
18354d7675SEmmanuel Vadot      - qcom,dsi-phy-7nm
19354d7675SEmmanuel Vadot      - qcom,dsi-phy-7nm-8150
20354d7675SEmmanuel Vadot      - qcom,sc7280-dsi-phy-7nm
21cb7aa33aSEmmanuel Vadot      - qcom,sm6375-dsi-phy-7nm
22cb7aa33aSEmmanuel Vadot      - qcom,sm8350-dsi-phy-5nm
23cb7aa33aSEmmanuel Vadot      - qcom,sm8450-dsi-phy-5nm
24cb7aa33aSEmmanuel Vadot      - qcom,sm8550-dsi-phy-4nm
25*8d13bc63SEmmanuel Vadot      - qcom,sm8650-dsi-phy-4nm
26354d7675SEmmanuel Vadot
27354d7675SEmmanuel Vadot  reg:
28354d7675SEmmanuel Vadot    items:
29354d7675SEmmanuel Vadot      - description: dsi phy register set
30354d7675SEmmanuel Vadot      - description: dsi phy lane register set
31354d7675SEmmanuel Vadot      - description: dsi pll register set
32354d7675SEmmanuel Vadot
33354d7675SEmmanuel Vadot  reg-names:
34354d7675SEmmanuel Vadot    items:
35354d7675SEmmanuel Vadot      - const: dsi_phy
36354d7675SEmmanuel Vadot      - const: dsi_phy_lane
37354d7675SEmmanuel Vadot      - const: dsi_pll
38354d7675SEmmanuel Vadot
39354d7675SEmmanuel Vadot  vdds-supply:
40354d7675SEmmanuel Vadot    description: |
41354d7675SEmmanuel Vadot      Connected to VDD_A_DSI_PLL_0P9 pin (or VDDA_DSI{0,1}_PLL_0P9 for sm8150)
42354d7675SEmmanuel Vadot
43354d7675SEmmanuel Vadot  phy-type:
44354d7675SEmmanuel Vadot    description: D-PHY (default) or C-PHY mode
45354d7675SEmmanuel Vadot    enum: [ 10, 11 ]
46354d7675SEmmanuel Vadot    default: 10
47354d7675SEmmanuel Vadot
48354d7675SEmmanuel Vadotrequired:
49354d7675SEmmanuel Vadot  - compatible
50354d7675SEmmanuel Vadot  - reg
51354d7675SEmmanuel Vadot  - reg-names
52354d7675SEmmanuel Vadot
53354d7675SEmmanuel VadotunevaluatedProperties: false
54354d7675SEmmanuel Vadot
55354d7675SEmmanuel Vadotexamples:
56354d7675SEmmanuel Vadot  - |
57354d7675SEmmanuel Vadot     #include <dt-bindings/clock/qcom,dispcc-sm8250.h>
58354d7675SEmmanuel Vadot     #include <dt-bindings/clock/qcom,rpmh.h>
59354d7675SEmmanuel Vadot
60354d7675SEmmanuel Vadot     dsi-phy@ae94400 {
61354d7675SEmmanuel Vadot         compatible = "qcom,dsi-phy-7nm";
62354d7675SEmmanuel Vadot         reg = <0x0ae94400 0x200>,
63354d7675SEmmanuel Vadot               <0x0ae94600 0x280>,
64354d7675SEmmanuel Vadot               <0x0ae94900 0x260>;
65354d7675SEmmanuel Vadot         reg-names = "dsi_phy",
66354d7675SEmmanuel Vadot                     "dsi_phy_lane",
67354d7675SEmmanuel Vadot                     "dsi_pll";
68354d7675SEmmanuel Vadot
69354d7675SEmmanuel Vadot         #clock-cells = <1>;
70354d7675SEmmanuel Vadot         #phy-cells = <0>;
71354d7675SEmmanuel Vadot
72354d7675SEmmanuel Vadot         vdds-supply = <&vreg_l5a_0p88>;
73354d7675SEmmanuel Vadot         clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
74354d7675SEmmanuel Vadot                  <&rpmhcc RPMH_CXO_CLK>;
75354d7675SEmmanuel Vadot         clock-names = "iface", "ref";
76354d7675SEmmanuel Vadot     };
77