linux: Add support for analog IIO devices
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>
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
|
||||
if MACH_LINUX
|
||||
|
||||
config LINUX_SELECT
|
||||
bool
|
||||
default y
|
||||
select HAVE_GPIO_ADC
|
||||
|
||||
config BOARD_DIRECTORY
|
||||
string
|
||||
default "linux"
|
||||
|
||||
Reference in New Issue
Block a user