1# Copyright 2023 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4description: NXP DCNano LCDIF (LCD Interface) controller
5
6compatible: "nxp,dcnano-lcdif"
7
8include: [lcd-controller.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  interrupts:
15    required: true
16
17  backlight-gpios:
18    type: phandle-array
19    required: true
20    description:
21      LCB backlight control gpio. Driver will initialize this GPIO to active high
22
23  data-bus-width:
24    type: string
25    default: "24-bit"
26    enum:
27      - "16-bit-config1" # 16 bit configuration 1. RGB565: XXXXXXXX_RRRRRGGG_GGGBBBBB
28      - "16-bit-config2" # 16 bit configuration 2. RGB565: XXXRRRRR_XXGGGGGG_XXXBBBBB
29      - "16-bit-config3" # 16-bit configuration 3. RGB565: XXRRRRRX_XXGGGGGG_XXBBBBBX
30      - "18-bit-config1" # 18-bit configuration 1. RGB666: XXXXXXRR_RRRRGGGG_GGBBBBBB
31      - "18-bit-config2" # 18-bit configuration 2. RGB666: XXRRRRRR_XXGGGGGG_XXBBBBBB
32      - "24-bit" # 24 Bit
33    description:
34      LCD data bus width. The default is set to the reset value of 24-bit
35