On Thu, 2021-02-11 at 14:35 +0200, Matti Vaittinen wrote:
> Add DT property parsing code and setting callback for regulator
> over/under
> voltage, over-current and temperature error limits.
>
> Signed-off-by: Matti Vaittinen <[email protected]>
> ---
> drivers/regulator/core.c | 122
> +++++++++++++++++++++-
> drivers/regulator/of_regulator.c | 58 ++++++++++
> drivers/regulator/qcom-labibb-regulator.c | 10 +-
> drivers/regulator/stpmic1_regulator.c | 17 ++-
> include/linux/regulator/driver.h | 41 +++++++-
> include/linux/regulator/machine.h | 26 +++++
> 6 files changed, 267 insertions(+), 7 deletions(-)
Just a note. I did somehow miss the qcom_spmi-regulator.c which also
uses the .set_over_current_protection. I will include that file in next
version if the idea is still seen worthy. Sorry for the incompleteness.
Best Regards
Matti Vaittinen