Skip to content

Conversation

@ycsin
Copy link
Member

@ycsin ycsin commented Oct 30, 2025

Depending on the IP's IC_TX_CMD_BLOCK_DEFAULT parameter, we might have to clear the TX_CMD_BLOCK bit on init so that Master mode works.

Fixes #98588

Depending on the IP's `IC_TX_CMD_BLOCK_DEFAULT` parameter, we might have to clear the `TX_CMD_BLOCK` bit on init so that Master mode works. Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
@ycsin ycsin force-pushed the pr/dw_i2c-fix_block_mode branch from 2c2b3e2 to cd6bd5b Compare October 30, 2025 15:30
@ycsin ycsin added the bug The issue is a bug, or the PR is fixing a bug label Oct 30, 2025
@ycsin ycsin marked this pull request as ready for review October 30, 2025 15:34
@zephyrbot zephyrbot requested a review from teburd October 30, 2025 15:36
@ycsin ycsin added this to the v4.3.0 milestone Oct 30, 2025
uint32_t reg_base = get_regs(dev);

clear_bit_enable_en(reg_base);
/* depending on the IP configuration, we may have to disable block mode in master mode */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: I2C bug The issue is a bug, or the PR is fixing a bug

4 participants