]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Adds the ADC driver for TI AM3xxx SoC family.
authorloos <loos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 17 May 2014 19:06:46 +0000 (19:06 +0000)
committerloos <loos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 17 May 2014 19:06:46 +0000 (19:06 +0000)
commit54ed7ffa75464d7d625feaa0c443c34a581d511b
tree836e93aec06dd9083febeae2d2b6642897e6ace0
parent10c991374b6105df33ecf989e55cc85a588fac01
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266338 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man4/man4.arm/Makefile
share/man/man4/man4.arm/ti_adc.4 [new file with mode: 0644]
sys/arm/conf/BEAGLEBONE
sys/arm/ti/am335x/am335x_prcm.c
sys/arm/ti/files.ti
sys/arm/ti/ti_adc.c [new file with mode: 0644]
sys/arm/ti/ti_adcreg.h [new file with mode: 0644]
sys/arm/ti/ti_adcvar.h [new file with mode: 0644]
sys/arm/ti/ti_prcm.h
sys/boot/fdt/dts/arm/am335x.dtsi