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
1a31f655
Commit
1a31f655
authored
Sep 23, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: move the i2c algorithm drivers to drivers/i2c/algos
parent
66aa68ba
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
57 additions
and
44 deletions
+57
-44
drivers/i2c/Kconfig
drivers/i2c/Kconfig
+1
-37
drivers/i2c/Makefile
drivers/i2c/Makefile
+1
-4
drivers/i2c/algos/Kconfig
drivers/i2c/algos/Kconfig
+45
-0
drivers/i2c/algos/Makefile
drivers/i2c/algos/Makefile
+7
-0
drivers/i2c/algos/i2c-algo-bit.c
drivers/i2c/algos/i2c-algo-bit.c
+0
-0
drivers/i2c/algos/i2c-algo-ite.c
drivers/i2c/algos/i2c-algo-ite.c
+1
-1
drivers/i2c/algos/i2c-algo-ite.h
drivers/i2c/algos/i2c-algo-ite.h
+0
-0
drivers/i2c/algos/i2c-algo-pcf.c
drivers/i2c/algos/i2c-algo-pcf.c
+1
-1
drivers/i2c/algos/i2c-algo-pcf.h
drivers/i2c/algos/i2c-algo-pcf.h
+0
-0
drivers/i2c/busses/i2c-elektor.c
drivers/i2c/busses/i2c-elektor.c
+1
-1
No files found.
drivers/i2c/Kconfig
View file @
1a31f655
...
...
@@ -37,43 +37,7 @@ config I2C_CHARDEV
This support is also available as a module. If so, the module
will be called i2c-dev.
config I2C_ALGOBIT
tristate "I2C bit-banging interfaces"
depends on I2C
help
This allows you to use a range of I2C adapters called bit-banging
adapters. Say Y if you own an I2C adapter belonging to this class
and then say Y to the specific driver for you adapter below.
This support is also available as a module. If so, the module
will be called i2c-algo-bit.
config I2C_ALGOPCF
tristate "I2C PCF 8584 interfaces"
depends on I2C
help
This allows you to use a range of I2C adapters called PCF adapters.
Say Y if you own an I2C adapter belonging to this class and then say
Y to the specific driver for you adapter below.
This support is also available as a module. If so, the module
will be called i2c-algo-pcf.
config I2C_ALGOITE
tristate "ITE I2C Algorithm"
depends on MIPS_ITE8172 && I2C
help
This supports the use of the ITE8172 I2C interface found on some MIPS
systems. Say Y if you have one of these. You should also say Y for
the ITE I2C peripheral driver support below.
This support is also available as a module. If so, the module
will be called i2c-algo-ite.
config I2C_ALGO8XX
tristate "MPC8xx CPM I2C interface"
depends on 8xx && I2C
source drivers/i2c/algos/Kconfig
source drivers/i2c/busses/Kconfig
source drivers/i2c/chips/Kconfig
...
...
drivers/i2c/Makefile
View file @
1a31f655
...
...
@@ -5,7 +5,4 @@
obj-$(CONFIG_I2C)
+=
i2c-core.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_ALGOPCF)
+=
i2c-algo-pcf.o
obj-$(CONFIG_I2C_ALGOITE)
+=
i2c-algo-ite.o
obj-y
+=
busses/ chips/
obj-y
+=
busses/ chips/ algos/
drivers/i2c/algos/Kconfig
0 → 100644
View file @
1a31f655
#
# Character device configuration
#
menu "I2C Algorithms"
config I2C_ALGOBIT
tristate "I2C bit-banging interfaces"
depends on I2C
help
This allows you to use a range of I2C adapters called bit-banging
adapters. Say Y if you own an I2C adapter belonging to this class
and then say Y to the specific driver for you adapter below.
This support is also available as a module. If so, the module
will be called i2c-algo-bit.
config I2C_ALGOPCF
tristate "I2C PCF 8584 interfaces"
depends on I2C
help
This allows you to use a range of I2C adapters called PCF adapters.
Say Y if you own an I2C adapter belonging to this class and then say
Y to the specific driver for you adapter below.
This support is also available as a module. If so, the module
will be called i2c-algo-pcf.
config I2C_ALGOITE
tristate "ITE I2C Algorithm"
depends on MIPS_ITE8172 && I2C
help
This supports the use of the ITE8172 I2C interface found on some MIPS
systems. Say Y if you have one of these. You should also say Y for
the ITE I2C peripheral driver support below.
This support is also available as a module. If so, the module
will be called i2c-algo-ite.
config I2C_ALGO8XX
tristate "MPC8xx CPM I2C interface"
depends on 8xx && I2C
endmenu
drivers/i2c/algos/Makefile
0 → 100644
View file @
1a31f655
#
# Makefile for the i2c algorithms
#
obj-$(CONFIG_I2C_ALGOBIT)
+=
i2c-algo-bit.o
obj-$(CONFIG_I2C_ALGOPCF)
+=
i2c-algo-pcf.o
obj-$(CONFIG_I2C_ALGOITE)
+=
i2c-algo-ite.o
drivers/i2c/i2c-algo-bit.c
→
drivers/i2c/
algos/
i2c-algo-bit.c
View file @
1a31f655
File moved
drivers/i2c/i2c-algo-ite.c
→
drivers/i2c/
algos/
i2c-algo-ite.c
View file @
1a31f655
...
...
@@ -46,7 +46,7 @@
#include <linux/i2c.h>
#include <linux/i2c-algo-ite.h>
#include "i2c-ite.h"
#include "i2c-
algo-
ite.h"
#define PM_DSR IT8172_PCI_IO_BASE + IT_PM_DSR
#define PM_IBSR IT8172_PCI_IO_BASE + IT_PM_DSR + 0x04
...
...
drivers/i2c/
i2c
-ite.h
→
drivers/i2c/
algos/i2c-algo
-ite.h
View file @
1a31f655
File moved
drivers/i2c/i2c-algo-pcf.c
→
drivers/i2c/
algos/
i2c-algo-pcf.c
View file @
1a31f655
...
...
@@ -37,7 +37,7 @@
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-pcf.h>
#include "i2c-
pcf8584
.h"
#include "i2c-
algo-pcf
.h"
/* ----- global defines ----------------------------------------------- */
...
...
drivers/i2c/
i2c-pcf8584
.h
→
drivers/i2c/
algos/i2c-algo-pcf
.h
View file @
1a31f655
File moved
drivers/i2c/busses/i2c-elektor.c
View file @
1a31f655
...
...
@@ -41,7 +41,7 @@
#include <asm/io.h>
#include <asm/irq.h>
#include "../
i2c-pcf8584
.h"
#include "../
algos/i2c-algo-pcf
.h"
#define DEFAULT_BASE 0x330
...
...
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