Skip to contentSkip to conversation

i2c driver changes for 2.5.73

PATCH New Greg KH 1 participant 3 messages Jun 23, 2003

Subsystems (3)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 1/1 i2c driver changes for 2.5.73

Hi,

Here are some i2c driver changes for 2.5.73. They add two new i2c bus controller drivers.

Please pull from: bk://kernel.bkbits.net/gregkh/linux/i2c-2.5

thanks,

greg k-h

 drivers/i2c/Kconfig              |   20 +
 drivers/i2c/Makefile             |    1 
 drivers/i2c/busses/Kconfig       |   16 +
 drivers/i2c/busses/Makefile      |    1 
 drivers/i2c/busses/i2c-ali1535.c |  555 +++++++++++++++++++++++++++++++++++++++
 drivers/i2c/i2c-prosavage.c      |  362 +++++++++++++++++++++++++
 6 files changed, 955 insertions(+)

-----

<henk:god.dyndns.org>:
o I2C: add i2c-prosavage driver

Greg Kroah-Hartman:
o I2C: add i2c-ali1535 bus driver

author
#1 lore raw

PATCH 1/1 i2c driver changes for 2.5.73

ChangeSet 1.1348.14.1, 2003/06/23 15:24:30-07:00, [email protected]

[PATCH] I2C: add i2c-prosavage driver

Using the MMIO method now, the driver should be able to handle multiple video cards.

The driver could potentialy also handle other s3 devices. You can try this by adding more pci id's to the prosavage_pci_tbl.

 drivers/i2c/Kconfig         |   20 ++
 drivers/i2c/Makefile        |    1 
 drivers/i2c/i2c-prosavage.c |  362 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 383 insertions(+)
drivers/i2c/Kconfig +20 -0
diff -Nru a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
@@ -42,6 +42,26 @@
 	  <file:Documentation/modules.txt>.
 	  The module will be called i2c-algo-bit.
 
+config I2C_PROSAVAGE
+	tristate "S3/VIA (Pro)Savage"
+	depends on I2C_ALGOBIT && PCI && EXPERIMENTAL
+	help
+	  If you say yes to this option, support will be included for the
+	  I2C bus and DDC bus of the S3VIA embedded Savage4 and ProSavage8
+	  graphics processors.
+	  chipsets supported:
+	    S3/VIA KM266/VT8375 aka ProSavage8
+	    S3/VIA KM133/VT8365 aka Savage4
+
+	  This can also be built as a module which can be inserted and removed
+	  while the kernel is running.  If you want to compile it as a module,
+	  say M here and read <file:Documentation/modules.txt>.
+	  The module will be called i2c-prosavage.
+
+	  You will also need the latest user-space utilties: you can find them
+	  in the lm_sensors package, which you can download at
+	  http://www.lm-sensors.nu
+
 config I2C_PHILIPSPAR
 	tristate "Philips style parallel port adapter"
 	depends on I2C_ALGOBIT && PARPORT
drivers/i2c/Makefile +1 -0
diff -Nru a/drivers/i2c/Makefile b/drivers/i2c/Makefile
@@ -5,6 +5,7 @@
 obj-$(CONFIG_I2C)		+= i2c-core.o
 obj-$(CONFIG_I2C_CHARDEV)	+= i2c-dev.o
 obj-$(CONFIG_I2C_ALGOBIT)	+= i2c-algo-bit.o
+obj-$(CONFIG_I2C_PROSAVAGE)	+= i2c-prosavage.o
 obj-$(CONFIG_I2C_PHILIPSPAR)	+= i2c-philips-par.o
 obj-$(CONFIG_I2C_ELV)		+= i2c-elv.o
 obj-$(CONFIG_I2C_VELLEMAN)	+= i2c-velleman.o
drivers/i2c/i2c-prosavage.c new file +362 -0

362 lines not on this page · raw message

author
#2 lore raw

ChangeSet 1.1348.14.2, 2003/06/23 15:37:43-07:00, [email protected]

I2C: add i2c-ali1535 bus driver

Ported from the i2c cvs tree.

 drivers/i2c/busses/Kconfig       |   16 +
 drivers/i2c/busses/Makefile      |    1 
 drivers/i2c/busses/i2c-ali1535.c |  555 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 572 insertions(+)
drivers/i2c/busses/Kconfig +16 -0
diff -Nru a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
@@ -4,6 +4,22 @@
 
 menu "I2C Hardware Sensors Mainboard support"
 
+config I2C_ALI1535
+	tristate "  ALI 1535"
+	depends on I2C && PCI && EXPERIMENTAL
+	help
+	  If you say yes to this option, support will be included for the SMB
+	  Host controller on Acer Labs Inc. (ALI) M1535 South Bridges.  The SMB
+	  controller is part of the 7101 device, which is an ACPI-compliant
+	  Power Management Unit (PMU).
+
+	  This can also be built as a module.  If so, the module will be
+	  called i2c-ali1535.
+
+	  You will also need the latest user-space utilties: you can find them
+	  in the lm_sensors package, which you can download at
+	  http://www.lm-sensors.nu
+
 config I2C_ALI15X3
 	tristate "  ALI 15x3"
 	depends on I2C && PCI && EXPERIMENTAL
drivers/i2c/busses/Makefile +1 -0
diff -Nru a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
@@ -2,6 +2,7 @@
 # Makefile for the kernel hardware sensors bus drivers.
 #
 
+obj-$(CONFIG_I2C_ALI1535)	+= i2c-ali1535.o
 obj-$(CONFIG_I2C_ALI15X3)	+= i2c-ali15x3.o
 obj-$(CONFIG_I2C_AMD756)	+= i2c-amd756.o
 obj-$(CONFIG_I2C_AMD8111)	+= i2c-amd8111.o
drivers/i2c/busses/i2c-ali1535.c new file +555 -0

555 lines not on this page · raw message