Skip to contentSkip to conversation

Blackfin I2C Driver: since only a few Blackfins lack TWI, just list them in the depends string

PATCH Applied Bryan Wu 2 participants 3 messages May 12, 2008 2 messages not in the archive I2C subsystem host drivers

lore
Share & tools
lore

Bryan Wu

author
#0 lore raw

PATCH 1/1 Blackfin I2C Driver: since only a few Blackfins lack TWI, just list them in the depends string

From: Mike Frysinger <[email protected]>

---
 drivers/i2c/busses/Kconfig |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
drivers/i2c/busses/Kconfig +2 -3
index 48438cc..b93186b 100644
@@ -101,10 +101,9 @@ config I2C_AU1550
 config I2C_BLACKFIN_TWI
 	tristate "Blackfin TWI I2C support"
 	depends on BLACKFIN
+	depends on !BF561 && !BF531 && !BF532 && !BF533
 	help
-	  This is the TWI I2C device driver for Blackfin BF522, BF525,
-	  BF527, BF534, BF536, BF537 and BF54x. For other Blackfin processors,
-	  please don't use this driver.
+	  This is the I2C device driver for Blackfin on-chip TWI interface.
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-bfin-twi.
Signature · 6 lines
1.5.5

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

A message that is not in the archive (sent off-list or not yet received): 1210565911-4633-1-git-send-email-cooloney-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org

Applied
#2 lore raw
Quoted 15 lines · Bryan Wu

From: Mike Frysinger <[email protected]>

---
 drivers/i2c/busses/Kconfig |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
drivers/i2c/busses/Kconfig +0 -0
index 48438cc..b93186b 100644
@@ -101,10 +101,9 @@ config I2C_AU1550
 config I2C_BLACKFIN_TWI
 	tristate "Blackfin TWI I2C support"

drivers/i2c/busses/Kconfig config I2C_AU1550 · line 109

Quoted 10 lines
drivers/i2c/busses/Kconfig +2 -3
 	depends on BLACKFIN
+	depends on !BF561 && !BF531 && !BF532 && !BF533
 	help
-	  This is the TWI I2C device driver for Blackfin BF522, BF525,
-	  BF527, BF534, BF536, BF537 and BF54x. For other Blackfin processors,
-	  please don't use this driver.
+	  This is the I2C device driver for Blackfin on-chip TWI interface.
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-bfin-twi.

Applied, thanks. I've additionally changed "I2C device driver" to "I2C bus driver" for clarity.

Signature · 6 lines
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw
Quoted 25 lines · Jean Delvare
Quoted 23 lines · Bryan Wu

From: Mike Frysinger <[email protected]>

---
 drivers/i2c/busses/Kconfig |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
drivers/i2c/busses/Kconfig +2 -3
index 48438cc..b93186b 100644
@@ -101,10 +101,9 @@ config I2C_AU1550
 config I2C_BLACKFIN_TWI
      tristate "Blackfin TWI I2C support"
      depends on BLACKFIN
+     depends on !BF561 && !BF531 && !BF532 && !BF533
      help
-       This is the TWI I2C device driver for Blackfin BF522, BF525,
-       BF527, BF534, BF536, BF537 and BF54x. For other Blackfin processors,
-       please don't use this driver.
+       This is the I2C device driver for Blackfin on-chip TWI interface.
 
Quoted 6 lines

drivers/i2c/busses/Kconfig config I2C_AU1550 · line 109

Quoted 2 lines
drivers/i2c/busses/Kconfig +0 -0
        This driver can also be built as a module.  If so, the module
        will be called i2c-bfin-twi.

Applied, thanks. I've additionally changed "I2C device driver" to "I2C bus driver" for clarity.

No problem. Thanks
-Bryan

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c