David Brownell 2c8dc07151 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>
2007-01-18 00:45:48 -05:00
..
2006-11-22 14:57:56 +00:00
2006-12-07 08:39:24 -08:00
2006-10-11 11:14:25 -07:00
2006-12-07 08:39:43 -08:00
2006-12-07 08:39:36 -08:00
2006-12-07 08:39:33 -08:00
2006-12-07 08:39:24 -08:00
2006-11-22 14:57:56 +00:00
2006-11-30 05:24:39 +01:00
2006-10-03 22:31:37 +02:00
2006-12-07 08:39:43 -08:00
2006-12-07 08:39:25 -08:00
2006-10-17 08:18:42 -07:00
2006-10-17 08:18:42 -07:00