diff options
author | Matheus Castello <matheus@castello.eng.br> | 2019-12-05 16:44:09 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-12-19 01:51:52 +0100 |
commit | cccdd0ca1c0d985c3cf1dfe65a3b42387a6e3d22 (patch) | |
tree | 1370492d9ea552d4e13a35dae15bc126c8c4c39b /block/blk-exec.c | |
parent | power: supply: max17040: Add IRQ handler for low SOC alert (diff) | |
download | linux-cccdd0ca1c0d985c3cf1dfe65a3b42387a6e3d22.tar.xz linux-cccdd0ca1c0d985c3cf1dfe65a3b42387a6e3d22.zip |
power: supply: max17040: Config alert SOC low level threshold from FDT
For configuration of fuel gauge alert for a low level state of charge
interrupt we add a function to config level threshold and a device tree
binding property to set it in flatned device tree node.
Now we can use "maxim,alert-low-soc-level" property with the values from
1% up to 32% to configure alert interrupt threshold.
Signed-off-by: Matheus Castello <matheus@castello.eng.br>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'block/blk-exec.c')
0 files changed, 0 insertions, 0 deletions