Commit c0a0a258 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] I2C: move the remaining i2c bus drivers to drivers/i2c/busses

parent 2bad20a5
...@@ -59,17 +59,7 @@ config I2C_ALGOPCF ...@@ -59,17 +59,7 @@ config I2C_ALGOPCF
This support is also available as a module. If so, the module This support is also available as a module. If so, the module
will be called i2c-algo-pcf. will be called i2c-algo-pcf.
config I2C_KEYWEST config I2C_ALGOITE
tristate "Powermac Keywest I2C interface"
depends on I2C && PPC_PMAC
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 support is also available as a module. If so, the module
will be called i2c-keywest.
config ITE_I2C_ALGO
tristate "ITE I2C Algorithm" tristate "ITE I2C Algorithm"
depends on MIPS_ITE8172 && I2C depends on MIPS_ITE8172 && I2C
help help
...@@ -80,33 +70,10 @@ config ITE_I2C_ALGO ...@@ -80,33 +70,10 @@ config ITE_I2C_ALGO
This support is also available as a module. If so, the module This support is also available as a module. If so, the module
will be called i2c-algo-ite. will be called i2c-algo-ite.
config ITE_I2C_ADAP
tristate "ITE I2C Adapter"
depends on ITE_I2C_ALGO
help
This supports the ITE8172 I2C peripheral found on some MIPS
systems. Say Y if you have one of these. You should also say Y for
the ITE I2C driver algorithm support above.
This support is also available as a module. If so, the module
will be called i2c-adap-ite.
config I2C_ALGO8XX config I2C_ALGO8XX
tristate "MPC8xx CPM I2C interface" tristate "MPC8xx CPM I2C interface"
depends on 8xx && I2C depends on 8xx && I2C
config I2C_RPXLITE
tristate "Embedded Planet RPX Lite/Classic suppoort"
depends on (RPXLITE || RPXCLASSIC) && I2C_ALGO8XX
config I2C_IBM_IIC
tristate "IBM IIC I2C"
depends on IBM_OCP && I2C
config I2C_IOP3XX
tristate "Intel XScale IOP3xx on-chip I2C interface"
depends on ARCH_IOP3XX && I2C
source drivers/i2c/busses/Kconfig source drivers/i2c/busses/Kconfig
source drivers/i2c/chips/Kconfig source drivers/i2c/chips/Kconfig
......
# #
# Makefile for the kernel i2c bus driver. # Makefile for the i2c core.
# #
obj-$(CONFIG_I2C) += i2c-core.o obj-$(CONFIG_I2C) += i2c-core.o
obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
obj-$(CONFIG_I2C_SENSOR) += i2c-sensor.o
obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o
obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o
obj-$(CONFIG_I2C_KEYWEST) += i2c-keywest.o obj-$(CONFIG_I2C_ALGOITE) += i2c-algo-ite.o
obj-$(CONFIG_ITE_I2C_ALGO) += i2c-algo-ite.o
obj-$(CONFIG_ITE_I2C_ADAP) += i2c-adap-ite.o
obj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o
obj-$(CONFIG_I2C_SENSOR) += i2c-sensor.o
obj-$(CONFIG_I2C_IOP3XX) += i2c-iop3xx.o
obj-y += busses/ chips/ obj-y += busses/ chips/
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Sensor device configuration # Sensor device configuration
# #
menu "I2C Hardware Sensors Mainboard support" menu "I2C Hardware Bus support"
config I2C_ALI1535 config I2C_ALI1535
tristate "ALI 1535" tristate "ALI 1535"
...@@ -97,6 +97,14 @@ config I2C_I810 ...@@ -97,6 +97,14 @@ config I2C_I810
This driver can also be built as a module. If so, the module This driver can also be built as a module. If so, the module
will be called i2c-i810. will be called i2c-i810.
config I2C_IBM_IIC
tristate "IBM IIC I2C"
depends on IBM_OCP && I2C
config I2C_IOP3XX
tristate "Intel XScale IOP3xx on-chip I2C interface"
depends on ARCH_IOP3XX && I2C
config I2C_ISA config I2C_ISA
tristate "ISA Bus support" tristate "ISA Bus support"
depends on I2C && ISA && EXPERIMENTAL depends on I2C && ISA && EXPERIMENTAL
...@@ -107,6 +115,27 @@ config I2C_ISA ...@@ -107,6 +115,27 @@ config I2C_ISA
This driver can also be built as a module. If so, the module This driver can also be built as a module. If so, the module
will be called i2c-isa. will be called i2c-isa.
config I2C_ITE
tristate "ITE I2C Adapter"
depends on I2C_ALGOITE
help
This supports the ITE8172 I2C peripheral found on some MIPS
systems. Say Y if you have one of these. You should also say Y for
the ITE I2C driver algorithm support above.
This support is also available as a module. If so, the module
will be called i2c-ite.
config I2C_KEYWEST
tristate "Powermac Keywest I2C interface"
depends on I2C && PPC_PMAC
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 support is also available as a module. If so, the module
will be called i2c-keywest.
config I2C_NFORCE2 config I2C_NFORCE2
tristate "Nvidia Nforce2" tristate "Nvidia Nforce2"
depends on I2C && PCI && EXPERIMENTAL depends on I2C && PCI && EXPERIMENTAL
...@@ -156,6 +185,10 @@ config I2C_PROSAVAGE ...@@ -156,6 +185,10 @@ config I2C_PROSAVAGE
This support is also available as a module. If so, the module This support is also available as a module. If so, the module
will be called i2c-prosavage. will be called i2c-prosavage.
config I2C_RPXLITE
tristate "Embedded Planet RPX Lite/Classic suppoort"
depends on (RPXLITE || RPXCLASSIC) && I2C_ALGO8XX
config I2C_SAVAGE4 config I2C_SAVAGE4
tristate "S3 Savage 4" tristate "S3 Savage 4"
depends on I2C_ALGOBIT && PCI && EXPERIMENTAL depends on I2C_ALGOBIT && PCI && EXPERIMENTAL
......
# #
# Makefile for the kernel hardware sensors bus drivers. # Makefile for the i2c bus drivers.
# #
obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o
...@@ -10,11 +10,16 @@ obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o ...@@ -10,11 +10,16 @@ obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o
obj-$(CONFIG_I2C_ELV) += i2c-elv.o obj-$(CONFIG_I2C_ELV) += i2c-elv.o
obj-$(CONFIG_I2C_I801) += i2c-i801.o obj-$(CONFIG_I2C_I801) += i2c-i801.o
obj-$(CONFIG_I2C_I810) += i2c-i810.o obj-$(CONFIG_I2C_I810) += i2c-i810.o
obj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o
obj-$(CONFIG_I2C_IOP3XX) += i2c-iop3xx.o
obj-$(CONFIG_I2C_ISA) += i2c-isa.o obj-$(CONFIG_I2C_ISA) += i2c-isa.o
obj-$(CONFIG_I2C_ITE) += i2c-ite.o
obj-$(CONFIG_I2C_KEYWEST) += i2c-keywest.o
obj-$(CONFIG_I2C_NFORCE2) += i2c-nforce2.o obj-$(CONFIG_I2C_NFORCE2) += i2c-nforce2.o
obj-$(CONFIG_I2C_PHILIPSPAR) += i2c-philips-par.o obj-$(CONFIG_I2C_PHILIPSPAR) += i2c-philips-par.o
obj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o obj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o
obj-$(CONFIG_I2C_PROSAVAGE) += i2c-prosavage.o obj-$(CONFIG_I2C_PROSAVAGE) += i2c-prosavage.o
obj-$(CONFIG_I2C_RPXLITE) += i2c-rpx.o
obj-$(CONFIG_I2C_SAVAGE4) += i2c-savage4.o obj-$(CONFIG_I2C_SAVAGE4) += i2c-savage4.o
obj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o obj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o
obj-$(CONFIG_I2C_SIS630) += i2c-sis630.o obj-$(CONFIG_I2C_SIS630) += i2c-sis630.o
...@@ -23,5 +28,5 @@ obj-$(CONFIG_I2C_VELLEMAN) += i2c-velleman.o ...@@ -23,5 +28,5 @@ obj-$(CONFIG_I2C_VELLEMAN) += i2c-velleman.o
obj-$(CONFIG_I2C_VIA) += i2c-via.o obj-$(CONFIG_I2C_VIA) += i2c-via.o
obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o
obj-$(CONFIG_I2C_VOODOO3) += i2c-voodoo3.o obj-$(CONFIG_I2C_VOODOO3) += i2c-voodoo3.o
obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
obj-$(CONFIG_SCx200_ACB) += scx200_acb.o obj-$(CONFIG_SCx200_ACB) += scx200_acb.o
obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-algo-ite.h> #include <linux/i2c-algo-ite.h>
#include <linux/i2c-adap-ite.h> #include <linux/i2c-adap-ite.h>
#include "i2c-ite.h" #include "../i2c-ite.h"
#define DEFAULT_BASE 0x14014030 #define DEFAULT_BASE 0x14014030
#define ITE_IIC_IO_SIZE 0x40 #define ITE_IIC_IO_SIZE 0x40
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment