Re: [RFC PATCH 4/7] regulator: add property parsing and callbacks to set protection limits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>
> ---
>  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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux