lcd: support I2S1 LCD mode on esp32

This commit is contained in:
morris
2022-03-03 15:35:43 +08:00
parent f35edeb5a3
commit 9422fe077a
14 changed files with 85 additions and 52 deletions

View File

@@ -528,12 +528,12 @@ config SOC_LCD_RGB_SUPPORTED
default y
config SOC_LCD_I80_BUSES
bool
default y
int
default 1
config SOC_LCD_RGB_PANELS
bool
default y
int
default 1
config SOC_LCD_I80_BUS_WIDTH
int

View File

@@ -194,8 +194,8 @@
/* Notes: On esp32-s3, I80 bus and RGB timing generator can't work at the same time */
#define SOC_LCD_I80_SUPPORTED (1) /*!< Intel 8080 LCD is supported */
#define SOC_LCD_RGB_SUPPORTED (1) /*!< RGB LCD is supported */
#define SOC_LCD_I80_BUSES (1) /*!< Has one LCD Intel 8080 bus */
#define SOC_LCD_RGB_PANELS (1) /*!< Support one RGB LCD panel */
#define SOC_LCD_I80_BUSES (1U) /*!< Has one LCD Intel 8080 bus */
#define SOC_LCD_RGB_PANELS (1U) /*!< Support one RGB LCD panel */
#define SOC_LCD_I80_BUS_WIDTH (16) /*!< Intel 8080 bus width */
#define SOC_LCD_RGB_DATA_WIDTH (16) /*!< Number of LCD data lines */