From: Christoph Fritz <chf.fritz@googlemail.com>
To: Fabio Estevam <festevam@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Shawn Guo <shawnguo@kernel.org>
Cc: Lee Jones <lee.jones@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Support Opensource <support.opensource@diasemi.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] ARM: dts: phycore-imx6: set buck regulator modes explicitly
Date: Thu, 7 Nov 2019 11:04:10 +0100 [thread overview]
Message-ID: <1573121050-4728-5-git-send-email-chf.fritz@googlemail.com> (raw)
In-Reply-To: <1573121050-4728-1-git-send-email-chf.fritz@googlemail.com>
This patch sets initial buck regulator modes explicitly to a state
this hardware needs. So a wrong initial mode set by bootloader or
pmic itself does not interfere anymore.
Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
index 6486df3..e3f2181 100644
--- a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
@@ -5,6 +5,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/regulator/dlg,da906x-regulator.h>
/ {
aliases {
@@ -109,6 +110,7 @@
regulator-name = "vdd_arm";
regulator-min-microvolt = <730000>;
regulator-max-microvolt = <1380000>;
+ regulator-initial-mode = <DA906X_BUCK_MODE_SYNC>;
regulator-always-on;
};
@@ -116,6 +118,7 @@
regulator-name = "vdd_soc";
regulator-min-microvolt = <730000>;
regulator-max-microvolt = <1380000>;
+ regulator-initial-mode = <DA906X_BUCK_MODE_SYNC>;
regulator-always-on;
};
@@ -123,6 +126,7 @@
regulator-name = "vdd_ddr3";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
+ regulator-initial-mode = <DA906X_BUCK_MODE_SYNC>;
regulator-always-on;
};
@@ -130,6 +134,7 @@
regulator-name = "vdd_eth";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <DA906X_BUCK_MODE_SYNC>;
regulator-always-on;
};
--
2.1.4
prev parent reply other threads:[~2019-11-07 10:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-07 10:04 [PATCH 0/4] regulator da9062: support setting buck modes Christoph Fritz
2019-11-07 10:04 ` [PATCH 1/4] regulator: da9062: refactor buck modes into header Christoph Fritz
2019-11-08 10:37 ` Adam Thomson
2019-11-13 11:04 ` Christoph Fritz
2019-11-07 10:04 ` [PATCH 2/4] regulator: da9062: add of_map_mode support for bucks Christoph Fritz
2019-11-08 10:42 ` Adam Thomson
2019-11-07 10:04 ` [PATCH 3/4] dt-bindings: regulator: describe da906x buck regulator modes Christoph Fritz
2019-11-07 11:55 ` Mark Brown
2019-11-08 10:44 ` Adam Thomson
2019-11-13 13:32 ` Rob Herring
2019-11-07 10:04 ` Christoph Fritz [this message]
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=1573121050-4728-5-git-send-email-chf.fritz@googlemail.com \
--to=chf.fritz@googlemail.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=shawnguo@kernel.org \
--cc=support.opensource@diasemi.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;
as well as URLs for NNTP newsgroup(s).