mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-31 04:06:09 +00:00
Make driver generic for multiple ILI displays. The adopted strategy is to share all driver code except register initialization, which has been found to have some specific registers/values depending on the controller. The driver has been adjusted to support multiple compatibles. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
14 lines
363 B
C
14 lines
363 B
C
/*
|
|
* Copyright (c) 2020 Teslabs Engineering S.L.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DISPLAY_ILI9XXX_H_
|
|
#define ZEPHYR_INCLUDE_DT_BINDINGS_DISPLAY_ILI9XXX_H_
|
|
|
|
/* Pixel formats */
|
|
#define ILI9XXX_PIXEL_FORMAT_RGB565 0U
|
|
#define ILI9XXX_PIXEL_FORMAT_RGB888 1U
|
|
|
|
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_DISPLAY_ILI9XXX_H_ */
|