From: Christoph Fritz <chf.fritz@googlemail.com>
To: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>,
Mark Brown <broonie@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
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 v2 4/4] ARM: dts: phycore-imx6: set buck regulator modes explicitly
Date: Wed, 13 Nov 2019 14:40:16 +0100 [thread overview]
Message-ID: <1573652416-9848-5-git-send-email-chf.fritz@googlemail.com> (raw)
In-Reply-To: <1573652416-9848-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..644625d 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,da9063-regulator.h>
/ {
aliases {
@@ -109,6 +110,7 @@
regulator-name = "vdd_arm";
regulator-min-microvolt = <730000>;
regulator-max-microvolt = <1380000>;
+ regulator-initial-mode = <DA9063_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 = <DA9063_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 = <DA9063_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 = <DA9063_BUCK_MODE_SYNC>;
regulator-always-on;
};
--
2.1.4
next prev parent reply other threads:[~2019-11-13 13:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-13 13:40 [PATCH v2 0/4] regulator da9062: support setting buck modes Christoph Fritz
2019-11-13 13:40 ` [PATCH v2 1/4] regulator: da9062: refactor buck modes into header Christoph Fritz
2019-11-13 16:19 ` Adam Thomson
2019-11-15 12:25 ` Applied "regulator: da9062: refactor buck modes into header" to the regulator tree Mark Brown
2019-11-13 13:40 ` [PATCH v2 2/4] regulator: da9062: add of_map_mode support for bucks Christoph Fritz
2019-11-13 16:24 ` Adam Thomson
2019-11-15 12:25 ` Applied "regulator: da9062: add of_map_mode support for bucks" to the regulator tree Mark Brown
2019-11-13 13:40 ` [PATCH v2 3/4] dt-bindings: mfd: da9062: describe buck modes Christoph Fritz
2019-11-13 16:26 ` Adam Thomson
2019-11-15 12:25 ` Applied "dt-bindings: mfd: da9062: describe buck modes" to the regulator tree Mark Brown
2019-11-13 13:40 ` Christoph Fritz [this message]
2019-11-13 16:26 ` [PATCH v2 4/4] ARM: dts: phycore-imx6: set buck regulator modes explicitly Adam Thomson
2019-11-28 20:30 ` Christoph Fritz
2019-12-04 12:53 ` Shawn Guo
2019-12-11 18:56 ` Christoph Fritz
2019-12-12 1:41 ` Shawn Guo
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=1573652416-9848-5-git-send-email-chf.fritz@googlemail.com \
--to=chf.fritz@googlemail.com \
--cc=Adam.Thomson.Opensource@diasemi.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).