Re: [PATCH 2/4] power: supply: max17040: Config alert SOC low level threshold from FDT

2018-07-25 Thread Krzysztof Kozlowski
On 23 July 2018 at 06:08, Matheus Castello wrote: > 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-soc-level" p

[PATCH 2/4] power: supply: max17040: Config alert SOC low level threshold from FDT

2018-07-22 Thread Matheus Castello
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-soc-level" property with the values from 1 up to 32 to configure alert i