7c46b0b898
Add support for uc8175 display driver. uc8175 has a slightly different command/data length requirements for certain registers, namely TRES and PTL, compared to uc8176/uc8179 This commit refactors the driver code and such that setting TRES and PTL registers are now done by function pointers provided by config->quirks, by the same token as how it is done for setting CDI register Signed-off-by: Xiao Qin <xiaoq@google.com>
13 lines
405 B
Plaintext
13 lines
405 B
Plaintext
# UC81xx display controller configuration options
|
|
|
|
# Copyright (c) 2020 Phytec Messtechnik GmbH
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UC81XX
|
|
bool "UltraChip UC81xx compatible display controller driver"
|
|
default y
|
|
depends on DT_HAS_ULTRACHIP_UC8175_ENABLED || DT_HAS_ULTRACHIP_UC8176_ENABLED || DT_HAS_ULTRACHIP_UC8179_ENABLED
|
|
select SPI
|
|
help
|
|
Enable driver for UC81xx compatible controller.
|