1# Copyright (c) 2024 Renesas Electronics Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4if SHIELD_RTKMIPILCDB00000BE 5if DISPLAY 6 7# Enable MIPI DSI, as this display controller requires it. 8 9config MIPI_DSI 10 default y 11 12endif # DISPLAY 13 14if LVGL 15 16# Configure LVGL to use touchscreen with input API 17 18config INPUT 19 default y 20 21if INPUT 22 23# GT911 driver drives reset pin low, GT911 and ILI9806E_DSI driver share a reset line, 24# so it needs to initialize before the display_ili9806e_dsi driver but after the MIPI DSI driver 25 26config INPUT_INIT_PRIORITY 27 default 89 28 29endif # INPUT 30 31# LVGL should allocate buffers equal to size of display 32config LV_Z_VDB_SIZE 33 default 100 34 35# Enable double buffering 36config LV_Z_DOUBLE_VDB 37 default y 38 39# Force full refresh. This prevents memory copy associated with partial 40# display refreshes, which is not necessary for the GLCDC driver 41config LV_Z_FULL_REFRESH 42 default y 43 44config LV_Z_BITS_PER_PIXEL 45 default 32 46 47# Use offloaded render thread 48config LV_Z_FLUSH_THREAD 49 default y 50 51choice LV_COLOR_DEPTH 52 default LV_COLOR_DEPTH_32 53endchoice 54 55endif # LVGL 56 57endif # SHIELD_RTKMIPILCDB00000BE 58