Skip to contentSkip to conversation

Add driver for powermac keywest i2c interface

PATCH Applied Paul Mackerras 2 participants 2 messages Apr 10, 2003 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add driver for powermac keywest i2c interface

Greg,

Here is a patch that adds an i2c bus driver for the i2c interface found in the "KeyWest" and later combo-I/O chips used in powermacs. The patch is against Linus' current BK tree.

Paul.

drivers/i2c/Kconfig +11 -0
diff -urN linux-2.5/drivers/i2c/Kconfig pmac-2.5/drivers/i2c/Kconfig
@@ -142,6 +142,17 @@
 	  <file:Documentation/modules.txt>.
 	  The module will be called i2c-elektor.
 
+config I2C_KEYWEST
+	tristate "Powermac Keywest I2C interface"
+	depends on I2C && ALL_PPC
+	help
+	  This supports the use of the I2C interface in the combo-I/O
+	  chip on recent Apple machines.  Say Y if you have such a machine.
+
+	  This driver is also available as a module.  If you want to compile
+	  it as a module, say M here and read Documentation/modules.txt.
+	  The module will be called i2c-keywest.
+
 config ITE_I2C_ALGO
 	tristate "ITE I2C Algorithm"
 	depends on MIPS_ITE8172 && I2C
drivers/i2c/Makefile +1 -0
diff -urN linux-2.5/drivers/i2c/Makefile pmac-2.5/drivers/i2c/Makefile
@@ -10,6 +10,7 @@
 obj-$(CONFIG_I2C_VELLEMAN)	+= i2c-velleman.o
 obj-$(CONFIG_I2C_ALGOPCF)	+= i2c-algo-pcf.o
 obj-$(CONFIG_I2C_ELEKTOR)	+= i2c-elektor.o
+obj-$(CONFIG_I2C_KEYWEST)	+= i2c-keywest.o
 obj-$(CONFIG_ITE_I2C_ALGO)	+= i2c-algo-ite.o
 obj-$(CONFIG_ITE_I2C_ADAP)	+= i2c-adap-ite.o
 obj-$(CONFIG_SCx200_I2C)	+= scx200_i2c.o
drivers/i2c/i2c-keywest.c +666 -0

666 lines not on this page · raw message

drivers/i2c/i2c-keywest.h +111 -0

111 lines not on this page · raw message

Applied
#1 lore raw
Quoted 5 lines · Paul Mackerras

Greg,

Here is a patch that adds an i2c bus driver for the i2c interface found in the "KeyWest" and later combo-I/O chips used in powermacs. The patch is against Linus' current BK tree.

Applied, thanks.

greg k-h