2012-04-06 23:49:35 +08:00
|
|
|
|
#
|
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-07 00:45:52 +08:00
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 23:49:35 +08:00
|
|
|
|
#
|
2012-04-07 22:50:57 +08:00
|
|
|
|
|
2012-07-27 04:38:46 +08:00
|
|
|
|
config ADC
|
|
|
|
|
bool "Analog-to-Digital Conversion"
|
2012-04-07 22:50:57 +08:00
|
|
|
|
default n
|
2012-07-27 04:38:46 +08:00
|
|
|
|
---help---
|
|
|
|
|
Select to enable support for analog input device support. This includes
|
|
|
|
|
not only Analog-to-Digital Converters (ADC) but also amplifiers and
|
|
|
|
|
analog multiplexers.
|
2012-04-07 22:50:57 +08:00
|
|
|
|
|
|
|
|
|
config ADC_ADS125X
|
2012-07-27 04:38:46 +08:00
|
|
|
|
bool "TI ADS1255/ADS1256 support"
|
2012-04-07 22:50:57 +08:00
|
|
|
|
default n
|
2012-07-27 04:38:46 +08:00
|
|
|
|
depends on ADC
|
2012-04-07 22:50:57 +08:00
|
|
|
|
select SPI
|
2012-07-27 04:38:46 +08:00
|
|
|
|
|
|
|
|
|
config ADS1255_FREQUENCY
|
|
|
|
|
int "ADS1255/ADS1256 SPI frequency"
|
|
|
|
|
default 1000000
|
|
|
|
|
depends on ADC_ADS125X
|
|
|
|
|
|
|
|
|
|
config ADC_PGA11X
|
|
|
|
|
bool "TI PGA112/3/6/7 support"
|
|
|
|
|
default n
|
|
|
|
|
depends on ADC
|
|
|
|
|
select SPI
|
|
|
|
|
---help---
|
|
|
|
|
Enables support for the PGA112, PGA113, PGA116, PGA117 Zer<65>-Drift
|
|
|
|
|
PROGRAMMABLE GAIN AMPLIFIER with MUX
|
|
|
|
|
|
|
|
|
|
config PGA11X_SPIFREQUENCY
|
|
|
|
|
int "TI PGA112/3/6/7 SPI frequency"
|
|
|
|
|
default 1000000
|
|
|
|
|
depends on ADC_PGA11X
|
|
|
|
|
---help---
|
|
|
|
|
PGA11x SPI frequency.
|
|
|
|
|
|
|
|
|
|
config PGA11X_SPIMODE
|
|
|
|
|
int "TI PGA112/3/6/7 SPI mode"
|
|
|
|
|
default 0
|
|
|
|
|
depends on ADC_PGA11X
|
|
|
|
|
---help---
|
|
|
|
|
PGA11x SPI mode. The specification says that the device operates in Mode 0 or
|
|
|
|
|
Mode 3. But sometimes you need to tinker with this to get things to work
|
|
|
|
|
correctly. Default: Mode 0
|
|
|
|
|
|
|
|
|
|
config PGA11X_DAISYCHAIN
|
|
|
|
|
bool "TI PGA112/3/6/7 daisy chain mode"
|
|
|
|
|
default n
|
|
|
|
|
depends on ADC_PGA11X
|
|
|
|
|
---help---
|
|
|
|
|
Enable support to use two PGA116/7's in Daisy Chain configuration.
|
|
|
|
|
|
|
|
|
|
config PGA11X_MULTIPLE
|
|
|
|
|
bool "Multiple TI PGA112/3/6/7 support"
|
|
|
|
|
default n
|
|
|
|
|
depends on ADC_PGA11X && !PGA11X_DAISYCHAIN
|
|
|
|
|
---help---
|
|
|
|
|
Can be defined to support multiple PGA11X devices on board with separate
|
|
|
|
|
chip selects (not daisy chained). Each device will require a customized
|
|
|
|
|
SPI interface to distinguish them when SPI_SELECT is called with
|
|
|
|
|
devid=SPIDEV_MUX.
|
|
|
|
|
|
|
|
|
|
config DAC
|
|
|
|
|
bool "Digital-to-Analog Conversion"
|
2012-04-07 22:50:57 +08:00
|
|
|
|
default n
|
2012-07-27 04:38:46 +08:00
|
|
|
|
---help---
|
|
|
|
|
Select to enable support for Digital-to-Analog Converters (DACs).
|
2012-04-07 22:50:57 +08:00
|
|
|
|
|
|
|
|
|
config DAC_AD5410
|
|
|
|
|
bool "AD5410 support"
|
|
|
|
|
default n
|
2012-07-27 04:38:46 +08:00
|
|
|
|
depends on DAC
|
2012-04-07 22:50:57 +08:00
|
|
|
|
select SPI
|