Re: [RFC PATCH v3 1/7] dt_bindings: Add protection limit properties
From: Rob Herring
Date: Wed Mar 24 2021 - 11:10:00 EST
On Thu, 11 Mar 2021 12:21:41 +0200, Matti Vaittinen wrote:
> Support specifying protection/error/warning limits for regulator
> over current, over temperature and over/under voltage.
>
> Most of the PMICs support only "protection" feature but few
> setups do also support error/warning level indications.
>
> On many ICs most of the protection limits can't actually be set.
> But for example the ampere limit for over-current protection on ROHM
> BD9576 can be configured - or feature can be completely disabled.
>
> Provide limit setting for all protections/errors for the sake of
> the completeness and do that using own properties for all so that
> not all users would need to set all levels when only one or few are
> supported.
>
> Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>
> ---
> v3:
> No changes.
> v2:
> Shortended property names as suggested by Rob.
>
> .../bindings/regulator/regulator.yaml | 82 +++++++++++++++++++
> 1 file changed, 82 insertions(+)
>
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>