1# Copyright 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4if SHIELD_LCD_PAR_S035
5if LVGL
6
7# Enable double buffering
8config LV_Z_DOUBLE_VDB
9	default y
10
11config LV_Z_BITS_PER_PIXEL
12	default 16
13
14choice LV_COLOR_DEPTH
15	default LV_COLOR_DEPTH_16
16endchoice
17
18# VDB size is 10% of the full screen size
19config LV_Z_VDB_SIZE
20	default 10
21
22# Configure LVGL to use touchscreen
23config INPUT
24	default y
25
26config INPUT_GT911_INTERRUPT
27	default y
28
29endif # LVGL
30
31if INPUT
32
33# GT911 driver drives reset pin low, so it needs to initialize before
34# the display driver but after the MIPI DBI driver
35config INPUT_INIT_PRIORITY
36	default 82
37
38endif # INPUT
39
40endif # SHIELD_LCD_PAR_S035
41