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
11if MIPI_DSI_MCUX_2L
12# Enable color swap in driver
13
14config MIPI_DSI_MCUX_2L_SWAP16
15	default y
16
17endif # MIPI_DSI_MCUX_2L
18
19# Swap 16 bit color setting for LVGL, to send high byte first
20configdefault LV_COLOR_16_SWAP
21	default y if !MIPI_DSI_MCUX_2L_SWAP16
22
23config LV_Z_VDB_SIZE
24	default 16
25
26config LV_DPI_DEF
27	default 128
28
29# Use offloaded render thread
30config LV_Z_FLUSH_THREAD
31	default y
32
33choice LV_COLOR_DEPTH
34	default LV_COLOR_DEPTH_16
35endchoice
36
37endif # LVGL
38
39endif # SHIELD_G1120B0MIPI
40