zephyr/drivers/display/Kconfig.renesas_ra
Danh Doan 0eef4fe150 drivers: display: extend support for renesas,ra-glcdc driver
Change pinctrl-0 dts prop as optional in case DSI display is used
Add these APIs support: set_brightness, set_contrast, get_framebuffer
Add a new config to select frame buffer section

Signed-off-by: Danh Doan <danh.doan.ue@bp.renesas.com>
2025-03-21 14:17:21 +01:00

43 lines
1.1 KiB
Plaintext

# Renesas RA Family
# Copyright (c) 2024-2025 Renesas Electronics Corporation
# SPDX-License-Identifier: Apache-2.0
config RENESAS_RA_GLCDC
bool "Renesas display controller driver"
default y
depends on DT_HAS_RENESAS_RA_GLCDC_ENABLED
select USE_RA_FSP_DISPLAY
help
Enable Renesas display controller.
if RENESAS_RA_GLCDC
config RENESAS_RA_GLCDC_FB_NUM
int "Frame buffer number"
default 2
range 0 2
help
RENESAS RA GLCDC frame buffer number config:
- 0 frame buffer maintained by application, must write with full screen pixels.
- 1 single frame buffer in RENESAS RA GLCDC driver.
- 2 double frame buffer in RENESAS RA GLCDC driver.
config RENESAS_RA_GLCDC_FRAME_BUFFER_SECTION
string "RAM memory section to place frame buffer"
depends on RENESAS_RA_GLCDC_FB_NUM > 0
help
RAM memory section name to place frame buffer.
Example: to place display frame buffer in external SDRAM (.sdram section)
CONFIG_RENESAS_RA_GLCDC_FRAME_BUFFER_SECTION=".sdram"
if LVGL
# Force display buffers to be aligned to cache line size (64 bytes)
config LV_Z_VDB_ALIGN
default 64
endif # LVGL
endif # RENESAS_RA_GLCDC