Add support for the display panel of the Anbernic RG28XX, a handheld gaming device from Anbernic. "RG28XX" is the actual name of the device. This panel is driven by a variant of the ST7701 driver IC internally, and is connected via an RGB parallel interface for image transmission and an SPI interface for configuration. Since the current code of the panel driver for ST7701 variants only supports MIPI DSI as the configuration interface, add support for SPI as well. v3: - Split commits - Remove unnecessary changes - Change Kconfig dependency and adjust for it - Fix incorrect device variable in st7701_get_modes() v2: - Update dt-bindings - Rename DSI_CMD* macros to ST7701_CMD* - Rename ST7701_DSI macro to ST7701_WRITE - Fix incorrect dev_err_probe() usage - Remove GPIOD_FLAGS_BIT_NONEXCLUSIVE flag - Remove st7701_remove() and st7701_spi_remove() - Call drm_panel_disable() and drm_panel_unprepare() on cleanup Hironori KIKUCHI (5): drm/panel: st7701: Rename macros drm/panel: st7701: Decouple DSI and DRM parts dt-bindings: display: st7701: Add Anbernic RG28XX panel drm/panel: st7701: Add support for SPI for configuration drm/panel: st7701: Add Anbernic RG28XX panel support .../display/panel/sitronix,st7701.yaml | 69 +- drivers/gpu/drm/panel/Kconfig | 3 +- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 1074 ++++++++++------- 3 files changed, 734 insertions(+), 412 deletions(-) -- 2.45.2