2 # Character device configuration
4 mainmenu_option next_comment
7 tristate 'I2C support' CONFIG_I2C
9 if [ "$CONFIG_I2C" != "n" ]; then
11 dep_tristate 'I2C bit-banging interfaces' CONFIG_I2C_ALGOBIT $CONFIG_I2C
12 if [ "$CONFIG_I2C_ALGOBIT" != "n" ]; then
13 dep_tristate ' Philips style parallel port adapter' CONFIG_I2C_PHILIPSPAR $CONFIG_I2C_ALGOBIT $CONFIG_PARPORT
14 dep_tristate ' ELV adapter' CONFIG_I2C_ELV $CONFIG_I2C_ALGOBIT
15 dep_tristate ' Velleman K9000 adapter' CONFIG_I2C_VELLEMAN $CONFIG_I2C_ALGOBIT
16 dep_tristate ' NatSemi SCx200 I2C using GPIO pins' CONFIG_SCx200_I2C $CONFIG_SCx200 $CONFIG_I2C_ALGOBIT
17 if [ "$CONFIG_SCx200_I2C" != "n" ]; then
18 int ' GPIO pin used for SCL' CONFIG_SCx200_I2C_SCL 12
19 int ' GPIO pin used for SDA' CONFIG_SCx200_I2C_SDA 13
21 dep_tristate ' NatSemi SCx200 ACCESS.bus' CONFIG_SCx200_ACB $CONFIG_I2C
24 dep_tristate 'I2C PCF 8584 interfaces' CONFIG_I2C_ALGOPCF $CONFIG_I2C
25 if [ "$CONFIG_I2C_ALGOPCF" != "n" ]; then
26 dep_tristate ' Elektor ISA card' CONFIG_I2C_ELEKTOR $CONFIG_I2C_ALGOPCF
29 if [ "$CONFIG_MIPS_ITE8172" = "y" ]; then
30 dep_tristate 'ITE I2C Algorithm' CONFIG_ITE_I2C_ALGO $CONFIG_I2C
31 if [ "$CONFIG_ITE_I2C_ALGO" != "n" ]; then
32 dep_tristate ' ITE I2C Adapter' CONFIG_ITE_I2C_ADAP $CONFIG_ITE_I2C_ALGO
35 if [ "$CONFIG_8xx" = "y" ]; then
36 dep_tristate 'MPC8xx CPM I2C interface' CONFIG_I2C_ALGO8XX $CONFIG_I2C
37 if [ "$CONFIG_RPXLITE" = "y" -o "$CONFIG_RPXCLASSIC" = "y" ]; then
38 dep_tristate ' Embedded Planet RPX Lite/Classic suppoort' CONFIG_I2C_RPXLITE $CONFIG_I2C_ALGO8XX
41 if [ "$CONFIG_IBM_OCP" = "y" ]; then
42 dep_tristate 'IBM IIC I2C interface' CONFIG_I2C_IBM_IIC $CONFIG_I2C
45 if [ "$CONFIG_XILINX_OCP" = "y" ]; then
46 dep_tristate 'Xilinx on-chip I2C' CONFIG_I2C_XILINX $CONFIG_I2C
49 if [ "$CONFIG_ALL_PPC" = "y" ] ; then
50 dep_tristate 'Keywest I2C interface in Apple Core99 machines' CONFIG_I2C_KEYWEST $CONFIG_I2C
53 # This is needed for automatic patch generation: sensors code starts here
54 # This is needed for automatic patch generation: sensors code ends here
56 dep_tristate 'I2C device interface' CONFIG_I2C_CHARDEV $CONFIG_I2C
57 dep_tristate 'I2C /proc interface (required for hardware sensors)' CONFIG_I2C_PROC $CONFIG_I2C