Skip to content

Commit 442847d

Browse files
committed
arm64: dts: qcom: msm8939-asus-z00t: add panel
This commit adds support for the panel used in Asus ZenFone 2 Laser/Selfie. The panel used in this device is tm5p5-nt35596. Signed-off-by: Erikas Bitovtas <[email protected]>
1 parent 0b6d1ef commit 442847d

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

arch/arm64/boot/dts/qcom/msm8939-asus-z00t.dts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,45 @@
157157
status = "okay";
158158
};
159159

160+
&mdss {
161+
status = "okay";
162+
};
163+
164+
&mdss_dsi0 {
165+
pinctrl-names = "default", "sleep";
166+
pinctrl-0 = <&mdss_default>;
167+
pinctrl-1 = <&mdss_sleep>;
168+
status = "okay";
169+
170+
panel@0 {
171+
compatible = "asus,z00t-panel";
172+
reg = <0>;
173+
174+
reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
175+
backlight-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
176+
power-supply = <&pm8916_l8>;
177+
178+
pinctrl-names = "default";
179+
pinctrl-0 = <&lcd_bl_en_default>;
180+
181+
port {
182+
panel_in: endpoint {
183+
remote-endpoint = <&mdss_dsi0_out>;
184+
};
185+
};
186+
};
187+
};
188+
189+
&mdss_dsi0_out {
190+
data-lanes = <0 1 2 3>;
191+
remote-endpoint = <&panel_in>;
192+
};
193+
194+
&mdss_dsi0_phy {
195+
qcom,dsi-phy-regulator-ldo-mode;
196+
status = "okay";
197+
};
198+
160199
&mpss_mem {
161200
reg = <0x0 0x86800000 0x0 0x5500000>;
162201
};

0 commit comments

Comments
 (0)