1# Copyright 2022-2023 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4config MIPI_DSI_MCUX
5	bool "NXP MCUX MIPI-DSI Host Controller"
6	default y
7	depends on DT_HAS_NXP_IMX_MIPI_DSI_ENABLED
8	help
9	  NXP MIPI DSI controller driver
10
11config MIPI_DSI_MCUX_2L
12	bool "NXP MCUX MIPI-DSI 2L Controller"
13	default y
14	depends on DT_HAS_NXP_MIPI_DSI_2L_ENABLED
15	help
16	  NXP MIPI DSI 2L controller driver
17
18if MIPI_DSI_MCUX_2L
19
20config MIPI_DSI_MCUX_2L_SMARTDMA
21	bool "Use smartDMA controller with MIPI DSI"
22	default y
23	depends on DMA_MCUX_SMARTDMA
24	help
25	  Use SMARTDMA. This accelerator will automatically
26	  convert RGB565 input data to BGR565 (little endian to big endian),
27	  and write it to the MIPI DSI.
28
29config MIPI_DSI_MCUX_2L_SWAP16
30	bool "Swap 16 byte color"
31	help
32	  Swap 16 byte color data from little to big endian format. When
33	  this Kconfig is enabled, the DSI expects RGB565 data in little endian
34	  format, which will then be byte swapped.
35
36
37endif # MIPI_DSI_MCUX_2L
38