Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Allow caching of buck registers when no GPIO input control is configured
@ 2026-03-20  7:33 André Svensson
  2026-03-20  7:33 ` [PATCH v2 1/2] regulator: dt-bindings: dlg,da9121: Add dlg,no-gpio-control André Svensson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: André Svensson @ 2026-03-20  7:33 UTC (permalink / raw)
  To: Support Opensource, Liam Girdwood, Mark Brown, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Adam Ward
  Cc: linux-kernel, devicetree, kernel, Waqar Hameed,
	André Svensson

This series introduces a boolean DT property, dlg,no-gpio-control, for
the DA91xx regulators. Use this property to indicate that GPIO control
is not configured with the functions DVC/RELOAD/EN, allowing buck
registers to be cached.

The DA9121 driver checks dlg,no-gpio-control and updates regmap_config's
volatile_table if the property is present. Buck registers are removed
from the volatile_table if the property is present, enabling caching of
the registers, which removes I2C reads when performing an I2C write to
the buck registers.

---
Changes in v2:
- Update commit messages to clarify why dlg,no-gpio-control is needed.
- Add error check for mutually exclusive properties.
- Link to v1: https://lore.kernel.org/r/20260309-no-gpio-control-v1-0-06d2365917c6@axis.com

---
André Svensson (2):
      regulator: dt-bindings: dlg,da9121: Add dlg,no-gpio-control
      regulator: da9121: Allow caching BUCK registers

 .../devicetree/bindings/regulator/dlg,da9121.yaml  | 49 ++++++++++++++++++++++
 drivers/regulator/da9121-regulator.c               | 43 +++++++++++++++----
 2 files changed, 85 insertions(+), 7 deletions(-)
---
base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b
change-id: 20260309-no-gpio-control-9cc02b1e8994

Best regards,
-- 
André Svensson <andre.svensson@axis.com>


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

end of thread, other threads:[~2026-03-24 19:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20  7:33 [PATCH v2 0/2] Allow caching of buck registers when no GPIO input control is configured André Svensson
2026-03-20  7:33 ` [PATCH v2 1/2] regulator: dt-bindings: dlg,da9121: Add dlg,no-gpio-control André Svensson
2026-03-20 17:57   ` Conor Dooley
2026-03-20  7:33 ` [PATCH v2 2/2] regulator: da9121: Allow caching BUCK registers André Svensson
2026-03-24 19:40 ` [PATCH v2 0/2] Allow caching of buck registers when no GPIO input control is configured Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox