06 Jan, 2012

1 commit

  • Some sources for adc battery information provide only inaccurate results
    where the read value differs from the real value with positive and negative
    offsets. For such sources it can be more accurate to collect two or more
    value sample and use the average of all collected values.

    This patch adds pdata options volt_samples, current_samples and
    backup_volt_samples to specifiy the number of samples to collect,
    reads the specified number of samples and calculates the average of those.
    For unset sample-number-values a default of 1 is assumed.

    Signed-off-by: Heiko Stuebner
    Signed-off-by: Anton Vorontsov

    Heiko Stübner
     

22 Dec, 2010

1 commit


23 Jul, 2010

1 commit

  • s3c-adc-battery is driver for monitoring and charging battery on
    iPAQ H1930/H1940/RX1950.

    It depends on s3c-adc driver to get battery voltage and current.

    Signed-off-by: Vasily Khoruzhick
    Signed-off-by: Anton Vorontsov

    Vasily Khoruzhick