Message ID | 20211122234141.3356340-1-linus.walleij@linaro.org (mailing list archive) |
---|---|
Headers | show |
Series | More AB8500 charging props | expand |
On 11/22/21 3:41 PM, Linus Walleij wrote: > These two patches begin to put new stuff into the > drivers/power/supply/ab8500_bmdata.c for: > > A) battery temperature look-up and interpolation, and > B) maintenance charging > > Some design choices can be discussed, so I included some > HWMON etc maintainers. > > NTC resistor: > > For the battery NTC temperature we should note the existing NTC > driver in drivers/hwmon/ntc_thermistor.c with bindings > in Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml > which is used for stand-alone NTC resistors. > > It is probably possible to try to reuse the hwmon code but I > wanted to see if we have buy-in from the hwmon maintainer first. > Go ahead; anything that reduces code duplication is desirable. Guenter