1# Copyright (c) 2018, Jan Van Winkel <jan.van_winkel@dxplore.eu>
2# Copyright (c) 2020, Teslabs Engineering S.L.
3# SPDX-License-Identifier: Apache-2.0
4
5description: ILI9XXX display controllers common properties.
6
7include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
8
9properties:
10  pixel-format:
11    type: int
12    default: 0
13    enum:
14      - 0 # RGB565
15      - 1 # RGB888
16    description:
17      Display pixel format. Note that when RGB888 pixel format is selected
18      only 6 color bits are actually used being in practice equivalent to
19      RGB666.
20
21  rotation:
22    type: int
23    default: 0
24    enum:
25      - 0
26      - 90
27      - 180
28      - 270
29    description:
30      Display rotation (CW) in degrees.
31      If not defined, rotation is off by default.
32
33  display-inversion:
34    type: boolean
35    description:
36      Display inversion mode. Every bit is inverted from the frame memory to
37      the display.
38