forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 223293205a7265c8b02882461ba8996650048ade
kernel/drivers/gpu/drm/panel/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config DRM_PANEL
23 bool
34 depends on DRM
....@@ -16,6 +17,36 @@
1617 This driver supports the ARM Versatile panels connected to ARM
1718 reference designs. The panel is detected using special registers
1819 in the Versatile family syscon registers.
20
+
21
+config DRM_PANEL_ASUS_Z00T_TM5P5_NT35596
22
+ tristate "ASUS Z00T TM5P5 NT35596 panel"
23
+ depends on GPIOLIB && OF
24
+ depends on DRM_MIPI_DSI
25
+ depends on BACKLIGHT_CLASS_DEVICE
26
+ help
27
+ Say Y here if you want to enable support for the ASUS TMP5P5
28
+ NT35596 1080x1920 video mode panel as found in some Asus
29
+ Zenfone 2 Laser Z00T devices.
30
+
31
+config DRM_PANEL_BOE_HIMAX8279D
32
+ tristate "Boe Himax8279d panel"
33
+ depends on OF
34
+ depends on DRM_MIPI_DSI
35
+ depends on BACKLIGHT_CLASS_DEVICE
36
+ help
37
+ Say Y here if you want to enable support for Boe Himax8279d
38
+ TFT-LCD modules. The panel has a 1200x1920 resolution and uses
39
+ 24 bit RGB per pixel. It provides a MIPI DSI interface to
40
+ the host and has a built-in LED backlight.
41
+
42
+config DRM_PANEL_BOE_TV101WUM_NL6
43
+ tristate "BOE TV101WUM and AUO KD101N80 45NA 1200x1920 panel"
44
+ depends on OF
45
+ depends on DRM_MIPI_DSI
46
+ depends on BACKLIGHT_CLASS_DEVICE
47
+ help
48
+ Say Y here if you want to support for BOE TV101WUM and AUO KD101N80
49
+ 45NA WUXGA PANEL DSI Video Mode panel
1950
2051 config DRM_PANEL_LVDS
2152 tristate "Generic LVDS panel driver"
....@@ -38,11 +69,33 @@
3869 that it can be automatically turned off when the panel goes into a
3970 low power state.
4071
41
-config DRM_PANEL_SIMPLE_OF_ONLY
42
- bool "compatible is simple-panel or simple-panel-dsi only"
43
- depends on DRM_PANEL_SIMPLE
72
+config DRM_PANEL_ELIDA_KD35T133
73
+ tristate "Elida KD35T133 panel driver"
74
+ depends on OF
75
+ depends on DRM_MIPI_DSI
76
+ depends on BACKLIGHT_CLASS_DEVICE
4477 help
45
- Only support panels which all parameters from device tree.
78
+ Say Y here if you want to enable support for the Elida
79
+ KD35T133 controller for 320x480 LCD panels with MIPI-DSI
80
+ system interfaces.
81
+
82
+config DRM_PANEL_FEIXIN_K101_IM2BA02
83
+ tristate "Feixin K101 IM2BA02 panel"
84
+ depends on OF
85
+ depends on DRM_MIPI_DSI
86
+ depends on BACKLIGHT_CLASS_DEVICE
87
+ help
88
+ Say Y here if you want to enable support for the Feixin K101 IM2BA02
89
+ 4-lane 800x1280 MIPI DSI panel.
90
+
91
+config DRM_PANEL_FEIYANG_FY07024DI26A30D
92
+ tristate "Feiyang FY07024DI26A30-D MIPI-DSI LCD panel"
93
+ depends on OF
94
+ depends on DRM_MIPI_DSI
95
+ depends on BACKLIGHT_CLASS_DEVICE
96
+ help
97
+ Say Y if you want to enable support for panels based on the
98
+ Feiyang FY07024DI26A30-D MIPI-DSI interface.
4699
47100 config DRM_PANEL_ILITEK_IL9322
48101 tristate "Ilitek ILI9322 320x240 QVGA panels"
....@@ -83,10 +136,51 @@
83136 The panel has a 1200(RGB)×1920 (WUXGA) resolution and uses
84137 24 bit per pixel.
85138
139
+config DRM_PANEL_KINGDISPLAY_KD097D04
140
+ tristate "Kingdisplay kd097d04 panel"
141
+ depends on OF
142
+ depends on DRM_MIPI_DSI
143
+ depends on BACKLIGHT_CLASS_DEVICE
144
+ help
145
+ Say Y here if you want to enable support for Kingdisplay kd097d04
146
+ TFT-LCD modules. The panel has a 1536x2048 resolution and uses
147
+ 24 bit RGB per pixel. It provides a MIPI DSI interface to
148
+ the host and has a built-in LED backlight.
149
+
150
+config DRM_PANEL_LEADTEK_LTK050H3146W
151
+ tristate "Leadtek LTK050H3146W panel"
152
+ depends on OF
153
+ depends on DRM_MIPI_DSI
154
+ depends on BACKLIGHT_CLASS_DEVICE
155
+ help
156
+ Say Y here if you want to enable support for Leadtek LTK050H3146W
157
+ TFT-LCD modules. The panel has a 720x1280 resolution and uses
158
+ 24 bit RGB per pixel. It provides a MIPI DSI interface to
159
+ the host and has a built-in LED backlight.
160
+
161
+config DRM_PANEL_LEADTEK_LTK500HD1829
162
+ tristate "Leadtek LTK500HD1829 panel"
163
+ depends on OF
164
+ depends on DRM_MIPI_DSI
165
+ depends on BACKLIGHT_CLASS_DEVICE
166
+ help
167
+ Say Y here if you want to enable support for Kingdisplay kd097d04
168
+ TFT-LCD modules. The panel has a 1536x2048 resolution and uses
169
+ 24 bit RGB per pixel. It provides a MIPI DSI interface to
170
+ the host and has a built-in LED backlight.
171
+
86172 config DRM_PANEL_SAMSUNG_LD9040
87173 tristate "Samsung LD9040 RGB/SPI panel"
88174 depends on OF && SPI
89175 select VIDEOMODE_HELPERS
176
+
177
+config DRM_PANEL_LG_LB035Q02
178
+ tristate "LG LB035Q024573 RGB panel"
179
+ depends on GPIOLIB && OF && SPI
180
+ help
181
+ Say Y here if you want to enable support for the LB035Q02 RGB panel
182
+ (found on the Gumstix Overo Palo35 board). To compile this driver as
183
+ a module, choose M here.
90184
91185 config DRM_PANEL_LG_LG4573
92186 tristate "LG4573 RGB/SPI panel"
....@@ -96,6 +190,65 @@
96190 Say Y here if you want to enable support for LG4573 RGB panel.
97191 To compile this driver as a module, choose M here.
98192
193
+config DRM_PANEL_NEC_NL8048HL11
194
+ tristate "NEC NL8048HL11 RGB panel"
195
+ depends on GPIOLIB && OF && SPI
196
+ help
197
+ Say Y here if you want to enable support for the NEC NL8048HL11 RGB
198
+ panel (found on the Zoom2/3/3630 SDP boards). To compile this driver
199
+ as a module, choose M here.
200
+
201
+config DRM_PANEL_NOVATEK_NT35510
202
+ tristate "Novatek NT35510 RGB panel driver"
203
+ depends on OF
204
+ depends on DRM_MIPI_DSI
205
+ depends on BACKLIGHT_CLASS_DEVICE
206
+ help
207
+ Say Y here if you want to enable support for the panels built
208
+ around the Novatek NT35510 display controller, such as some
209
+ Hydis panels.
210
+
211
+config DRM_PANEL_NOVATEK_NT39016
212
+ tristate "Novatek NT39016 RGB/SPI panel"
213
+ depends on OF && SPI
214
+ depends on BACKLIGHT_CLASS_DEVICE
215
+ select REGMAP_SPI
216
+ help
217
+ Say Y here if you want to enable support for the panels built
218
+ around the Novatek NT39016 display controller.
219
+
220
+config DRM_PANEL_MANTIX_MLAF057WE51
221
+ tristate "Mantix MLAF057WE51-X MIPI-DSI LCD panel"
222
+ depends on OF
223
+ depends on DRM_MIPI_DSI
224
+ depends on BACKLIGHT_CLASS_DEVICE
225
+ help
226
+ Say Y here if you want to enable support for the Mantix
227
+ MLAF057WE51-X MIPI DSI panel as e.g. used in the Librem 5. It
228
+ has a resolution of 720x1440 pixels, a built in backlight and touch
229
+ controller.
230
+
231
+config DRM_PANEL_MAXIM_MAX96752F
232
+ tristate "Maxim MAX96752F-based panels"
233
+ depends on OF
234
+ depends on BACKLIGHT_CLASS_DEVICE
235
+ help
236
+ Say Y if you want to enable support for panels based on the
237
+ Maxim MAX96752F.
238
+
239
+config DRM_PANEL_OLIMEX_LCD_OLINUXINO
240
+ tristate "Olimex LCD-OLinuXino panel"
241
+ depends on OF
242
+ depends on I2C
243
+ depends on BACKLIGHT_CLASS_DEVICE
244
+ select CRC32
245
+ help
246
+ The panel is used with different sizes LCDs, from 480x272 to
247
+ 1280x800, and 24 bit per pixel.
248
+
249
+ Say Y here if you want to enable support for Olimex Ltd.
250
+ LCD-OLinuXino panel.
251
+
99252 config DRM_PANEL_ORISETECH_OTM8009A
100253 tristate "Orise Technology otm8009a 480x800 dsi 2dl panel"
101254 depends on OF
....@@ -104,6 +257,15 @@
104257 help
105258 Say Y here if you want to enable support for Orise Technology
106259 otm8009a 480x800 dsi 2dl panel.
260
+
261
+config DRM_PANEL_OSD_OSD101T2587_53TS
262
+ tristate "OSD OSD101T2587-53TS DSI 1920x1200 video mode panel"
263
+ depends on OF
264
+ depends on DRM_MIPI_DSI
265
+ depends on BACKLIGHT_CLASS_DEVICE
266
+ help
267
+ Say Y here if you want to enable support for One Stop Displays
268
+ OSD101T2587-53TS 10.1" 1920x1200 dsi panel.
107269
108270 config DRM_PANEL_PANASONIC_VVX10F034N00
109271 tristate "Panasonic VVX10F034N00 1920x1200 video mode panel"
....@@ -123,6 +285,15 @@
123285 Pi 7" Touchscreen. To compile this driver as a module,
124286 choose M here.
125287
288
+config DRM_PANEL_RAYDIUM_RM67191
289
+ tristate "Raydium RM67191 FHD 1080x1920 DSI video mode panel"
290
+ depends on OF
291
+ depends on DRM_MIPI_DSI
292
+ depends on BACKLIGHT_CLASS_DEVICE
293
+ help
294
+ Say Y here if you want to enable support for Raydium RM67191 FHD
295
+ (1080x1920) DSI panel.
296
+
126297 config DRM_PANEL_RAYDIUM_RM68200
127298 tristate "Raydium RM68200 720x1280 DSI video mode panel"
128299 depends on OF
....@@ -131,6 +302,21 @@
131302 help
132303 Say Y here if you want to enable support for Raydium RM68200
133304 720x1280 DSI video mode panel.
305
+
306
+config DRM_PANEL_RONBO_RB070D30
307
+ tristate "Ronbo Electronics RB070D30 panel"
308
+ depends on OF
309
+ depends on DRM_MIPI_DSI
310
+ depends on BACKLIGHT_CLASS_DEVICE
311
+ help
312
+ Say Y here if you want to enable support for Ronbo Electronics
313
+ RB070D30 1024x600 DSI panel.
314
+
315
+config DRM_PANEL_SAMSUNG_S6D16D0
316
+ tristate "Samsung S6D16D0 DSI video mode panel"
317
+ depends on OF
318
+ depends on DRM_MIPI_DSI
319
+ select VIDEOMODE_HELPERS
134320
135321 config DRM_PANEL_SAMSUNG_S6E3HA2
136322 tristate "Samsung S6E3HA2 DSI video mode panel"
....@@ -144,6 +330,38 @@
144330 depends on OF
145331 depends on DRM_MIPI_DSI
146332 depends on BACKLIGHT_CLASS_DEVICE
333
+ select VIDEOMODE_HELPERS
334
+
335
+config DRM_PANEL_SAMSUNG_S6E63M0
336
+ tristate "Samsung S6E63M0 RGB panel"
337
+ depends on OF
338
+ depends on BACKLIGHT_CLASS_DEVICE
339
+ help
340
+ Say Y here if you want to enable support for Samsung S6E63M0
341
+ AMOLED LCD panel. This panel can be accessed using SPI or
342
+ DSI.
343
+
344
+config DRM_PANEL_SAMSUNG_S6E63M0_SPI
345
+ tristate "Samsung S6E63M0 RGB SPI interface"
346
+ depends on SPI
347
+ depends on DRM_PANEL_SAMSUNG_S6E63M0
348
+ default DRM_PANEL_SAMSUNG_S6E63M0
349
+ help
350
+ Say Y here if you want to be able to access the Samsung
351
+ S6E63M0 panel using SPI.
352
+
353
+config DRM_PANEL_SAMSUNG_S6E63M0_DSI
354
+ tristate "Samsung S6E63M0 RGB DSI interface"
355
+ depends on DRM_MIPI_DSI
356
+ depends on DRM_PANEL_SAMSUNG_S6E63M0
357
+ help
358
+ Say Y here if you want to be able to access the Samsung
359
+ S6E63M0 panel using DSI.
360
+
361
+config DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01
362
+ tristate "Samsung AMS452EF01 panel with S6E88A0 DSI video mode controller"
363
+ depends on OF
364
+ select DRM_MIPI_DSI
147365 select VIDEOMODE_HELPERS
148366
149367 config DRM_PANEL_SAMSUNG_S6E8AA0
....@@ -175,6 +393,13 @@
175393 To compile this driver as a module, choose M here: the module
176394 will be called panel-sharp-lq101r1sx01.
177395
396
+config DRM_PANEL_SHARP_LS037V7DW01
397
+ tristate "Sharp LS037V7DW01 VGA LCD panel"
398
+ depends on GPIOLIB && OF && REGULATOR
399
+ help
400
+ Say Y here if you want to enable support for Sharp LS037V7DW01 VGA
401
+ (480x640) LCD panel (found on the TI SDP3430 board).
402
+
178403 config DRM_PANEL_SHARP_LS043T1LE01
179404 tristate "Sharp LS043T1LE01 qHD video mode panel"
180405 depends on OF
....@@ -184,6 +409,29 @@
184409 Say Y here if you want to enable support for Sharp LS043T1LE01 qHD
185410 (540x960) DSI panel as found on the Qualcomm APQ8074 Dragonboard
186411
412
+config DRM_PANEL_SITRONIX_ST7701
413
+ tristate "Sitronix ST7701 panel driver"
414
+ depends on OF
415
+ depends on DRM_MIPI_DSI
416
+ depends on BACKLIGHT_CLASS_DEVICE
417
+ help
418
+ Say Y here if you want to enable support for the Sitronix
419
+ ST7701 controller for 480X864 LCD panels with MIPI/RGB/SPI
420
+ system interfaces.
421
+
422
+config DRM_PANEL_SITRONIX_ST7703
423
+ tristate "Sitronix ST7703 based MIPI touchscreen panels"
424
+ depends on OF
425
+ depends on DRM_MIPI_DSI
426
+ depends on BACKLIGHT_CLASS_DEVICE
427
+ help
428
+ Say Y here if you want to enable support for Sitronix ST7703 based
429
+ panels, souch as Rocktech JH057N00900 MIPI DSI panel as e.g. used in
430
+ the Librem 5 devkit. It has a resolution of 720x1440 pixels, a built
431
+ in backlight and touch controller.
432
+ Touch input support is provided by the goodix driver and needs to be
433
+ selected separately.
434
+
187435 config DRM_PANEL_SITRONIX_ST7789V
188436 tristate "Sitronix ST7789V panel"
189437 depends on OF && SPI
....@@ -192,4 +440,72 @@
192440 Say Y here if you want to enable support for the Sitronix
193441 ST7789V controller for 240x320 LCD panels
194442
443
+config DRM_PANEL_SONY_ACX424AKP
444
+ tristate "Sony ACX424AKP DSI command mode panel"
445
+ depends on OF
446
+ depends on DRM_MIPI_DSI
447
+ depends on BACKLIGHT_CLASS_DEVICE
448
+ select VIDEOMODE_HELPERS
449
+ help
450
+ Say Y here if you want to enable the Sony ACX424 display
451
+ panel. This panel supports DSI in both command and video
452
+ mode.
453
+
454
+config DRM_PANEL_SONY_ACX565AKM
455
+ tristate "Sony ACX565AKM panel"
456
+ depends on GPIOLIB && OF && SPI
457
+ depends on BACKLIGHT_CLASS_DEVICE
458
+ help
459
+ Say Y here if you want to enable support for the Sony ACX565AKM
460
+ 800x600 3.5" panel (found on the Nokia N900).
461
+
462
+config DRM_PANEL_TPO_TD028TTEC1
463
+ tristate "Toppoly (TPO) TD028TTEC1 panel driver"
464
+ depends on OF && SPI
465
+ depends on BACKLIGHT_CLASS_DEVICE
466
+ help
467
+ Say Y here if you want to enable support for TPO TD028TTEC1 480x640
468
+ 2.8" panel (found on the OpenMoko Neo FreeRunner and Neo 1973).
469
+
470
+config DRM_PANEL_TPO_TD043MTEA1
471
+ tristate "Toppoly (TPO) TD043MTEA1 panel driver"
472
+ depends on GPIOLIB && OF && REGULATOR && SPI
473
+ help
474
+ Say Y here if you want to enable support for TPO TD043MTEA1 800x480
475
+ 4.3" panel (found on the OMAP3 Pandora board).
476
+
477
+config DRM_PANEL_TPO_TPG110
478
+ tristate "TPO TPG 800x400 panel"
479
+ depends on OF && SPI && GPIOLIB
480
+ depends on BACKLIGHT_CLASS_DEVICE
481
+ help
482
+ Say Y here if you want to enable support for TPO TPG110
483
+ 400CH LTPS TFT LCD Single Chip Digital Driver for up to
484
+ 800x400 LCD panels.
485
+
486
+config DRM_PANEL_TRULY_NT35597_WQXGA
487
+ tristate "Truly WQXGA"
488
+ depends on OF
489
+ depends on DRM_MIPI_DSI
490
+ help
491
+ Say Y here if you want to enable support for Truly NT35597 WQXGA Dual DSI
492
+ Video Mode panel
493
+
494
+config DRM_PANEL_VISIONOX_RM69299
495
+ tristate "Visionox RM69299"
496
+ depends on OF
497
+ depends on DRM_MIPI_DSI
498
+ help
499
+ Say Y here if you want to enable support for Visionox
500
+ RM69299 DSI Video Mode panel.
501
+
502
+config DRM_PANEL_XINPENG_XPP055C272
503
+ tristate "Xinpeng XPP055C272 panel driver"
504
+ depends on OF
505
+ depends on DRM_MIPI_DSI
506
+ depends on BACKLIGHT_CLASS_DEVICE
507
+ help
508
+ Say Y here if you want to enable support for the Xinpeng
509
+ XPP055C272 controller for 720x1280 LCD panels with MIPI/RGB/SPI
510
+ system interfaces.
195511 endmenu