1# Copyright 2023 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4if SHIELD_RK055HDMIPI4M 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 17config INPUT 18 default y 19 20config INPUT_GT911_INTERRUPT 21 default y 22 23# LVGL should allocate buffers equal to size of display 24config LV_Z_VDB_SIZE 25 default 100 26 27# Enable double buffering 28config LV_Z_DOUBLE_VDB 29 default y 30 31# Force full refresh. This prevents memory copy associated with partial 32# display refreshes, which is not necessary for the eLCDIF driver 33config LV_Z_FULL_REFRESH 34 default y 35 36config LV_Z_BITS_PER_PIXEL 37 default 16 38 39config LV_DPI_DEF 40 default 128 41 42# Use offloaded render thread 43config LV_Z_FLUSH_THREAD 44 default y 45 46choice LV_COLOR_DEPTH 47 default LV_COLOR_DEPTH_16 48endchoice 49 50endif # LVGL 51 52endif # SHIELD_RK055HDMIPI4M 53