From 7480b6bb80d0e28bb0126847b1f0a8a6de9cbdfd Mon Sep 17 00:00:00 2001 From: hexkyz Date: Mon, 30 Nov 2020 19:19:43 +0000 Subject: [PATCH] fusee: move dsi register write to the proper configuration list --- fusee/fusee-primary/fusee-primary-main/src/di.c | 8 ++++---- fusee/fusee-primary/fusee-primary-main/src/di.inl | 6 +++--- fusee/fusee-secondary/src/di.c | 8 ++++---- fusee/fusee-secondary/src/di.inl | 6 +++--- sept/sept-secondary/src/di.c | 8 ++++---- sept/sept-secondary/src/di.inl | 6 +++--- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/fusee/fusee-primary/fusee-primary-main/src/di.c b/fusee/fusee-primary/fusee-primary-main/src/di.c index 2463626b6..902b06f03 100644 --- a/fusee/fusee-primary/fusee-primary-main/src/di.c +++ b/fusee/fusee-primary/fusee-primary-main/src/di.c @@ -120,9 +120,9 @@ void display_init_erista(void) { do_register_writes(DI_BASE, display_config_dc_01, 94); do_register_writes(DSI_BASE, display_config_dsi_01_init_01, 8); do_register_writes(DSI_BASE, display_config_dsi_01_init_02_erista, 1); - do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 13); + do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 14); do_register_writes(DSI_BASE, display_config_dsi_01_init_04_erista, 0); - do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 11); + do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 10); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_erista, 1); do_register_writes(DSI_BASE, display_config_dsi_01_init_06, 12); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_erista, 1); @@ -276,9 +276,9 @@ void display_init_mariko(void) { do_register_writes(DI_BASE, display_config_dc_01, 94); do_register_writes(DSI_BASE, display_config_dsi_01_init_01, 8); do_register_writes(DSI_BASE, display_config_dsi_01_init_02_mariko, 1); - do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 13); + do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 14); do_register_writes(DSI_BASE, display_config_dsi_01_init_04_mariko, 7); - do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 11); + do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 10); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_mariko, 1); do_register_writes(DSI_BASE, display_config_dsi_01_init_06, 12); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_mariko, 1); diff --git a/fusee/fusee-primary/fusee-primary-main/src/di.inl b/fusee/fusee-primary/fusee-primary-main/src/di.inl index 2544a8f29..5a640dcf3 100644 --- a/fusee/fusee-primary/fusee-primary-main/src/di.inl +++ b/fusee/fusee-primary/fusee-primary-main/src/di.inl @@ -159,7 +159,7 @@ static const register_write_t display_config_dsi_01_init_02_mariko[1] = { {sizeof(uint32_t) * DSI_INIT_SEQ_DATA_15_MARIKO, 0x0}, }; -static const register_write_t display_config_dsi_01_init_03[13] = { +static const register_write_t display_config_dsi_01_init_03[14] = { {sizeof(uint32_t) * DSI_DCS_CMDS, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_0_LO, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_1_LO, 0}, @@ -173,6 +173,7 @@ static const register_write_t display_config_dsi_01_init_03[13] = { {sizeof(uint32_t) * DSI_PKT_SEQ_3_HI, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_4_HI, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_5_HI, 0}, + {sizeof(uint32_t) * DSI_CONTROL, 0}, }; static const register_write_t display_config_dsi_01_init_04_erista[0] = { @@ -189,8 +190,7 @@ static const register_write_t display_config_dsi_01_init_04_mariko[7] = { {sizeof(uint32_t) * DSI_PAD_CONTROL_7_MARIKO, 0}, }; -static const register_write_t display_config_dsi_01_init_05[11] = { - {sizeof(uint32_t) * DSI_CONTROL, 0}, +static const register_write_t display_config_dsi_01_init_05[10] = { {sizeof(uint32_t) * DSI_PAD_CONTROL_CD, 0}, {sizeof(uint32_t) * DSI_SOL_DELAY, 0x18}, {sizeof(uint32_t) * DSI_MAX_THRESHOLD, 0x1E0}, diff --git a/fusee/fusee-secondary/src/di.c b/fusee/fusee-secondary/src/di.c index 2463626b6..902b06f03 100644 --- a/fusee/fusee-secondary/src/di.c +++ b/fusee/fusee-secondary/src/di.c @@ -120,9 +120,9 @@ void display_init_erista(void) { do_register_writes(DI_BASE, display_config_dc_01, 94); do_register_writes(DSI_BASE, display_config_dsi_01_init_01, 8); do_register_writes(DSI_BASE, display_config_dsi_01_init_02_erista, 1); - do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 13); + do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 14); do_register_writes(DSI_BASE, display_config_dsi_01_init_04_erista, 0); - do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 11); + do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 10); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_erista, 1); do_register_writes(DSI_BASE, display_config_dsi_01_init_06, 12); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_erista, 1); @@ -276,9 +276,9 @@ void display_init_mariko(void) { do_register_writes(DI_BASE, display_config_dc_01, 94); do_register_writes(DSI_BASE, display_config_dsi_01_init_01, 8); do_register_writes(DSI_BASE, display_config_dsi_01_init_02_mariko, 1); - do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 13); + do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 14); do_register_writes(DSI_BASE, display_config_dsi_01_init_04_mariko, 7); - do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 11); + do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 10); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_mariko, 1); do_register_writes(DSI_BASE, display_config_dsi_01_init_06, 12); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_mariko, 1); diff --git a/fusee/fusee-secondary/src/di.inl b/fusee/fusee-secondary/src/di.inl index 2544a8f29..5a640dcf3 100644 --- a/fusee/fusee-secondary/src/di.inl +++ b/fusee/fusee-secondary/src/di.inl @@ -159,7 +159,7 @@ static const register_write_t display_config_dsi_01_init_02_mariko[1] = { {sizeof(uint32_t) * DSI_INIT_SEQ_DATA_15_MARIKO, 0x0}, }; -static const register_write_t display_config_dsi_01_init_03[13] = { +static const register_write_t display_config_dsi_01_init_03[14] = { {sizeof(uint32_t) * DSI_DCS_CMDS, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_0_LO, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_1_LO, 0}, @@ -173,6 +173,7 @@ static const register_write_t display_config_dsi_01_init_03[13] = { {sizeof(uint32_t) * DSI_PKT_SEQ_3_HI, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_4_HI, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_5_HI, 0}, + {sizeof(uint32_t) * DSI_CONTROL, 0}, }; static const register_write_t display_config_dsi_01_init_04_erista[0] = { @@ -189,8 +190,7 @@ static const register_write_t display_config_dsi_01_init_04_mariko[7] = { {sizeof(uint32_t) * DSI_PAD_CONTROL_7_MARIKO, 0}, }; -static const register_write_t display_config_dsi_01_init_05[11] = { - {sizeof(uint32_t) * DSI_CONTROL, 0}, +static const register_write_t display_config_dsi_01_init_05[10] = { {sizeof(uint32_t) * DSI_PAD_CONTROL_CD, 0}, {sizeof(uint32_t) * DSI_SOL_DELAY, 0x18}, {sizeof(uint32_t) * DSI_MAX_THRESHOLD, 0x1E0}, diff --git a/sept/sept-secondary/src/di.c b/sept/sept-secondary/src/di.c index 2463626b6..902b06f03 100644 --- a/sept/sept-secondary/src/di.c +++ b/sept/sept-secondary/src/di.c @@ -120,9 +120,9 @@ void display_init_erista(void) { do_register_writes(DI_BASE, display_config_dc_01, 94); do_register_writes(DSI_BASE, display_config_dsi_01_init_01, 8); do_register_writes(DSI_BASE, display_config_dsi_01_init_02_erista, 1); - do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 13); + do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 14); do_register_writes(DSI_BASE, display_config_dsi_01_init_04_erista, 0); - do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 11); + do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 10); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_erista, 1); do_register_writes(DSI_BASE, display_config_dsi_01_init_06, 12); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_erista, 1); @@ -276,9 +276,9 @@ void display_init_mariko(void) { do_register_writes(DI_BASE, display_config_dc_01, 94); do_register_writes(DSI_BASE, display_config_dsi_01_init_01, 8); do_register_writes(DSI_BASE, display_config_dsi_01_init_02_mariko, 1); - do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 13); + do_register_writes(DSI_BASE, display_config_dsi_01_init_03, 14); do_register_writes(DSI_BASE, display_config_dsi_01_init_04_mariko, 7); - do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 11); + do_register_writes(DSI_BASE, display_config_dsi_01_init_05, 10); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_mariko, 1); do_register_writes(DSI_BASE, display_config_dsi_01_init_06, 12); do_register_writes(DSI_BASE, display_config_dsi_phy_timing_mariko, 1); diff --git a/sept/sept-secondary/src/di.inl b/sept/sept-secondary/src/di.inl index 2544a8f29..5a640dcf3 100644 --- a/sept/sept-secondary/src/di.inl +++ b/sept/sept-secondary/src/di.inl @@ -159,7 +159,7 @@ static const register_write_t display_config_dsi_01_init_02_mariko[1] = { {sizeof(uint32_t) * DSI_INIT_SEQ_DATA_15_MARIKO, 0x0}, }; -static const register_write_t display_config_dsi_01_init_03[13] = { +static const register_write_t display_config_dsi_01_init_03[14] = { {sizeof(uint32_t) * DSI_DCS_CMDS, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_0_LO, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_1_LO, 0}, @@ -173,6 +173,7 @@ static const register_write_t display_config_dsi_01_init_03[13] = { {sizeof(uint32_t) * DSI_PKT_SEQ_3_HI, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_4_HI, 0}, {sizeof(uint32_t) * DSI_PKT_SEQ_5_HI, 0}, + {sizeof(uint32_t) * DSI_CONTROL, 0}, }; static const register_write_t display_config_dsi_01_init_04_erista[0] = { @@ -189,8 +190,7 @@ static const register_write_t display_config_dsi_01_init_04_mariko[7] = { {sizeof(uint32_t) * DSI_PAD_CONTROL_7_MARIKO, 0}, }; -static const register_write_t display_config_dsi_01_init_05[11] = { - {sizeof(uint32_t) * DSI_CONTROL, 0}, +static const register_write_t display_config_dsi_01_init_05[10] = { {sizeof(uint32_t) * DSI_PAD_CONTROL_CD, 0}, {sizeof(uint32_t) * DSI_SOL_DELAY, 0x18}, {sizeof(uint32_t) * DSI_MAX_THRESHOLD, 0x1E0},