diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2007-01-18 00:45:48 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-01-18 00:45:48 -0500 |
commit | 2c8dc071517ec2843869024dc82be2e246f41064 (patch) | |
tree | 793c90a34b40d9f2a60eb108387b1077ec9e8861 /include/asm-arm/arch-iop13xx/io.h | |
parent | 15e3589e59c35ed33823dda3d38ad171222b83b4 (diff) |
Input: ads7846 - be more compatible with the hwmon framework
- Hook up to hwmon
* show sensor attributes only if hwmon is present
* ... and the board's reference voltage is known
* otherwise be just a touchscreen
- Report voltages per hwmon convention
* measure in millivolts
* voltages are named in[0-8]_input (ugh)
* for 7846 chips, properly range-adjust vBATT/in1_input
Battery measurements help during recharge monitoring. On OSK/Mistral,
the measured voltage agreed with a multimeter to several decimal places.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/asm-arm/arch-iop13xx/io.h')
0 files changed, 0 insertions, 0 deletions