blob: 713d8594e886af54f7c01d507d6eb0aaa7444efa [file] [log] [blame]
# RD_RW612_BGA board
# Copyright 2022-2024 NXP
# SPDX-License-Identifier: Apache-2.0
if BOARD_RD_RW612_BGA
if LVGL
# Enable DMA for LCDIC
config MIPI_DBI_NXP_LCDIC_DMA
default y if MIPI_DBI
# Increase descriptor count. LVGL will allocate a 30KB buffer,
# and the SPI driver sets up RX and TX side. Since LPC DMA has
# 1KB limit per descriptor, we need 60
config DMA_MCUX_LPC_NUMBER_OF_DESCRIPTORS
default 60
# Allocate buffer that is 10% of screen size
config LV_Z_VDB_SIZE
default 10
# Enable double buffering and offloaded render thread to improve performance
config LV_Z_DOUBLE_VDB
default y
config LV_Z_FLUSH_THREAD
default y
endif # LVGL
endif # BOARD_RD_RW612_BGA