diff options
author | loos <loos@FreeBSD.org> | 2014-05-17 19:06:46 +0000 |
---|---|---|
committer | loos <loos@FreeBSD.org> | 2014-05-17 19:06:46 +0000 |
commit | 7e7928763170f8b10771c099cf46224daaf67bca (patch) | |
tree | 836e93aec06dd9083febeae2d2b6642897e6ace0 /sys/arm/conf | |
parent | 1253f26158ac37c8e2dbe8087203a2059aa2bb56 (diff) | |
download | FreeBSD-src-7e7928763170f8b10771c099cf46224daaf67bca.zip FreeBSD-src-7e7928763170f8b10771c099cf46224daaf67bca.tar.gz |
Adds the ADC driver for TI AM3xxx SoC family.
The ADC has a 12bit resolution and its raw output can be read via sysctl(8)
interface.
The driver allows the setup of ADC clock, samples average and open delay
(the number of clock cycles to wait before start the conversion).
The TSC_ADC module is set in the general purpose mode (no touchscreen
support).
Tested on Beaglebone-black.
Written based on AM335x TRM.
Diffstat (limited to 'sys/arm/conf')
-rw-r--r-- | sys/arm/conf/BEAGLEBONE | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/conf/BEAGLEBONE b/sys/arm/conf/BEAGLEBONE index 312e10f..5b63db9 100644 --- a/sys/arm/conf/BEAGLEBONE +++ b/sys/arm/conf/BEAGLEBONE @@ -105,6 +105,9 @@ device am335x_pmic # AM335x Power Management IC (TPC65217) device gpio device gpioled +# ADC support +device ti_adc + # USB support device usb options USB_HOST_ALIGN=64 # Cacheline size is 64 on AM335x. |