zephyr/drivers/display/Kconfig.st7789v
Kumar Gala 902f42f491 drivers: display: Update Kconfig
* Utilize DT_HAS_<COMPAT>_ENABLED for devicetree based drivers
* Move to using 'select SPI' instead of 'depends on'
  (see commit df81fef944 for
   more details)

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-09 12:27:44 +02:00

28 lines
576 B
Plaintext

# ST7789V display driver configuration options
# Copyright (c) 2019 Marc Reilly <marc@cpdesign.com.au>
# SPDX-License-Identifier: Apache-2.0
menuconfig ST7789V
bool "ST7789V display driver"
default y
depends on DT_HAS_SITRONIX_ST7789V_ENABLED
select SPI
help
Enable driver for ST7789V display driver.
choice ST7789V_PIXEL_FORMAT
prompt "Color pixel format"
default ST7789V_RGB565
depends on ST7789V
help
Specify the color pixel format for the ST7789V display controller.
config ST7789V_RGB888
bool "RGB888"
config ST7789V_RGB565
bool "RGB565"
endchoice