[PATCH 0/2] Allow caching of buck registers when no GPIO input control is configured
From: André Svensson
Date: Mon Mar 09 2026 - 12:01:49 EST
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.
---
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 | 35 +++++++++++++---
2 files changed, 78 insertions(+), 6 deletions(-)
---
base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b
change-id: 20260309-no-gpio-control-9cc02b1e8994
Best regards,
--
André Svensson <andre.svensson@xxxxxxxx>