[PATCH 09/11] sunxi: i2c: add support for A733
Yixun Lan
dlan at gentoo.org
Sun Nov 16 15:44:00 CET 2025
On A733 SoC, the I2C controller's IFLG is a write-clear bit.
Signed-off-by: Yixun Lan <dlan at gentoo.org>
---
drivers/i2c/mvtwsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c
index 44e8e191b03..9c1503b70a2 100644
--- a/drivers/i2c/mvtwsi.c
+++ b/drivers/i2c/mvtwsi.c
@@ -125,7 +125,7 @@ enum mvtwsi_ctrl_register_fields {
*/
#if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_SUN50I_GEN_H6) || \
- defined(CONFIG_SUNXI_GEN_NCAT2)
+ defined(CONFIG_SUNXI_GEN_NCAT2) || defined(CONFIG_MACH_SUN60I_A733)
#define MVTWSI_CONTROL_CLEAR_IFLG 0x00000008
#else
#define MVTWSI_CONTROL_CLEAR_IFLG 0x00000000
--
2.51.2
More information about the U-Boot
mailing list