Skip to content
Permalink
Browse files

drivers: ssd1673: rename driver to ssd16xx

ssd1673 driver supports different controllers,
rename it to more generic ssd16xx.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
  • Loading branch information...
jfischer-phytec-iot authored and nashif committed Jul 3, 2019
1 parent ab9a1c9 commit fc57ea8d3c6a2ef4527fd9477d1b0109db446c55
@@ -117,9 +117,9 @@
miso-pin = <21>;
cs-gpios = <&gpio0 17 0>;

ssd1673fb@0 {
compatible = "solomon,ssd1673fb", "gd,gde0213b1";
label = "SSD1673";
ssd16xxfb@0 {
compatible = "solomon,ssd16xxfb", "gd,gde0213b1";
label = "SSD16XX";
spi-max-frequency = <4000000>;
reg = <0>;
width = <250>;
@@ -3,7 +3,7 @@
zephyr_sources_ifdef(CONFIG_DISPLAY_MCUX_ELCDIF display_mcux_elcdif.c)
zephyr_sources_ifdef(CONFIG_GROVE_LCD_RGB grove_lcd_rgb.c)
zephyr_sources_ifdef(CONFIG_SSD1306 ssd1306.c)
zephyr_sources_ifdef(CONFIG_SSD1673 ssd1673.c)
zephyr_sources_ifdef(CONFIG_SSD16XX ssd16xx.c)
zephyr_sources_ifdef(CONFIG_SDL_DISPLAY display_sdl.c)
zephyr_sources_ifdef(CONFIG_DUMMY_DISPLAY display_dummy.c)
zephyr_sources_ifdef(CONFIG_FRAMEBUF_DISPLAY display_framebuf.c)
@@ -23,7 +23,7 @@ source "drivers/display/Kconfig.microbit"
source "drivers/display/Kconfig.ili9340"
source "drivers/display/Kconfig.sdl"
source "drivers/display/Kconfig.ssd1306"
source "drivers/display/Kconfig.ssd1673"
source "drivers/display/Kconfig.ssd16xx"
source "drivers/display/Kconfig.dummy"

config FRAMEBUF_DISPLAY
@@ -19,7 +19,7 @@ config SSD1306_DEFAULT_CONTRAST
default 128
range 0 255
help
SSD1673 default contrast.
SSD16XX default contrast.

choice
prompt "Display controller type"

This file was deleted.

@@ -0,0 +1,28 @@
# Kconfig - SSD16XX display controller configuration options

#
# Copyright (c) 2018 Phytec Messtechnik GmbH
#
# SPDX-License-Identifier: Apache-2.0
#

menuconfig SSD16XX
bool "SSD16XX display driver"
depends on SPI
help
Enable driver for SSD16XX display driver.

if SSD16XX

choice
prompt "EPD display"
default SSD16XX_EPD_GDE0213B1
help
Specify the type of EPD connected to the SSD16XX controller.

config SSD16XX_EPD_GDE0213B1
bool "GDE0213B1 2.13\""

endchoice

endif #SSD16XX

0 comments on commit fc57ea8

Please sign in to comment.
You can’t perform that action at this time.