From: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
To: mazziesaccount@gmail.com, matti.vaittinen@fi.rohmeurope.com
Cc: "Lee Jones" <lee.jones@linaro.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
heikki.haikola@fi.rohmeurope.com,
mikko.mutanen@fi.rohmeurope.com,
"Robin Gong " <yibin.gong@nxp.com>,
"Elven Wang " <elven.wang@nxp.com>,
"Anson Huang " <anson.huang@nxp.com>
Subject: [RFC PATCH v1 0/3] bd718x7: Support SNVS low power state
Date: Tue, 12 Feb 2019 16:16:35 +0200 [thread overview]
Message-ID: <cover.1549980347.git.matti.vaittinen@fi.rohmeurope.com> (raw)
Patch series adding SNVS power state support to ROHM bd718x7 driver.
The SNVS is a low power state used by i.MX family of SoCs. In SNVS
state processor and most of the peripherials are shut off in order
to minimize power consumption.
BD71837 and BD71847 can be configured to use the SNVS state as a
reset/shutdown target state. There is some HW limitations though.
Main limitation is that regulators which have been under SW control
(regarding enable/disable state) will stay shut down after such reset.
Thus if SNVS is used as reset target the control of boot crucial
regulators must be left to HW state machine.
This patch seris allows one to describe the boot crucial regulators
and reset/shutdown target state as well as the default HW state
voltages from device-tree. I am unsure if the device-tree is the
correct way to bring this information and hence I send this initial
patch set as an RFC. Please comment and I will generate properly tested
patch series on top of this idea if this is seen as a reasonable
approach.
---
Matti Vaittinen (3):
devicetree: bindings: bd718x7: document HW state related ROHM specific
properties
regulator: add regulator_desc_list_voltage_linear_range
regulator: bd718x7: Support SNVS low power state
.../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 17 +++
.../bindings/regulator/rohm,bd71837-regulator.txt | 36 ++++++
drivers/regulator/bd718x7-regulator.c | 135 +++++++++++++++++++++
drivers/regulator/helpers.c | 39 ++++--
include/linux/regulator/driver.h | 6 +
5 files changed, 223 insertions(+), 10 deletions(-)
--
2.14.3
--
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 ~~~
next reply other threads:[~2019-02-12 14:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-12 14:16 Matti Vaittinen [this message]
2019-02-12 14:17 ` [RFC PATCH v1 1/3] devicetree: bindings: bd718x7: document HW state related ROHM specific properties Matti Vaittinen
2019-02-12 14:18 ` [RFC PATCH v1 2/3] regulator: add regulator_desc_list_voltage_linear_range Matti Vaittinen
2019-02-12 15:34 ` Mark Brown
2019-02-12 14:19 ` [RFC PATCH v1 3/3] regulator: bd718x7: Support SNVS low power state Matti Vaittinen
2019-02-12 16:08 ` Mark Brown
2019-02-13 7:38 ` Matti Vaittinen
2019-02-13 8:33 ` Matti Vaittinen
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.1549980347.git.matti.vaittinen@fi.rohmeurope.com \
--to=matti.vaittinen@fi.rohmeurope.com \
--cc=anson.huang@nxp.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=elven.wang@nxp.com \
--cc=heikki.haikola@fi.rohmeurope.com \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mazziesaccount@gmail.com \
--cc=mikko.mutanen@fi.rohmeurope.com \
--cc=robh+dt@kernel.org \
--cc=yibin.gong@nxp.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®