aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorIskren Chernev <[email protected]>2020-09-22 14:42:36 +0300
committerSebastian Reichel <[email protected]>2020-10-03 19:18:28 +0200
commit1779c6e3496a53d9cbbbcd248b234b2b6a07435c (patch)
treebd57ea17ce24d44871345b799226f28136cb2c7b /kernel/bpf/arraymap.c
parentb973c9d518199bd8362aeae13d208d8889283287 (diff)
power: supply: max17040: Support setting rcomp
The Maxim ModelGauge family supports fine-tuning by setting a compensation value (named rcomp in the docs). The value is affected by battery chemistry and ambient temperature. Add support for reading maxim,rcomp from DT and configuring the device with the supplied value. Temperature adjustment is not implemented at the moment, because there is no provision for receiving the ambient temperature at the moment. Signed-off-by: Iskren Chernev <[email protected]> Tested-by: Jonathan Bakker <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions