Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions drivers/analog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,37 @@ config ADS7828_FREQUENCY

endif # ADC_ADS7828

config ADC_MAX1161X
bool "Maxim MAX11612-11617 support"
default n
select I2C
---help---
Enable driver support for the MAX1161X 12-Bit I2C powered ADC Family.

This driver supports reading single or multiple ADC conversion result
as well as onfiguring the ADC, via ioctl calls.

if ADC_MAX1161X

config MAX1161X_FREQUENCY
int "Maxim MAX1161X I2C frequency"
default 100000
---help---
MAX1161X supports standard, fast, and high-speed I2C modes.

choice
prompt "Maxim MAX1161X Chip Type"

config MAX1161X_4CHAN
bool "MAX11612/MAX11613 4 Channels"
config MAX1161X_8CHAN
bool "MAX11614/MAX11615 8 Channels"
config MAX1161X_12CHAN
bool "MAX11616/MAX11617 12 Channels"
endchoice

endif # ADC_MAX1161X

endif # ADC

config COMP
Expand Down
4 changes: 4 additions & 0 deletions drivers/analog/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ ifeq ($(CONFIG_ADC_ADS7828),y)
CSRCS += ads7828.c
endif

ifeq ($(CONFIG_ADC_MAX1161X),y)
CSRCS += max1161x.c
endif

ifeq ($(CONFIG_ADC_LTC1867L),y)
CSRCS += ltc1867l.c
endif
Expand Down
Loading