1# Copyright 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4if SHIELD_RK043FN66HS_CTG
5
6if LVGL
7
8config INPUT
9	default y
10
11config INPUT_GT911_INTERRUPT
12	default y
13
14# LVGL should allocate buffers equal to size of display
15config LV_Z_VDB_SIZE
16	default 100
17
18# Enable double buffering
19config LV_Z_DOUBLE_VDB
20	default y
21
22# Force full refresh. This prevents memory copy associated with partial
23# display refreshes, which is not necessary for the eLCDIF driver
24config LV_Z_FULL_REFRESH
25	default y
26
27config LV_Z_BITS_PER_PIXEL
28	default 16
29
30config LV_DPI_DEF
31	default 128
32
33# Use offloaded render thread
34config LV_Z_FLUSH_THREAD
35	default y
36
37choice LV_COLOR_DEPTH
38	default LV_COLOR_DEPTH_16
39endchoice
40
41# Force display buffers to be aligned to cache line size (32 bytes)
42config LV_Z_VDB_ALIGN
43	default 32
44
45endif # LVGL
46
47endif # SHIELD_RK043FN66HS_CTG
48