Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108144
b: refs/heads/master
c: 8d24f8d
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Aug 10, 2008
1 parent f820210 commit a1149ef
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b25b791b13aaa336b56c4f9bd417ff126363f80b
refs/heads/master: 8d24f8dcb7ead491704e274883b2c627062f6235
14 changes: 14 additions & 0 deletions trunk/drivers/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@ config I2C_CHARDEV
This support is also available as a module. If so, the module
will be called i2c-dev.

config I2C_HELPER_AUTO
bool "Autoselect pertinent helper modules"
default y
help
Some I2C bus drivers require so-called "I2C algorithm" modules
to work. These are basically software-only abstractions of generic
I2C interfaces. This option will autoselect them so that you don't
have to care.

Unselect this only if you need to enable additional helper
modules, for example for use with external I2C bus drivers.

In doubt, say Y.

source drivers/i2c/algos/Kconfig
source drivers/i2c/busses/Kconfig
source drivers/i2c/chips/Kconfig
Expand Down
11 changes: 8 additions & 3 deletions trunk/drivers/i2c/algos/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@
# I2C algorithm drivers configuration
#

menu "I2C Algorithms"
depends on !I2C_HELPER_AUTO

config I2C_ALGOBIT
tristate
tristate "I2C bit-banging interfaces"

config I2C_ALGOPCF
tristate
tristate "I2C PCF 8584 interfaces"

config I2C_ALGOPCA
tristate
tristate "I2C PCA 9564 interfaces"

config I2C_ALGO_SGI
tristate
depends on SGI_IP22 || SGI_IP32 || X86_VISWS

endmenu

0 comments on commit a1149ef

Please sign in to comment.