Home
last modified time | relevance | path

Searched hist:"2 f38dc4d9190cd97b8ceb88be5b835ee5feb44d1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dmax17040_battery.cdiff 2f38dc4d9190cd97b8ceb88be5b835ee5feb44d1 Sun Jul 05 19:10:03 CDT 2020 Matheus Castello <matheus@castello.eng.br> power: supply: max17040: Add POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN

Adds the property POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN to export the
chip->low_soc_alert and add the property as writeable, implementing
max17040_prop_writeable and max17040_set_property, so with that the
user space can readjust the alerts.

Signed-off-by: Matheus Castello <matheus@castello.eng.br>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>