From: "André Svensson" <andre.svensson@axis.com>
To: Support Opensource <support.opensource@diasemi.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Adam Ward <Adam.Ward.opensource@diasemi.com>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
kernel@axis.com, "Waqar Hameed" <waqar.hameed@axis.com>,
"André Svensson" <andre.svensson@axis.com>
Subject: [PATCH 0/2] Allow caching of buck registers when no GPIO input control is configured
Date: Mon, 9 Mar 2026 16:52:34 +0100 [thread overview]
Message-ID: <20260309-no-gpio-control-v1-0-06d2365917c6@axis.com> (raw)
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@axis.com>
next reply other threads:[~2026-03-09 15:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 15:52 André Svensson [this message]
2026-03-09 15:52 ` [PATCH 1/2] regulator: dt-bindings: dlg,da9121: Add dlg,no-gpio-control André Svensson
2026-03-09 16:30 ` Mark Brown
2026-03-10 8:55 ` André Svensson
2026-03-09 15:52 ` [PATCH 2/2] regulator: da9121: Allow caching BUCK registers André Svensson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260309-no-gpio-control-v1-0-06d2365917c6@axis.com \
--to=andre.svensson@axis.com \
--cc=Adam.Ward.opensource@diasemi.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@axis.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=support.opensource@diasemi.com \
--cc=waqar.hameed@axis.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®