Standard mode I2C speed is 100 kbit/s and should be used instead of 200 kbit/s which is non-standard.
Signed-off-by: Jonathan Liu <[email protected]> --- arch/arm/plat-sunxi/include/plat/i2c.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/plat-sunxi/include/plat/i2c.h b/arch/arm/plat-sunxi/include/plat/i2c.h index be8fe41..d75347b 100644 --- a/arch/arm/plat-sunxi/include/plat/i2c.h +++ b/arch/arm/plat-sunxi/include/plat/i2c.h @@ -194,10 +194,10 @@ Foscl is clock SCL;standard mode:100KHz or fast mode:400KHz #define TWI4_BASE_ADDR_END (TWI4_BASE_ADDR_START + AW_TWI_ADDR_SIZE) #define I2C0_TRANSFER_SPEED (400000) -#define I2C1_TRANSFER_SPEED (200000) -#define I2C2_TRANSFER_SPEED (200000) -#define I2C3_TRANSFER_SPEED (200000) -#define I2C4_TRANSFER_SPEED (200000) +#define I2C1_TRANSFER_SPEED (100000) +#define I2C2_TRANSFER_SPEED (100000) +#define I2C3_TRANSFER_SPEED (100000) +#define I2C4_TRANSFER_SPEED (100000) struct sunxi_i2c_platform_data { int bus_num; -- 1.9.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
