Skip to content

Commit 690256f

Browse files
bolilingmeng89006stephan-gh
authored andcommitted
arm64: dts: qcom: msm8916-acer-a1-724: Add display panel
Signed-off-by: Lin, Meng-Bo <[email protected]>
1 parent 20fd0f0 commit 690256f

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

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

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,35 @@
109109
status = "okay";
110110
};
111111

112+
&dsi0 {
113+
pinctrl-0 = <&mdss_default>;
114+
pinctrl-1 = <&mdss_sleep>;
115+
pinctrl-names = "default", "sleep";
116+
117+
panel@0 {
118+
compatible = "acer,a1-724-hx8394d";
119+
reg = <0>;
120+
121+
power-supply = <&pm8916_l17>;
122+
reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
123+
124+
port {
125+
panel_in: endpoint {
126+
remote-endpoint = <&dsi0_out>;
127+
};
128+
};
129+
};
130+
};
131+
132+
&dsi0_out {
133+
data-lanes = <0 1 2 3>;
134+
remote-endpoint = <&panel_in>;
135+
};
136+
137+
&mdss {
138+
status = "okay";
139+
};
140+
112141
&pm8916_resin {
113142
linux,code = <KEY_VOLUMEDOWN>;
114143
status = "okay";
@@ -273,6 +302,22 @@
273302
bias-pull-up;
274303
};
275304

305+
mdss_default: mdss-default-state {
306+
pins = "gpio25";
307+
function = "gpio";
308+
309+
drive-strength = <8>;
310+
bias-disable;
311+
};
312+
313+
mdss_sleep: mdss-sleep-state {
314+
pins = "gpio25";
315+
function = "gpio";
316+
317+
drive-strength = <2>;
318+
bias-pull-down;
319+
};
320+
276321
touchscreen_default: touchscreen-default-state {
277322
reset-pins {
278323
pins = "gpio12";

0 commit comments

Comments
 (0)