Skip to content

Commit 118095e

Browse files
bolilingmeng89006TravMurav
authored andcommitted
arm64: dts: qcom: msm8916-acer-a1-724: Add display panel
Signed-off-by: Lin, Meng-Bo <[email protected]>
1 parent ba49b53 commit 118095e

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,39 @@
135135
status = "okay";
136136
};
137137

138+
&gpu {
139+
status = "okay";
140+
};
141+
142+
&mdss {
143+
status = "okay";
144+
};
145+
146+
&mdss_dsi0 {
147+
pinctrl-0 = <&mdss_default>;
148+
pinctrl-1 = <&mdss_sleep>;
149+
pinctrl-names = "default", "sleep";
150+
151+
panel@0 {
152+
compatible = "acer,a1-724-hx8394d";
153+
reg = <0>;
154+
155+
power-supply = <&pm8916_l17>;
156+
reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
157+
158+
port {
159+
panel_in: endpoint {
160+
remote-endpoint = <&mdss_dsi0_out>;
161+
};
162+
};
163+
};
164+
};
165+
166+
&mdss_dsi0_out {
167+
data-lanes = <0 1 2 3>;
168+
remote-endpoint = <&panel_in>;
169+
};
170+
138171
&pm8916_resin {
139172
linux,code = <KEY_VOLUMEDOWN>;
140173
status = "okay";
@@ -216,6 +249,22 @@
216249
bias-pull-up;
217250
};
218251

252+
mdss_default: mdss-default-state {
253+
pins = "gpio25";
254+
function = "gpio";
255+
256+
drive-strength = <8>;
257+
bias-disable;
258+
};
259+
260+
mdss_sleep: mdss-sleep-state {
261+
pins = "gpio25";
262+
function = "gpio";
263+
264+
drive-strength = <2>;
265+
bias-pull-down;
266+
};
267+
219268
sdc2_cd_default: sdc2-cd-default-state {
220269
pins = "gpio38";
221270
function = "gpio";

0 commit comments

Comments
 (0)