Skip to content

Commit 34c4b01

Browse files
committed
drivers: display: Introduce ST7565R
Introduce support for Sitronix's ST7565R display controller. Tested on JHD12864 LCD display. Signed-off-by: Giyora Haroon <dev@giyorah.com>
1 parent 25249a0 commit 34c4b01

File tree

7 files changed

+798
-0
lines changed

7 files changed

+798
-0
lines changed

drivers/display/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ zephyr_library_sources_ifdef(CONFIG_SSD1322 ssd1322.c)
2525
zephyr_library_sources_ifdef(CONFIG_SSD1331 display_ssd1331.c)
2626
zephyr_library_sources_ifdef(CONFIG_SSD1351 display_ssd1351.c)
2727
zephyr_library_sources_ifdef(CONFIG_ST75256 display_st75256.c)
28+
zephyr_library_sources_ifdef(CONFIG_ST7565R display_st7565r.c)
2829
zephyr_library_sources_ifdef(CONFIG_ST7567 display_st7567.c)
2930
zephyr_library_sources_ifdef(CONFIG_ST7789V display_st7789v.c)
3031
zephyr_library_sources_ifdef(CONFIG_ST7735R display_st7735r.c)

drivers/display/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ source "drivers/display/Kconfig.ssd1322"
3535
source "drivers/display/Kconfig.ssd1331"
3636
source "drivers/display/Kconfig.ssd1351"
3737
source "drivers/display/Kconfig.st75256"
38+
source "drivers/display/Kconfig.st7565r"
3839
source "drivers/display/Kconfig.st7567"
3940
source "drivers/display/Kconfig.st7735r"
4041
source "drivers/display/Kconfig.st7789v"

drivers/display/Kconfig.st7565r

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright (c) Giyora Haroon
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config ST7565R
5+
bool "ST7565R display driver"
6+
default y
7+
depends on DT_HAS_SITRONIX_ST7565R_ENABLED
8+
select SPI
9+
select GPIO
10+
help
11+
Enable driver for the ST7565R display controller.

0 commit comments

Comments
 (0)