1# Copyright 2023 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4if SHIELD_RK055HDMIPI4MA0
5
6if DISPLAY
7
8# Enable MIPI DSI, as this display controller requires it.
9
10config MIPI_DSI
11	default y
12
13endif # DISPLAY
14
15if LVGL
16
17# Configure LVGL to use touchscreen with KSCAN API
18
19config INPUT
20	default y
21
22config INPUT_GT911_INTERRUPT
23	default y
24
25# LVGL should allocate buffers equal to size of display
26config LV_Z_VDB_SIZE
27	default 100
28
29# Enable double buffering
30config LV_Z_DOUBLE_VDB
31	default y
32
33# Force full refresh. This prevents memory copy associated with partial
34# display refreshes, which is not necessary for the eLCDIF driver
35config LV_Z_FULL_REFRESH
36	default y
37
38config LV_Z_BITS_PER_PIXEL
39	default 16
40
41config LV_DPI_DEF
42	default 128
43
44# Use offloaded render thread
45config LV_Z_FLUSH_THREAD
46	default y
47
48choice LV_COLOR_DEPTH
49	default LV_COLOR_DEPTH_16
50endchoice
51
52endif # LVGL
53
54endif # SHIELD_RK055HDMIPI4MA0
55