OrangePi_CM5/drivers/power/supply
Baolin Wang 3afb50d712 power: supply: core: Add some helpers to use the battery OCV capacity table
We have introduced some battery properties to present the OCV table
temperatures and OCV capacity table values. Thus this patch add OCV
temperature and OCV table for battery information, as well as providing
some helper functions to use the OCV capacity table for users.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2018-11-09 22:55:46 +01:00
..
88pm860x_battery.c
…
88pm860x_charger.c
…
Kconfig power: supply: Add Spreadtrum SC2731 charger support 2018-09-20 02:58:08 +02:00
Makefile power: supply: Add Spreadtrum SC2731 charger support 2018-09-20 02:58:08 +02:00
ab8500_bmdata.c power: supply: ab8500: Drop AB8540/9540 support 2018-04-25 23:49:44 +02:00
ab8500_btemp.c power: supply: ab8500: Drop AB8540/9540 support 2018-04-25 23:49:44 +02:00
ab8500_charger.c power: supply: ab8500_charger: fix spelling mistake: "faile" -> "failed" 2018-05-01 13:31:38 +02:00
ab8500_fg.c power: supply: ab8500_fg: silence uninitialized variable warnings 2018-09-16 11:40:46 +02:00
abx500_chargalg.c power: supply: ab8500: Drop AB8540/9540 support 2018-04-25 23:49:44 +02:00
act8945a_charger.c
…
adp5061.c power: supply: adp5061: Fix a couple off by ones 2018-07-11 12:00:24 +02:00
apm_power.c
…
axp20x_ac_power.c power: supply: account for const type of of_device_id.data 2018-01-08 18:40:46 +01:00
axp20x_battery.c power: supply: axp20x_battery: add support for AXP813 2018-03-09 16:52:33 +01:00
axp20x_usb_power.c power: supply: mark expected switch fall-throughs 2018-07-23 00:10:47 +02:00
axp288_charger.c power: supply: axp288_charger: Fix initial constant_charge_current value 2018-07-06 17:19:37 +02:00
axp288_fuel_gauge.c power: supply: axp288_fuel_gauge: Remove polling from the driver 2018-04-26 00:49:52 +02:00
bq27xxx_battery.c power: supply: bq27xxx: Add support for BQ27411 2018-09-20 11:35:40 +02:00
bq27xxx_battery_hdq.c
…
bq27xxx_battery_i2c.c power: supply: bq27xxx: Add support for BQ27411 2018-09-20 11:35:40 +02:00
bq2415x_charger.c power: supply: bq2415x: add DT referencing support 2018-03-12 14:34:51 +01:00
bq24190_charger.c bq24190: Simplify code in property_is_writeable 2018-01-08 18:40:06 +01:00
bq24257_charger.c
…
bq24735-charger.c
…
bq25890_charger.c power: supply: bq25890_charger: fix semicolon.cocci warnings 2018-09-18 12:35:51 +02:00
charger-manager.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
collie_battery.c
…
cpcap-battery.c power: supply: cpcap-battery: Fix platform_get_irq_byname's error checking 2017-12-01 16:22:10 +01:00
cpcap-charger.c power: supply: cpcap-charger: fix incorrect return value check 2017-11-13 11:56:12 +01:00
cros_usbpd-charger.c Immutable branch for mfd and power-supply for v4.20 2018-09-16 13:10:37 +02:00
da9030_battery.c
…
da9052-battery.c
…
da9150-charger.c
…
da9150-fg.c power: supply: da9150-fg: remove VLA usage 2018-03-12 14:34:52 +01:00
ds2760_battery.c power: supply: ds2760_battery: add devicetree probing 2018-07-11 18:09:09 +02:00
ds2780_battery.c power: supply: fix spelling mistake "Gauage" -> "Gauge" 2018-10-21 21:32:44 +02:00
ds2781_battery.c power: supply: fix spelling mistake "Gauage" -> "Gauge" 2018-10-21 21:32:44 +02:00
ds2782_battery.c power: supply: fix spelling mistake "Gauage" -> "Gauge" 2018-10-21 21:32:44 +02:00
generic-adc-battery.c power: generic-adc-battery: check for duplicate properties copied from iio channels 2018-07-06 18:58:44 +02:00
goldfish_battery.c
…
gpio-charger.c power: supply: simplify getting .drvdata 2018-04-25 23:15:51 +02:00
ipaq_micro_battery.c
…
isp1704_charger.c
…
jz4740-battery.c
…
lego_ev3_battery.c power: supply: lego_ev3_battery: fix Vce offset 2018-07-22 23:33:43 +02:00
lp8727_charger.c
…
lp8788-charger.c
…
ltc2941-battery-gauge.c Merge branch 'fixes' into for-next 2018-03-12 14:35:10 +01:00
ltc3651-charger.c
…
max1721x_battery.c power: supply: max1721x: fix spelling mistake "RSenese" -> "RSense" 2018-06-28 14:24:13 +02:00
max8903_charger.c
…
max8925_power.c power: max8925: mark expected switch fall-through 2018-10-21 21:33:35 +02:00
max8997_charger.c power: supply: maxim: Add SPDX license identifiers 2018-08-30 00:18:10 +02:00
max8998_charger.c power: supply: max8998-charger: Fix platform data retrieval 2018-09-16 13:46:39 +02:00
max14577_charger.c power: supply: maxim: Add SPDX license identifiers 2018-08-30 00:18:10 +02:00
max14656_charger_detector.c
…
max17040_battery.c power: supply: maxim: Add SPDX license identifiers 2018-08-30 00:18:10 +02:00
max17042_battery.c power: supply: maxim: Add SPDX license identifiers 2018-08-30 00:18:10 +02:00
max77693_charger.c power: supply: maxim: Add SPDX license identifiers 2018-08-30 00:18:10 +02:00
olpc_battery.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
pcf50633-charger.c
…
pda_power.c
…
pm2301_charger.c
…
pm2301_charger.h
…
pmu_battery.c
…
power_supply.h
…
power_supply_core.c power: supply: core: Add some helpers to use the battery OCV capacity table 2018-11-09 22:55:46 +01:00
power_supply_leds.c
…
power_supply_sysfs.c power: supply: sysfs: ratelimit property read error message 2018-09-16 11:29:18 +02:00
qcom_smbb.c
…
rt5033_battery.c
…
rt9455_charger.c
…
rx51_battery.c
…
s3c_adc_battery.c power: supply: s3c-adc-battery: fix driver data initialization 2018-04-26 00:12:11 +02:00
sbs-battery.c power: supply: sbs-battery: don't assume MANUFACTURER_DATA formats 2018-06-28 14:09:46 +02:00
sbs-charger.c
…
sbs-manager.c power: supply: sbs-message: double left shift bug in sbsm_select() 2017-12-01 16:08:00 +01:00
sc2731_charger.c power: supply: Add Spreadtrum SC2731 charger support 2018-09-20 02:58:08 +02:00
smb347-charger.c
…
test_power.c
…
tosa_battery.c
…
tps65090-charger.c
…
tps65217_charger.c power: supply: tps65217: Switch to SPDX identifier. 2018-06-28 14:19:20 +02:00
twl4030_charger.c Devicetree updates for 4.20: 2018-10-26 12:09:58 -07:00
twl4030_madc_battery.c
…
wm97xx_battery.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
wm831x_backup.c
…
wm831x_power.c
…
wm8350_power.c power: supply: mark expected switch fall-throughs 2018-07-23 00:10:47 +02:00
z2_battery.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00