Re: [PATCH v2 3/3] hw: arm: allwinner-h3: Fix and complete H3 i2c devices

2023-03-06 Thread Peter Maydell
On Mon, 20 Feb 2023 at 08:13, wrote: > > From: qianfan Zhao > > Allwinner h3 has 4 twi(i2c) devices named twi0, twi1, twi2 and r_twi. > The registers are compatible with TYPE_AW_I2C_SUN6I, write 1 to clear > control register's INT_FLAG bit. > > Signed-off-by: qianfan Zhao Reviewed-by: Peter May

Re: [PATCH v2 3/3] hw: arm: allwinner-h3: Fix and complete H3 i2c devices

2023-02-21 Thread Strahinja Jankovic
(adding Niek to the thread as well) On Mon, Feb 20, 2023 at 9:13 AM wrote: > > From: qianfan Zhao > > Allwinner h3 has 4 twi(i2c) devices named twi0, twi1, twi2 and r_twi. > The registers are compatible with TYPE_AW_I2C_SUN6I, write 1 to clear > control register's INT_FLAG bit. > > Signed-off-by

[PATCH v2 3/3] hw: arm: allwinner-h3: Fix and complete H3 i2c devices

2023-02-20 Thread qianfanguijin
From: qianfan Zhao Allwinner h3 has 4 twi(i2c) devices named twi0, twi1, twi2 and r_twi. The registers are compatible with TYPE_AW_I2C_SUN6I, write 1 to clear control register's INT_FLAG bit. Signed-off-by: qianfan Zhao --- hw/arm/allwinner-h3.c | 29 + incl