Re: [lm-sensors] [PATCH 3/5] [hwmon] add Freescale MC13783 adcdriver

From: Mark Brown
Date: Thu Aug 13 2009 - 10:16:40 EST


On Thu, Aug 13, 2009 at 03:37:47PM +0200, Sascha Hauer wrote:

> +0 Battery Voltage (BATT) 2.50 â 4.65V -2.40V
> +1 Battery Current (BATT â BATTISNS) -50 - 50 mV x20
> +2 Application Supply (BP) 2.50 â 4.65V -2.40V
> +3 Charger Voltage (CHRGRAW) 0 â 10V / /5
> + 0 â 20V /10
> +4 Charger Current (CHRGISNSP-CHRGISNSN) -0.25V â 0.25V X4
> +5 General Purpose ADIN5 / Battery Pack Thermistor 0 â 2.30V No
> +6 General Purpose ADIN6 / Backup Voltage (LICELL) 0 â 2.30V / No /
> + 1.50 â 3.50V -1.20V
> +7 General Purpose ADIN7 / UID / Die Temperature 0 â 2.30V / No /
> + 0 â 2.55V / x0.9 / No

If you can report actual voltages it'd be desirable for the driver to do
the required conversions - it looks like you're just reporting the raw
ADC values?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/