lkml.org 
[lkml]   [2021]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 4/7] regulator: add property parsing and callbacks to set protection limits
From
Date

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 <matti.vaittinen@fi.rohmeurope.com>
> ---
> 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


\
 
 \ /
  Last update: 2021-02-12 08:33    [W:0.150 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site