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
Kirill Smelkov
linux
Commits
2bad20a5
Commit
2bad20a5
authored
Sep 22, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: move the scx200* drivers to drivers/i2c/busses
parent
e8d555b1
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
41 deletions
+40
-41
drivers/i2c/Kconfig
drivers/i2c/Kconfig
+0
-38
drivers/i2c/Makefile
drivers/i2c/Makefile
+0
-2
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Kconfig
+38
-0
drivers/i2c/busses/Makefile
drivers/i2c/busses/Makefile
+2
-0
drivers/i2c/busses/scx200_acb.c
drivers/i2c/busses/scx200_acb.c
+0
-0
drivers/i2c/busses/scx200_i2c.c
drivers/i2c/busses/scx200_i2c.c
+0
-1
No files found.
drivers/i2c/Kconfig
View file @
2bad20a5
...
@@ -48,44 +48,6 @@ config I2C_ALGOBIT
...
@@ -48,44 +48,6 @@ config I2C_ALGOBIT
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-bit.
will be called i2c-algo-bit.
config SCx200_I2C
tristate "NatSemi SCx200 I2C using GPIO pins"
depends on SCx200 && I2C_ALGOBIT
help
Enable the use of two GPIO pins of a SCx200 processor as an I2C bus.
If you don't know what to do here, say N.
This support is also available as a module. If so, the module
will be called scx200_i2c.
config SCx200_I2C_SCL
int "GPIO pin used for SCL"
depends on SCx200_I2C
default "12"
help
Enter the GPIO pin number used for the SCL signal. This value can
also be specified with a module parameter.
config SCx200_I2C_SDA
int "GPIO pin used for SDA"
depends on SCx200_I2C
default "13"
help
Enter the GPIO pin number used for the SSA signal. This value can
also be specified with a module parameter.
config SCx200_ACB
tristate "NatSemi SCx200 ACCESS.bus"
depends on I2C_ALGOBIT!=n && I2C
help
Enable the use of the ACCESS.bus controllers of a SCx200 processor.
If you don't know what to do here, say N.
This support is also available as a module. If so, the module
will be called scx200_acb.
config I2C_ALGOPCF
config I2C_ALGOPCF
tristate "I2C PCF 8584 interfaces"
tristate "I2C PCF 8584 interfaces"
depends on I2C
depends on I2C
...
...
drivers/i2c/Makefile
View file @
2bad20a5
...
@@ -9,8 +9,6 @@ obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o
...
@@ -9,8 +9,6 @@ obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o
obj-$(CONFIG_I2C_KEYWEST)
+=
i2c-keywest.o
obj-$(CONFIG_I2C_KEYWEST)
+=
i2c-keywest.o
obj-$(CONFIG_ITE_I2C_ALGO)
+=
i2c-algo-ite.o
obj-$(CONFIG_ITE_I2C_ALGO)
+=
i2c-algo-ite.o
obj-$(CONFIG_ITE_I2C_ADAP)
+=
i2c-adap-ite.o
obj-$(CONFIG_ITE_I2C_ADAP)
+=
i2c-adap-ite.o
obj-$(CONFIG_SCx200_I2C)
+=
scx200_i2c.o
obj-$(CONFIG_SCx200_ACB)
+=
scx200_acb.o
obj-$(CONFIG_I2C_IBM_IIC)
+=
i2c-ibm_iic.o
obj-$(CONFIG_I2C_IBM_IIC)
+=
i2c-ibm_iic.o
obj-$(CONFIG_I2C_SENSOR)
+=
i2c-sensor.o
obj-$(CONFIG_I2C_SENSOR)
+=
i2c-sensor.o
obj-$(CONFIG_I2C_IOP3XX)
+=
i2c-iop3xx.o
obj-$(CONFIG_I2C_IOP3XX)
+=
i2c-iop3xx.o
...
...
drivers/i2c/busses/Kconfig
View file @
2bad20a5
...
@@ -166,6 +166,44 @@ config I2C_SAVAGE4
...
@@ -166,6 +166,44 @@ config I2C_SAVAGE4
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-savage4.
will be called i2c-savage4.
config SCx200_I2C
tristate "NatSemi SCx200 I2C using GPIO pins"
depends on SCx200 && I2C_ALGOBIT
help
Enable the use of two GPIO pins of a SCx200 processor as an I2C bus.
If you don't know what to do here, say N.
This support is also available as a module. If so, the module
will be called scx200_i2c.
config SCx200_I2C_SCL
int "GPIO pin used for SCL"
depends on SCx200_I2C
default "12"
help
Enter the GPIO pin number used for the SCL signal. This value can
also be specified with a module parameter.
config SCx200_I2C_SDA
int "GPIO pin used for SDA"
depends on SCx200_I2C
default "13"
help
Enter the GPIO pin number used for the SSA signal. This value can
also be specified with a module parameter.
config SCx200_ACB
tristate "NatSemi SCx200 ACCESS.bus"
depends on I2C_ALGOBIT!=n && I2C
help
Enable the use of the ACCESS.bus controllers of a SCx200 processor.
If you don't know what to do here, say N.
This support is also available as a module. If so, the module
will be called scx200_acb.
config I2C_SIS5595
config I2C_SIS5595
tristate "SiS 5595"
tristate "SiS 5595"
depends on I2C && PCI && EXPERIMENTAL
depends on I2C && PCI && EXPERIMENTAL
...
...
drivers/i2c/busses/Makefile
View file @
2bad20a5
...
@@ -23,3 +23,5 @@ obj-$(CONFIG_I2C_VELLEMAN) += i2c-velleman.o
...
@@ -23,3 +23,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
drivers/i2c/scx200_acb.c
→
drivers/i2c/
busses/
scx200_acb.c
View file @
2bad20a5
File moved
drivers/i2c/scx200_i2c.c
→
drivers/i2c/
busses/
scx200_i2c.c
View file @
2bad20a5
...
@@ -82,7 +82,6 @@ static struct i2c_algo_bit_data scx200_i2c_data = {
...
@@ -82,7 +82,6 @@ static struct i2c_algo_bit_data scx200_i2c_data = {
static
struct
i2c_adapter
scx200_i2c_ops
=
{
static
struct
i2c_adapter
scx200_i2c_ops
=
{
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
.
id
=
I2C_HW_B_VELLE
,
.
algo_data
=
&
scx200_i2c_data
,
.
algo_data
=
&
scx200_i2c_data
,
.
name
=
"NatSemi SCx200 I2C"
,
.
name
=
"NatSemi SCx200 I2C"
,
};
};
...
...
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