/**
 * @file k_connector_compat.h
 * @brief Backward-compatible aliases for legacy k_connector_type enum names.
 *
 * Included automatically from k_connector_comm.h unless K_CONNECTOR_NO_COMPAT
 * is defined before including the header.  New code should use the new names.
 */
#ifndef __K_CONNECTOR_COMPAT_H__
#define __K_CONNECTOR_COMPAT_H__

/* DSI panels */
#define HX8377_V2_MIPI_4LAN_1080X1920_30FPS  HX8399_1080_1920_DSI_V1
#define ILI9806_MIPI_2LAN_480X800_30FPS      ILI9806_480_800_DSI_V1
#define ILI9881_MIPI_4LAN_800X1280_60FPS     ILI9881_800_1280_DSI_V1
#define NT35516_MIPI_2LAN_536X960_30FPS      NT35516_536_960_DSI_V1
#define NT35532_MIPI_2LAN_1080X1920_30FPS    NT35532_1080_1920_DSI_V1
#define GC9503_MIPI_2LAN_480X800_60FPS       GC9503_480_800_DSI_V1
#define ST7102_MIPI_2LAN_480X640_60FPS       ST7102_480_640_DSI_V1
#define AML020T_MIPI_2LAN_480X360_30FPS      AML020T_480_360_DSI_V1

/* ST7701 */
#define ST7701_V1_MIPI_2LAN_480X800_30FPS    ST7701_480_800_DSI_V1
#define ST7701_V1_MIPI_2LAN_480X854_30FPS    ST7701_480_854_DSI_V1
#define ST7701_V1_MIPI_2LAN_480X640_30FPS    ST7701_480_640_DSI_V1
#define ST7701_V1_MIPI_2LAN_368X544_60FPS    ST7701_368_544_DSI_V1

/* JD9852 */
#define JD9852_MIPI_1LAN_240X320_60FPS       JD9852_240_320_DSI_V1

/* LT9611 HDMI */
#define LT9611_MIPI_ADAPT_RESOLUTION         __UINT32_MAX__
#define LT9611_MIPI_4LAN_1920X1080_30FPS     LT9611_1920_1080_HDMI_V1
#define LT9611_MIPI_4LAN_1920X1080_60FPS     LT9611_1920_1080_HDMI_V2
#define LT9611_MIPI_4LAN_1920X1080_50FPS     __UINT32_MAX__
#define LT9611_MIPI_4LAN_1920X1080_25FPS     __UINT32_MAX__
#define LT9611_MIPI_4LAN_1920X1080_24FPS     __UINT32_MAX__
#define LT9611_MIPI_4LAN_1280X720_60FPS      LT9611_1280_720_HDMI_V1
#define LT9611_MIPI_4LAN_1280X720_50FPS      LT9611_1280_720_HDMI_V2
#define LT9611_MIPI_4LAN_1280X720_30FPS      LT9611_1280_720_HDMI_V3
#define LT9611_MIPI_4LAN_640X480_60FPS       LT9611_640_480_HDMI_V1

/* SPI panels */
#define ST7789_SPI_320X240_30FPS             ST7789_320_240_SPI_V1
#define ST7789_I8080_240X280_60FPS           ST7789_240_280_I8080_V1

#endif /* __K_CONNECTOR_COMPAT_H__ */
