Skip to contentSkip to conversation

OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5

PATCH Superseded Lubomir Popov 1 participant 1 message Mar 29, 2013 Arm (32-bit)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5

Needed in order to be able to select I2C4 and I2C5 via "i2c dev".

---
 arch/arm/include/asm/arch-omap5/i2c.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/arch/arm/include/asm/arch-omap5/i2c.h
index 68be03b..ec39a53 100644

arch/arm/include/asm/arch-omap5/i2c.h +1 -1
@@ -23,7 +23,7 @@
 #ifndef _OMAP5_I2C_H_
 #define _OMAP5_I2C_H_
 
-#define I2C_BUS_MAX	3
+#define I2C_BUS_MAX	5
 #define I2C_DEFAULT_BASE	I2C_BASE1
 
 struct i2c {
Signature · 1 line
1.7.9.5