diff options
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 0d0d625fece2..69e019e7d69c 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -14,11 +14,15 @@ menuconfig MISC_DEVICES | |||
14 | if MISC_DEVICES | 14 | if MISC_DEVICES |
15 | 15 | ||
16 | config AD525X_DPOT | 16 | config AD525X_DPOT |
17 | tristate "Analog Devices AD525x Digital Potentiometers" | 17 | tristate "Analog Devices Digital Potentiometers" |
18 | depends on I2C && SYSFS | 18 | depends on (I2C || SPI) && SYSFS |
19 | help | 19 | help |
20 | If you say yes here, you get support for the Analog Devices | 20 | If you say yes here, you get support for the Analog Devices |
21 | AD5258, AD5259, AD5251, AD5252, AD5253, AD5254 and AD5255 | 21 | AD5258, AD5259, AD5251, AD5252, AD5253, AD5254, AD5255 |
22 | AD5160, AD5161, AD5162, AD5165, AD5200, AD5201, AD5203, | ||
23 | AD5204, AD5206, AD5207, AD5231, AD5232, AD5233, AD5235, | ||
24 | AD5260, AD5262, AD5263, AD5290, AD5291, AD5292, AD5293, | ||
25 | AD7376, AD8400, AD8402, AD8403, ADN2850 | ||
22 | digital potentiometer chips. | 26 | digital potentiometer chips. |
23 | 27 | ||
24 | See Documentation/misc-devices/ad525x_dpot.txt for the | 28 | See Documentation/misc-devices/ad525x_dpot.txt for the |
@@ -27,6 +31,26 @@ config AD525X_DPOT | |||
27 | This driver can also be built as a module. If so, the module | 31 | This driver can also be built as a module. If so, the module |
28 | will be called ad525x_dpot. | 32 | will be called ad525x_dpot. |
29 | 33 | ||
34 | config AD525X_DPOT_I2C | ||
35 | tristate "support I2C bus connection" | ||
36 | depends on AD525X_DPOT && I2C | ||
37 | help | ||
38 | Say Y here if you have a digital potentiometers hooked to an I2C bus. | ||
39 | |||
40 | To compile this driver as a module, choose M here: the | ||
41 | module will be called ad525x_dpot-i2c. | ||
42 | |||
43 | config AD525X_DPOT_SPI | ||
44 | tristate "support SPI bus connection" | ||
45 | depends on AD525X_DPOT && SPI_MASTER | ||
46 | help | ||
47 | Say Y here if you have a digital potentiometers hooked to an SPI bus. | ||
48 | |||
49 | If unsure, say N (but it's safe to say "Y"). | ||
50 | |||
51 | To compile this driver as a module, choose M here: the | ||
52 | module will be called ad525x_dpot-spi. | ||
53 | |||
30 | config ATMEL_PWM | 54 | config ATMEL_PWM |
31 | tristate "Atmel AT32/AT91 PWM support" | 55 | tristate "Atmel AT32/AT91 PWM support" |
32 | depends on AVR32 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_AT91CAP9 | 56 | depends on AVR32 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_AT91CAP9 |