| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/msm/dsi-phy-7nm.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm Display DSI 7nm PHY |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Jonathan Marek <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: dsi-phy-common.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
oneOf: |
| 18 |
- items: |
| 19 |
- enum: |
| 20 |
- qcom,dsi-phy-7nm |
| 21 |
- qcom,dsi-phy-7nm-8150 |
| 22 |
- qcom,kaanapali-dsi-phy-3nm |
| 23 |
- qcom,sa8775p-dsi-phy-5nm |
| 24 |
- qcom,sar2130p-dsi-phy-5nm |
| 25 |
- qcom,sc7280-dsi-phy-7nm |
| 26 |
- qcom,sm6375-dsi-phy-7nm |
| 27 |
- qcom,sm8350-dsi-phy-5nm |
| 28 |
- qcom,sm8450-dsi-phy-5nm |
| 29 |
- qcom,sm8550-dsi-phy-4nm |
| 30 |
- qcom,sm8650-dsi-phy-4nm |
| 31 |
- qcom,sm8750-dsi-phy-3nm |
| 32 |
- items: |
| 33 |
- enum: |
| 34 |
- qcom,qcs8300-dsi-phy-5nm |
| 35 |
- const: qcom,sa8775p-dsi-phy-5nm |
| 36 |
|
| 37 |
reg: |
| 38 |
items: |
| 39 |
- description: dsi phy register set |
| 40 |
- description: dsi phy lane register set |
| 41 |
- description: dsi pll register set |
| 42 |
|
| 43 |
reg-names: |
| 44 |
items: |
| 45 |
- const: dsi_phy |
| 46 |
- const: dsi_phy_lane |
| 47 |
- const: dsi_pll |
| 48 |
|
| 49 |
vdds-supply: |
| 50 |
description: | |
| 51 |
Connected to VDD_A_DSI_PLL_0P9 pin (or VDDA_DSI{0,1}_PLL_0P9 for sm8150) |
| 52 |
|
| 53 |
phy-type: |
| 54 |
description: D-PHY (default) or C-PHY mode |
| 55 |
enum: [ 10, 11 ] |
| 56 |
default: 10 |
| 57 |
|
| 58 |
required: |
| 59 |
- compatible |
| 60 |
- reg |
| 61 |
- reg-names |
| 62 |
|
| 63 |
unevaluatedProperties: false |
| 64 |
|
| 65 |
examples: |
| 66 |
- | |
| 67 |
#include <dt-bindings/clock/qcom,dispcc-sm8250.h> |
| 68 |
#include <dt-bindings/clock/qcom,rpmh.h> |
| 69 |
|
| 70 |
dsi-phy@ae94400 { |
| 71 |
compatible = "qcom,dsi-phy-7nm"; |
| 72 |
reg = <0x0ae94400 0x200>, |
| 73 |
<0x0ae94600 0x280>, |
| 74 |
<0x0ae94900 0x260>; |
| 75 |
reg-names = "dsi_phy", |
| 76 |
"dsi_phy_lane", |
| 77 |
"dsi_pll"; |
| 78 |
|
| 79 |
#clock-cells = <1>; |
| 80 |
#phy-cells = <0>; |
| 81 |
|
| 82 |
vdds-supply = <&vreg_l5a_0p88>; |
| 83 |
clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, |
| 84 |
<&rpmhcc RPMH_CXO_CLK>; |
| 85 |
clock-names = "iface", "ref"; |
| 86 |
}; |