On 23/04/14 05:23, Jonathan Liu wrote:
On 20 March 2014 23:53, Jonathan Liu <[email protected]> wrote:
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
Bump. This is for sunxi-3.4 branch.
Any takers for landing this fix?
sorry for the delay, applied to stage/sunxi-3.4
please try to specify it next time as [PATCH 3.4] on the subject :)
Cheers,
Alejandro Mery
--
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.