mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
a5055d5d68
Driver twl4030-madc has hardcoded channel types (10 - battery current, 1 - battery temperature) and also conversation data in variable twl4030_divider_ratios. These hardcoded channels are incorrect for Nokia RX-51 board (where is channel 0 - battery temperature). For Nokia RX-51 there is rx51_battery power_supply driver which reporting battery information via twl4030_madc_conversion. But this driver needs raw values (not converted via some hardcoded functions). So this patch adding new parameter "raw" to struct twl4030_madc_request which tell twl4030-madc driver to not convert values, but rather return raw. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Reviewed-by: Anton Vorontsov <anton@enomsg.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> |
||
---|---|---|
.. | ||
adp5588.h | ||
adp8860.h | ||
adp8870.h | ||
ads1015.h | ||
apds990x.h | ||
at24.h | ||
atmel_mxt_ts.h | ||
bh1770glc.h | ||
dm355evm_msp.h | ||
ds620.h | ||
i2c-hid.h | ||
i2c-rcar.h | ||
i2c-sh_mobile.h | ||
lm8323.h | ||
ltc4245.h | ||
max732x.h | ||
max6639.h | ||
mcs.h | ||
mms114.h | ||
mpr121_touchkey.h | ||
pca953x.h | ||
pca954x.h | ||
pcf857x.h | ||
pmbus.h | ||
pxa-i2c.h | ||
s6000.h | ||
sx150x.h | ||
tc35876x.h | ||
tps65010.h | ||
tsc2007.h | ||
twl4030-madc.h | ||
twl.h |