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

@@ -260,8 +260,8 @@ config SOC_LCD_I80_SUPPORTED
default y
config SOC_LCD_I80_BUSES
bool
default y
int
default 2
config SOC_LCD_I80_BUS_WIDTH
int

View File

@@ -185,7 +185,7 @@
/*-------------------------- LCD CAPS ----------------------------------------*/
/* Notes: On esp32, LCD intel 8080 timing is generated by I2S peripheral */
#define SOC_LCD_I80_SUPPORTED (1) /*!< Intel 8080 LCD is supported */
#define SOC_LCD_I80_BUSES (1) /*!< Only I2S0 has LCD mode */
#define SOC_LCD_I80_BUSES (2) /*!< Both I2S0/1 have LCD mode */
#define SOC_LCD_I80_BUS_WIDTH (24) /*!< Intel 8080 bus width */
/*-------------------------- LEDC CAPS ---------------------------------------*/