1# Copyright 2023 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4if SHIELD_G1120B0MIPI
5
6if LVGL
7# Enable input subsystem for FT5336 driver
8config INPUT
9	default y
10
11config INPUT_FT5336_INTERRUPT
12	default y
13
14if MIPI_DSI_MCUX_2L
15# Enable color swap in driver
16
17config MIPI_DSI_MCUX_2L_SWAP16
18	default y
19
20endif # MIPI_DSI_MCUX_2L
21
22# Swap 16 bit color setting for LVGL, to send high byte first
23config LV_COLOR_16_SWAP
24	default y if !MIPI_DSI_MCUX_2L_SWAP16
25
26config LV_Z_VDB_SIZE
27	default 16
28
29config LV_DPI_DEF
30	default 128
31
32# Use offloaded render thread
33config LV_Z_FLUSH_THREAD
34	default y
35
36choice LV_COLOR_DEPTH
37	default LV_COLOR_DEPTH_16
38endchoice
39
40endif # LVGL
41
42endif # SHIELD_G1120B0MIPI
43