Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c0a0a258
Commit
c0a0a258
authored
Sep 22, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: move the remaining i2c bus drivers to drivers/i2c/busses
parent
2bad20a5
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
46 additions
and
45 deletions
+46
-45
drivers/i2c/Kconfig
drivers/i2c/Kconfig
+1
-34
drivers/i2c/Makefile
drivers/i2c/Makefile
+3
-7
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Kconfig
+34
-1
drivers/i2c/busses/Makefile
drivers/i2c/busses/Makefile
+7
-2
drivers/i2c/busses/i2c-frodo.c
drivers/i2c/busses/i2c-frodo.c
+0
-0
drivers/i2c/busses/i2c-ibm_iic.c
drivers/i2c/busses/i2c-ibm_iic.c
+0
-0
drivers/i2c/busses/i2c-ibm_iic.h
drivers/i2c/busses/i2c-ibm_iic.h
+0
-0
drivers/i2c/busses/i2c-iop3xx.c
drivers/i2c/busses/i2c-iop3xx.c
+0
-0
drivers/i2c/busses/i2c-iop3xx.h
drivers/i2c/busses/i2c-iop3xx.h
+0
-0
drivers/i2c/busses/i2c-ite.c
drivers/i2c/busses/i2c-ite.c
+1
-1
drivers/i2c/busses/i2c-keywest.c
drivers/i2c/busses/i2c-keywest.c
+0
-0
drivers/i2c/busses/i2c-keywest.h
drivers/i2c/busses/i2c-keywest.h
+0
-0
drivers/i2c/busses/i2c-rpx.c
drivers/i2c/busses/i2c-rpx.c
+0
-0
No files found.
drivers/i2c/Kconfig
View file @
c0a0a258
...
@@ -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
...
...
drivers/i2c/Makefile
View file @
c0a0a258
#
#
# 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/
drivers/i2c/busses/Kconfig
View file @
c0a0a258
...
@@ -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
...
...
drivers/i2c/busses/Makefile
View file @
c0a0a258
#
#
# 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
drivers/i2c/i2c-frodo.c
→
drivers/i2c/
busses/
i2c-frodo.c
View file @
c0a0a258
File moved
drivers/i2c/i2c-ibm_iic.c
→
drivers/i2c/
busses/
i2c-ibm_iic.c
View file @
c0a0a258
File moved
drivers/i2c/i2c-ibm_iic.h
→
drivers/i2c/
busses/
i2c-ibm_iic.h
View file @
c0a0a258
File moved
drivers/i2c/i2c-iop3xx.c
→
drivers/i2c/
busses/
i2c-iop3xx.c
View file @
c0a0a258
File moved
drivers/i2c/i2c-iop3xx.h
→
drivers/i2c/
busses/
i2c-iop3xx.h
View file @
c0a0a258
File moved
drivers/i2c/
i2c-adap
-ite.c
→
drivers/i2c/
busses/i2c
-ite.c
View file @
c0a0a258
...
@@ -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
...
...
drivers/i2c/i2c-keywest.c
→
drivers/i2c/
busses/
i2c-keywest.c
View file @
c0a0a258
File moved
drivers/i2c/i2c-keywest.h
→
drivers/i2c/
busses/
i2c-keywest.h
View file @
c0a0a258
File moved
drivers/i2c/i2c-rpx.c
→
drivers/i2c/
busses/
i2c-rpx.c
View file @
c0a0a258
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment