[PATCH v2 0/3] regulator: da9063: disable unused voltage monitors

Benjamin Bara posted 3 patches 2 years, 10 months ago
There is a newer version of this series
.../devicetree/bindings/mfd/dlg,da9063.yaml        |  16 ++-
drivers/regulator/da9063-regulator.c               | 129 ++++++++++++++++-----
include/linux/mfd/da9063/registers.h               |  23 ++++
3 files changed, 138 insertions(+), 30 deletions(-)
[PATCH v2 0/3] regulator: da9063: disable unused voltage monitors
Posted by Benjamin Bara 2 years, 10 months ago
Hi!

Follow-up for my last patch regarding the disabling of unrequired
voltage monitors. We use the PWR_OK functionality, which asserts GP_FB2
if every monitored voltage is in range. This patch should provide the
possibility to deactivate a voltage monitor from the DT if the regulator
might be disabled during run time. For this purpose, the regulator
notification support is used:
https://lore.kernel.org/all/cover.1622628333.git.matti.vaittinen@fi.rohmeurope.com/

v1: https://lore.kernel.org/all/20220713124958.3094505-1-bbara93@gmail.com/

v2:
- reworked solution, based on Adam Thomson's feedback

---
Benjamin Bara (3):
      regulator: da9063: add voltage monitoring registers
      regulator: da9063: implement basic XVP setter
      dt-bindings: mfd: dlg,da9063: document XVP

 .../devicetree/bindings/mfd/dlg,da9063.yaml        |  16 ++-
 drivers/regulator/da9063-regulator.c               | 129 ++++++++++++++++-----
 include/linux/mfd/da9063/registers.h               |  23 ++++
 3 files changed, 138 insertions(+), 30 deletions(-)
---
base-commit: 7e364e56293bb98cae1b55fd835f5991c4e96e7d
change-id: 20230403-da9063-disable-unused-15836e2f4539

Best regards,
-- 
Benjamin Bara <benjamin.bara@skidata.com>
Re: [PATCH v2 0/3] regulator: da9063: disable unused voltage monitors
Posted by Lee Jones 2 years, 10 months ago
On Wed, 05 Apr 2023, Benjamin Bara wrote:

> Hi!
>
> Follow-up for my last patch regarding the disabling of unrequired
> voltage monitors. We use the PWR_OK functionality, which asserts GP_FB2
> if every monitored voltage is in range. This patch should provide the
> possibility to deactivate a voltage monitor from the DT if the regulator
> might be disabled during run time. For this purpose, the regulator
> notification support is used:
> https://lore.kernel.org/all/cover.1622628333.git.matti.vaittinen@fi.rohmeurope.com/
>
> v1: https://lore.kernel.org/all/20220713124958.3094505-1-bbara93@gmail.com/
>
> v2:
> - reworked solution, based on Adam Thomson's feedback
>
> ---
> Benjamin Bara (3):
>       regulator: da9063: add voltage monitoring registers
>       regulator: da9063: implement basic XVP setter
>       dt-bindings: mfd: dlg,da9063: document XVP
>
>  .../devicetree/bindings/mfd/dlg,da9063.yaml        |  16 ++-
>  drivers/regulator/da9063-regulator.c               | 129 ++++++++++++++++-----
>  include/linux/mfd/da9063/registers.h               |  23 ++++
>  3 files changed, 138 insertions(+), 30 deletions(-)

I'll handle this set once Mark is happy.

> ---
> base-commit: 7e364e56293bb98cae1b55fd835f5991c4e96e7d
> change-id: 20230403-da9063-disable-unused-15836e2f4539
>
> Best regards,
> --
> Benjamin Bara <benjamin.bara@skidata.com>
>

--
Lee Jones [李琼斯]