1# Renesas RA Family
2
3# Copyright (c) 2024 Renesas Electronics Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6config RENESAS_RA_GLCDC
7	bool "Renesas display controller driver"
8	default y
9	depends on DT_HAS_RENESAS_RA_GLCDC_ENABLED
10	select USE_RA_FSP_DISPLAY
11	help
12	  Enable Renesas display controller.
13
14if RENESAS_RA_GLCDC
15
16config RENESAS_RA_GLCDC_FB_NUM
17	int "Frame buffer number"
18	default 2
19	range 0 2
20	help
21	  RENESAS RA GLCDC frame buffer number config:
22	    - 0 frame buffer maintained by application, must write with full screen pixels.
23	    - 1 single frame buffer in RENESAS RA GLCDC driver.
24	    - 2 double frame buffer in RENESAS RA GLCDC driver.
25
26if LVGL
27
28# Force display buffers to be aligned to cache line size (64 bytes)
29config LV_Z_VDB_ALIGN
30	default 64
31
32endif # LVGL
33
34endif # RENESAS_RA_GLCDC
35