Skip to content

Commit 21670a6

Browse files
committed
Merge branch 'feat/mipi_dsi_idf6' into 'master'
feat(mipi-dsi): Updated MIPI-DSI structs for IDF6 See merge request ae_group/esp-iot-solution!1415
2 parents e7ea5f7 + 028448e commit 21670a6

File tree

33 files changed

+368
-14
lines changed

33 files changed

+368
-14
lines changed

components/display/lcd/esp_lcd_co5300/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## v2.0.1 - 2025-11-12
4+
5+
* Updated MIPI-DSI structs for IDF6
6+
37
## v2.0.0 - 2025-10-29
48

59
### Changes:

components/display/lcd/esp_lcd_co5300/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "2.0.0"
1+
version: "2.0.1"
22
description: ESP LCD CO5300(SPI & QSPI & MIPI-DSI)
33
url: https://github.com/espressif/esp-iot-solution/tree/master/components/display/lcd/esp_lcd_co5300
44
repository: https://github.com/espressif/esp-iot-solution.git

components/display/lcd/esp_lcd_co5300/include/esp_lcd_co5300.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,33 @@ esp_err_t esp_lcd_panel_co5300_set_brightness(esp_lcd_panel_handle_t panel, uint
195195
.flags.use_dma2d = true, \
196196
}
197197

198+
/**
199+
* @brief MIPI DPI configuration structure
200+
*
201+
* @note refresh_rate = (dpi_clock_freq_mhz * 1000000) / (h_res + hsync_pulse_width + hsync_back_porch + hsync_front_porch)
202+
* / (v_res + vsync_pulse_width + vsync_back_porch + vsync_front_porch)
203+
*
204+
*/
205+
#define CO5300_466_466_PANEL_60HZ_DPI_CONFIG_CF(color_format) \
206+
{ \
207+
.dpi_clk_src = MIPI_DSI_DPI_CLK_SRC_DEFAULT, \
208+
.dpi_clock_freq_mhz = 16, \
209+
.virtual_channel = 0, \
210+
.in_color_format = color_format, \
211+
.num_fbs = 1, \
212+
.video_timing = { \
213+
.h_size = 466, \
214+
.v_size = 466, \
215+
.hsync_back_porch = 32, \
216+
.hsync_pulse_width = 4, \
217+
.hsync_front_porch = 32, \
218+
.vsync_back_porch = 12, \
219+
.vsync_pulse_width = 4, \
220+
.vsync_front_porch = 18, \
221+
}, \
222+
.flags.use_dma2d = true, \
223+
}
224+
198225
#ifdef __cplusplus
199226
}
200227
#endif

components/display/lcd/esp_lcd_ek79007/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## v2.0.1 - 2025-11-12
4+
5+
* Updated MIPI-DSI structs for IDF6
6+
37
## v2.0.0 - 2025-10-29
48

59
### Changes:

components/display/lcd/esp_lcd_ek79007/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "2.0.0"
1+
version: "2.0.1"
22
targets:
33
- esp32p4
44
description: ESP LCD EK79007(MIPI-DSI)

components/display/lcd/esp_lcd_ek79007/include/esp_lcd_ek79007.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,33 @@ esp_err_t esp_lcd_new_panel_ek79007(const esp_lcd_panel_io_handle_t io, const es
113113
.flags = { .use_dma2d = true, }, \
114114
}
115115

116+
/**
117+
* @brief MIPI DPI configuration structure
118+
*
119+
* @note refresh_rate = (dpi_clock_freq_mhz * 1000000) / (h_res + hsync_pulse_width + hsync_back_porch + hsync_front_porch)
120+
* / (v_res + vsync_pulse_width + vsync_back_porch + vsync_front_porch)
121+
*
122+
*/
123+
#define EK79007_1024_600_PANEL_60HZ_CONFIG_CF(color_format) \
124+
{ \
125+
.virtual_channel = 0, \
126+
.dpi_clk_src = MIPI_DSI_DPI_CLK_SRC_DEFAULT, \
127+
.dpi_clock_freq_mhz = 52, \
128+
.in_color_format = color_format, \
129+
.num_fbs = 1, \
130+
.video_timing = { \
131+
.h_size = 1024, \
132+
.v_size = 600, \
133+
.hsync_pulse_width = 10, \
134+
.hsync_back_porch = 160, \
135+
.hsync_front_porch = 160, \
136+
.vsync_pulse_width = 1, \
137+
.vsync_back_porch = 23, \
138+
.vsync_front_porch = 12, \
139+
}, \
140+
.flags = { .use_dma2d = true, }, \
141+
}
142+
116143
#ifdef __cplusplus
117144
}
118145
#endif

components/display/lcd/esp_lcd_er88577/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## v1.0.1 - 2025-11-12
4+
5+
* Updated MIPI-DSI structs for IDF6
6+
37
## v0.1.0 - 2025-11-05
48

59
### Enhancements:

components/display/lcd/esp_lcd_er88577/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.0.0"
1+
version: "1.0.1"
22
targets:
33
- esp32p4
44
description: ESP LCD ER88577 (MIPI-DSI)

components/display/lcd/esp_lcd_er88577/include/esp_lcd_er88577.h

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,35 @@ esp_err_t esp_lcd_new_panel_er88577(const esp_lcd_panel_io_handle_t io, const es
117117
.flags.use_dma2d = true, \
118118
}
119119

120+
/**
121+
* @brief MIPI DPI configuration structure
122+
*
123+
* @note refresh_rate = (dpi_clock_freq_mhz * 1000000) / (h_res + hsync_pulse_width + hsync_back_porch + hsync_front_porch)
124+
* / (v_res + vsync_pulse_width + vsync_back_porch + vsync_front_porch)
125+
*
126+
* @param[in] color_format Input color format of the panel
127+
*
128+
*/
129+
#define ER88577_800_1280_PANEL_60HZ_DPI_CONFIG_CF(color_format) \
130+
{ \
131+
.dpi_clk_src = MIPI_DSI_DPI_CLK_SRC_DEFAULT, \
132+
.dpi_clock_freq_mhz = 65, \
133+
.virtual_channel = 0, \
134+
.in_color_format = color_format, \
135+
.num_fbs = 1, \
136+
.video_timing = { \
137+
.h_size = 800, \
138+
.v_size = 1280, \
139+
.hsync_back_porch = 80, \
140+
.hsync_pulse_width = 20, \
141+
.hsync_front_porch = 80, \
142+
.vsync_back_porch = 12, \
143+
.vsync_pulse_width = 4, \
144+
.vsync_front_porch = 20, \
145+
}, \
146+
.flags.use_dma2d = true, \
147+
}
148+
120149
#ifdef __cplusplus
121150
}
122151
#endif

components/display/lcd/esp_lcd_hx8399/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## v2.0.1 - 2025-11-12
4+
5+
* Updated MIPI-DSI structs for IDF6
6+
37
## v2.0.0 - 2025-10-29
48

59
### Changes:

0 commit comments

Comments
 (0)