Skip to content

Commit 0eef4fe

Browse files
Danh Doankartben
authored andcommitted
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>
1 parent e5742b2 commit 0eef4fe

File tree

5 files changed

+453
-229
lines changed

5 files changed

+453
-229
lines changed

boards/renesas/ek_ra8d1/Kconfig.defconfig

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 Renesas Electronics Corporation
1+
# Copyright (c) 2024-2025 Renesas Electronics Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

44
if BOARD_EK_RA8D1
@@ -10,18 +10,26 @@ config NET_L2_ETHERNET
1010

1111
endif # NETWORKING
1212

13+
if DISPLAY
14+
1315
if SHIELD_RTKMIPILCDB00000BE
1416

1517
config MEMC
1618
default y
1719

20+
config RENESAS_RA_GLCDC_FRAME_BUFFER_SECTION
21+
default ".sdram"
22+
depends on RENESAS_RA_GLCDC
23+
24+
endif # SHIELD_RTKMIPILCDB00000BE
25+
26+
endif # DISPLAY
27+
1828
if LVGL
1929

2030
config LV_Z_VDB_CUSTOM_SECTION
2131
default y
2232

2333
endif # LVGL
2434

25-
endif # SHIELD_RTKMIPILCDB00000BE
26-
2735
endif # BOARD_EK_RA8D1

drivers/display/Kconfig.renesas_ra

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Renesas RA Family
22

3-
# Copyright (c) 2024 Renesas Electronics Corporation
3+
# Copyright (c) 2024-2025 Renesas Electronics Corporation
44
# SPDX-License-Identifier: Apache-2.0
55

66
config RENESAS_RA_GLCDC
@@ -23,6 +23,14 @@ config RENESAS_RA_GLCDC_FB_NUM
2323
- 1 single frame buffer in RENESAS RA GLCDC driver.
2424
- 2 double frame buffer in RENESAS RA GLCDC driver.
2525

26+
config RENESAS_RA_GLCDC_FRAME_BUFFER_SECTION
27+
string "RAM memory section to place frame buffer"
28+
depends on RENESAS_RA_GLCDC_FB_NUM > 0
29+
help
30+
RAM memory section name to place frame buffer.
31+
Example: to place display frame buffer in external SDRAM (.sdram section)
32+
CONFIG_RENESAS_RA_GLCDC_FRAME_BUFFER_SECTION=".sdram"
33+
2634
if LVGL
2735

2836
# Force display buffers to be aligned to cache line size (64 bytes)

0 commit comments

Comments
 (0)