Skip to content

Commit 126bb7f

Browse files
committed
arm64: dts: qcom: msm8916-wiko-chuppito: add panel
Add support for the panel to the Wiko PULP 4G. Signed-off-by: Paul Adam <adamp@posteo.de>
1 parent 4f131a8 commit 126bb7f

File tree

1 file changed

+45
-5
lines changed

1 file changed

+45
-5
lines changed

arch/arm64/boot/dts/qcom/msm8916-wiko-chuppito.dts

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
chosen {
2424
stdout-path = "serial0";
2525
};
26+
2627
backlight: backlight {
2728
compatible = "pwm-backlight";
2829
pwms = <&pm8916_pwm 0 100000>;
@@ -145,11 +146,6 @@
145146
};
146147
};
147148

148-
// make sure gcc is probed with display disabled.
149-
&gcc {
150-
clocks = <&xo_board>, <&sleep_clk>, <0>, <0>, <0>, <0>, <0>;
151-
}
152-
153149
&gpu {
154150
status = "okay";
155151
};
@@ -158,6 +154,34 @@
158154
status = "okay";
159155
};
160156

157+
&mdss_dsi0 {
158+
panel@0 {
159+
compatible = "wiko,chuppito-ili9881c";
160+
reg = <0x0>;
161+
backlight = <&backlight>;
162+
reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
163+
pinctrl-0 = <&panel_default>;
164+
pinctrl-1 = <&panel_suspend>;
165+
pinctrl-names = "default", "suspend";
166+
status = "okay";
167+
168+
port {
169+
panel_in: endpoint {
170+
remote-endpoint = <&mdss_dsi0_out>;
171+
};
172+
};
173+
};
174+
};
175+
176+
&mdss_dsi0_out {
177+
data-lanes = <0 1 2 3>;
178+
remote-endpoint = <&panel_in>;
179+
};
180+
181+
&mdss_dsi0_phy {
182+
qcom,dsi-phy-regulator-ldo-mode;
183+
};
184+
161185
&mpss_mem {
162186
reg = <0x0 0x86800000 0x0 0x5600000>;
163187
};
@@ -294,6 +318,22 @@
294318
bias-pull-down;
295319
};
296320

321+
panel_default: panel-default-state {
322+
pins = "gpio25";
323+
function = "gpio";
324+
drive-strength = <8>;
325+
bias-disable;
326+
output-high;
327+
};
328+
329+
panel_suspend: panel-suspend-state {
330+
pins = "gpio25";
331+
function = "gpio";
332+
drive-strength = <2>;
333+
bias-pull-down;
334+
output-low;
335+
};
336+
297337
proximity_int_default: proximity-int-default-state {
298338
pins = "gpio113";
299339
function = "gpio";

0 commit comments

Comments
 (0)