855feb6867
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. Reviewed by: rpaulo Approved by: adrian (mentor) Tested by: me, Brian J. McGovern, Sulev-Madis Silber (ketas)
29 lines
759 B
Plaintext
29 lines
759 B
Plaintext
#$FreeBSD$
|
|
|
|
kern/kern_clocksource.c standard
|
|
|
|
arm/arm/bus_space-v6.c standard
|
|
arm/arm/bus_space_generic.c standard
|
|
arm/arm/bus_space_asm_generic.S standard
|
|
arm/arm/cpufunc_asm_armv5.S standard
|
|
arm/arm/cpufunc_asm_arm10.S standard
|
|
arm/arm/cpufunc_asm_arm11.S standard
|
|
arm/arm/cpufunc_asm_armv7.S standard
|
|
|
|
arm/ti/ti_common.c standard
|
|
arm/ti/ti_cpuid.c standard
|
|
arm/ti/ti_machdep.c standard
|
|
arm/ti/ti_prcm.c standard
|
|
arm/ti/ti_scm.c standard
|
|
dev/mbox/mbox_if.m standard
|
|
arm/ti/ti_mbox.c standard
|
|
arm/ti/ti_pruss.c standard
|
|
|
|
arm/ti/ti_adc.c optional ti_adc
|
|
arm/ti/ti_gpio.c optional gpio
|
|
arm/ti/ti_i2c.c optional ti_i2c
|
|
|
|
dev/uart/uart_dev_ti8250.c optional uart
|
|
dev/uart/uart_dev_ns8250.c optional uart
|
|
|