Skip to content

Commit 159cc41

Browse files
committed
arm64: dts: qcom: msm-8916-wiko-chuppito: add panel
Signed-off-by: Paul Adam <adamp@posteo.de>
1 parent f1cd2df commit 159cc41

4 files changed

Lines changed: 455 additions & 0 deletions

File tree

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,37 @@
145145
clocks = <&xo_board>, <&sleep_clk>, <0>, <0>, <0>, <0>, <0>;
146146
};
147147

148+
&mdss {
149+
status = "okay";
150+
};
151+
152+
&mdss_dsi0 {
153+
panel@0 {
154+
compatible = "wiko,chuppito-ili9881c";
155+
reg = <0x0>;
156+
backlight = <&backlight>;
157+
reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
158+
pinctrl-0 = <&panel_default>;
159+
pinctrl-1 = <&panel_suspend>;
160+
pinctrl-names = "default", "suspend";
161+
status = "okay";
162+
port {
163+
panel_in: endpoint {
164+
remote-endpoint = <&mdss_dsi0_out>;
165+
};
166+
};
167+
};
168+
};
169+
170+
&mdss_dsi0_out {
171+
data-lanes = <0 1 2 3>;
172+
remote-endpoint = <&panel_in>;
173+
};
174+
175+
&mdss_dsi0_phy {
176+
qcom,dsi-phy-regulator-ldo-mode;
177+
};
178+
148179
&pm8916_l6 {
149180
regulator-always-on;
150181
};
@@ -228,6 +259,23 @@
228259
// bias-disable;
229260
// output-low;
230261
// };
262+
263+
panel_default: panel-default-state {
264+
pins = "gpio25";
265+
function = "gpio";
266+
drive-strength = <8>;
267+
bias-disable;
268+
output-high;
269+
};
270+
271+
panel_suspend: panel-suspend-state {
272+
pins = "gpio25";
273+
function = "gpio";
274+
drive-strength = <2>;
275+
bias-pull-down;
276+
output-low;
277+
};
278+
231279
gpio_keys_default: gpio-keys-default-state {
232280
pins = "gpio107";
233281
function = "gpio";

drivers/gpu/drm/panel/msm8916-generated/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ config DRM_PANEL_SAMSUNG_SC7798A_BV045WVM
141141
tristate "Samsung SC7798A BV045WVM"
142142
default DRM_PANEL_MSM8916_GENERATED
143143

144+
config DRM_PANEL_WIKO_CHUPPITO_ILI9881C
145+
tristate "Wiko CHUPPITO ILI9881C"
146+
default DRM_PANEL_MSM8916_GENERATED
147+
144148
config DRM_PANEL_WINGTECH_AUO_NT35521
145149
tristate "Wingtech AUO NT35521"
146150
default DRM_PANEL_MSM8916_GENERATED

drivers/gpu/drm/panel/msm8916-generated/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS427AP24) += panel-samsung-s6e88a0-ams4
3232
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E8AA5X01_AMS497HY01) += panel-samsung-s6e8aa5x01-ams497hy01.o
3333
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E8AA5X01_AMS520KT01) += panel-samsung-s6e8aa5x01-ams520kt01.o
3434
obj-$(CONFIG_DRM_PANEL_SAMSUNG_SC7798A_BV045WVM) += panel-samsung-sc7798a-bv045wvm.o
35+
obj-$(CONFIG_DRM_PANEL_WIKO_CHUPPITO_ILI9881C) += panel-wiko-chuppito-ili9881c.o
3536
obj-$(CONFIG_DRM_PANEL_WINGTECH_AUO_NT35521) += panel-wingtech-auo-nt35521.o
3637
obj-$(CONFIG_DRM_PANEL_WINGTECH_AUO_R61308) += panel-wingtech-auo-r61308.o
3738
obj-$(CONFIG_DRM_PANEL_WINGTECH_BOE_HX8394F) += panel-wingtech-boe-hx8394f.o

0 commit comments

Comments
 (0)