// SPDX-License-Identifier: GPL-2.0-only /* * Ilitek ILI9341 TFT LCD drm_panel driver. * * This panel can be configured to support: * - 16-bit parallel RGB interface * - 18-bit parallel RGB interface * - 4-line serial spi interface * * Copyright (C) 2021 Dillon Min * * For dbi+dpi part: * Derived from drivers/drm/gpu/panel/panel-ilitek-ili9322.c * the reuse of DBI abstraction part referred from Linus's patch * "drm/panel: s6e63m0: Switch to DBI abstraction for SPI" * * For only-dbi part, copy from David's code (drm/tiny/ili9341.c) * Copyright 2018 David Lechner */ #include #include #include #include #include #include #include #include