Skip to content

Commit feb4988

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 a3e26ba commit feb4988

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

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

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,49 @@
153153
pinctrl-names = "default", "sleep";
154154
};
155155

156+
&gpu {
157+
status = "okay";
158+
};
159+
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+
156199
&mpss_mem {
157200
reg = <0x0 0x86800000 0x0 0x5500000>;
158201
};
@@ -234,6 +277,14 @@
234277
bias-disable;
235278
};
236279

280+
lcd_bl_en_default: lcd-bl-en-default-state {
281+
pins = "gpio21";
282+
function = "gpio";
283+
284+
drive-strength = <2>;
285+
bias-disable;
286+
};
287+
237288
mag_reset_default: mag-reset-default-state {
238289
pins = "gpio112";
239290
function = "gpio";
@@ -242,6 +293,22 @@
242293
bias-disable;
243294
};
244295

296+
mdss_default: mdss-default-state {
297+
pins = "gpio25";
298+
function = "gpio";
299+
300+
drive-strength = <8>;
301+
bias-disable;
302+
};
303+
304+
mdss_sleep: mdss-sleep-state {
305+
pins = "gpio25";
306+
function = "gpio";
307+
308+
drive-strength = <2>;
309+
bias-pull-down;
310+
};
311+
245312
sd_vmmc_en_default: sd-vmmc-en-default-state {
246313
pins = "gpio87";
247314
function = "gpio";

0 commit comments

Comments
 (0)