Merge branch 'bugfix/dw_gdma_master_port_setting' into 'master'

fix(dw_gdma): wrong master port setting for destination

See merge request espressif/esp-idf!28045
This commit is contained in:
morris 2023-12-21 18:20:32 +08:00
commit b655a7aae4
3 changed files with 6 additions and 6 deletions

View File

@ -465,7 +465,7 @@ esp_err_t dw_gdma_channel_config_transfer(dw_gdma_channel_handle_t chan, const d
// [Ctrl0] register
// set master port for the source and destination target
dw_gdma_ll_channel_set_src_master_port(hal->dev, chan_id, config->src.addr);
dw_gdma_ll_channel_set_dst_master_port(hal->dev, chan_id, config->src.addr);
dw_gdma_ll_channel_set_dst_master_port(hal->dev, chan_id, config->dst.addr);
// transfer width
dw_gdma_ll_channel_set_src_trans_width(hal->dev, chan_id, config->src.width);
dw_gdma_ll_channel_set_dst_trans_width(hal->dev, chan_id, config->dst.width);

View File

@ -255,10 +255,10 @@ static inline void mipi_dsi_brg_ll_set_yuv_convert_std(dsi_brg_dev_t* dev, lcd_y
{
switch (std) {
case LCD_YUV_CONV_STD_BT601:
dev->yuv_cfg.protocal = 0;
dev->yuv_cfg.protocol = 0;
break;
case LCD_YUV_CONV_STD_BT709:
dev->yuv_cfg.protocal = 1;
dev->yuv_cfg.protocol = 1;
break;
default:
abort();

View File

@ -495,10 +495,10 @@ typedef union {
*/
typedef union {
struct {
/** protocal : R/W; bitpos: [0]; default: 0;
* this bit configures yuv protoocl, 0: bt.601, 1: bt.709
/** protocol : R/W; bitpos: [0]; default: 0;
* this bit configures yuv protocol, 0: bt.601, 1: bt.709
*/
uint32_t protocal:1;
uint32_t protocol:1;
/** yuv_pix_endian : R/W; bitpos: [1]; default: 0;
* this bit configures yuv pixel endian, 0: y0u0y1v1y2u2y3v3, 1: y3u3y2v2y1u1y0v0
*/