All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] regulator: da9063: disable unused voltage monitors
@ 2023-04-05 17:14 Benjamin Bara
  2023-04-05 17:14 ` [PATCH v3 1/3] regulator: da9063: add voltage monitoring registers Benjamin Bara
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Benjamin Bara @ 2023-04-05 17:14 UTC (permalink / raw)
  To: Support Opensource, Liam Girdwood, Mark Brown, Lee Jones,
	Rob Herring, Krzysztof Kozlowski, Steve Twiss
  Cc: DLG-Adam.Thomson.Opensource, linux-kernel, devicetree,
	Matti Vaittinen, Benjamin Bara, Matti Vaittinen

Hi!

Follow-up for my initial patch regarding the disabling of unused
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/

v2: https://lore.kernel.org/r/20230403-da9063-disable-unused-v2-0-2f1bd2a2434a@skidata.com

---
Changelog:
v3:
2:
- add clarifications, reword XVP to voltage monitoring
- improve error messages
- ensure that only one severity is set
3:
- document that ov and uv require same severity and level

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

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

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

Best regards,
-- 
Benjamin Bara <benjamin.bara@skidata.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-04-20 11:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 17:14 [PATCH v3 0/3] regulator: da9063: disable unused voltage monitors Benjamin Bara
2023-04-05 17:14 ` [PATCH v3 1/3] regulator: da9063: add voltage monitoring registers Benjamin Bara
2023-04-05 17:14 ` [PATCH v3 2/3] regulator: da9063: implement setter for voltage monitoring Benjamin Bara
2023-04-05 17:14 ` [PATCH v3 3/3] dt-bindings: mfd: dlg,da9063: document " Benjamin Bara
2023-04-06  8:28   ` Krzysztof Kozlowski
2023-04-06  8:38     ` Benjamin Bara
2023-04-06  9:30       ` Krzysztof Kozlowski
2023-04-06  9:31   ` Krzysztof Kozlowski
2023-04-20 10:58   ` Lee Jones
2023-04-12 16:34 ` [PATCH v3 0/3] regulator: da9063: disable unused voltage monitors Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.