- Add automatic recalibration every 30 seconds when idle. I'm really not sure if this is necessary or not but for now we do it.
- Interval can be adjusted with sysctl debug.atmel_mxt_autocalibrate, set to 0 to disable.
eb9540f atmel - Add automatic recalibration
sys/dev/smbus/atmel_mxt/Makefile | 3 +-
sys/dev/smbus/atmel_mxt/atmel_mxt.c | 104 +++++++++++++++++++++++++++++++----
sys/dev/smbus/atmel_mxt/obp-utils.h | 15 ++++-
3 files changed, 108 insertions(+), 14 deletions(-)
Upstream: gitweb.dragonflybsd.org