Line data Source code
1 0 : /* 2 : * Copyright 2023 NXP 3 : * 4 : * SPDX-License-Identifier: Apache-2.0 5 : */ 6 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DISPLAY_PANEL_H_ 7 : #define ZEPHYR_INCLUDE_DT_BINDINGS_DISPLAY_PANEL_H_ 8 : 9 : /** 10 : * @brief LCD Interface 11 : * @defgroup lcd_interface LCD Interface 12 : * @ingroup display_interface 13 : * @{ 14 : */ 15 : 16 : /** 17 : * @brief Display pixel formats 18 : * 19 : * Display pixel format enumeration. 20 : * 21 : * These defines must match those present in the display_pixel_format enum. 22 : * They are required because the enum cannot be reused within devicetree, 23 : * since enum definitions are not supported by devicetree tooling. 24 : */ 25 : 26 1 : #define PANEL_PIXEL_FORMAT_RGB_888 (0x1 << 0) 27 0 : #define PANEL_PIXEL_FORMAT_MONO01 (0x1 << 1) /* 0=Black 1=White */ 28 0 : #define PANEL_PIXEL_FORMAT_MONO10 (0x1 << 2) /* 1=Black 0=White */ 29 0 : #define PANEL_PIXEL_FORMAT_ARGB_8888 (0x1 << 3) 30 0 : #define PANEL_PIXEL_FORMAT_RGB_565 (0x1 << 4) 31 0 : #define PANEL_PIXEL_FORMAT_BGR_565 (0x1 << 5) 32 : 33 : /** 34 : * @} 35 : */ 36 : 37 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_DISPLAY_PANEL_H_ */