Add support for reading analog values via the standard Linux IIO interface. This can be used on Replicape boards to sample analog input pins. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
20 lines
286 B
Plaintext
20 lines
286 B
Plaintext
# Kconfig settings for compiling and running the micro-controller code
|
|
# in a Linux process
|
|
|
|
if MACH_LINUX
|
|
|
|
config LINUX_SELECT
|
|
bool
|
|
default y
|
|
select HAVE_GPIO_ADC
|
|
|
|
config BOARD_DIRECTORY
|
|
string
|
|
default "linux"
|
|
|
|
config CLOCK_FREQ
|
|
int
|
|
default 20000000
|
|
|
|
endif
|