From: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
To: mazziesaccount@gmail.com
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-power@fi.rohmeurope.com
Subject: [PATCH 0/4] Support regulator ON/OFF by PMIC state machine.
Date: Thu, 3 Sep 2020 21:37:51 +0300 [thread overview]
Message-ID: <cover.1599029334.git.matti.vaittinen@fi.rohmeurope.com> (raw)
Support regulator enable/disable via BD718(37/47/50) PMIC state machine.
The ROHM BD718(37/47/50) PMICs are mainly used for powering i.MX8 based
systems. On some setups the i.MX8 SoC uses a IO line to suspend the
system. These PMICs support this via PMIC internal HW state machine
which can be toggled for example by the PMIC_STBY_REQ IO-pin.
Regulators can be controlled either by this state machine or by SW via
I2C. This patch series allows mixed control model by adding a
device-tree property which is intended to be used to leave some of the
regulators under HW state machine control while allowing other to be
still controlled using the driver. The driver can also be used to set
voltages levels for all regulators no matter if enable/disable state is
controlled by SW or HW.
---
Matti Vaittinen (4):
regulator: bd718x7 initialize regulator config only once
dt-bindings: regulator: bd71837: add property for omitting ON/OFF
control
dt-bindings: regulator: bd71847: add property for omitting ON/OFF
control
regulator: bd718x7 fix regulator states at SUSPEND
.../regulator/rohm,bd71837-regulator.yaml | 11 +
.../regulator/rohm,bd71847-regulator.yaml | 11 +
drivers/regulator/bd718x7-regulator.c | 422 +++++++++++-------
3 files changed, 293 insertions(+), 151 deletions(-)
--
2.21.0
--
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND
~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =]
next reply other threads:[~2020-09-03 18:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-03 18:37 Matti Vaittinen [this message]
2020-09-03 18:38 ` [PATCH 1/4] regulator: bd718x7 initialize regulator config only once Matti Vaittinen
2020-09-03 18:38 ` [PATCH 2/4] dt-bindings: regulator: bd71837: add property for omitting ON/OFF control Matti Vaittinen
2020-09-03 18:38 ` [PATCH 3/4] dt-bindings: regulator: bd71847: " Matti Vaittinen
2020-09-03 18:39 ` [PATCH 4/4] regulator: bd718x7 fix regulator states at SUSPEND Matti Vaittinen
2020-09-04 10:03 ` [PATCH 0/4] Support regulator ON/OFF by PMIC state machine Mark Brown
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=cover.1599029334.git.matti.vaittinen@fi.rohmeurope.com \
--to=matti.vaittinen@fi.rohmeurope.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-power@fi.rohmeurope.com \
--cc=mazziesaccount@gmail.com \
--cc=robh+dt@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).