From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: dts: phycore-imx6: set buck regulator modes explicitly
Date: Sat, 24 Feb 2018 15:17:04 +0800 [thread overview]
Message-ID: <20180224071702.GD3217@dragon> (raw)
In-Reply-To: <1518170721-28198-4-git-send-email-chf.fritz@googlemail.com>
On Fri, Feb 09, 2018 at 11:05:21AM +0100, Christoph Fritz wrote:
> 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>
> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Looks good to me. Ping me to pick it up when first two patches are
accepted.
Shawn
> ---
> arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
> index 53e4337..2ad1336 100644
> --- a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
> @@ -109,6 +109,7 @@
> regulator-name = "vdd_arm";
> regulator-min-microvolt = <730000>;
> regulator-max-microvolt = <1380000>;
> + regulator-initial-mode = <2>; /* SYNC */
> regulator-always-on;
> };
>
> @@ -116,6 +117,7 @@
> regulator-name = "vdd_soc";
> regulator-min-microvolt = <730000>;
> regulator-max-microvolt = <1380000>;
> + regulator-initial-mode = <2>; /* SYNC */
> regulator-always-on;
> };
>
> @@ -123,6 +125,7 @@
> regulator-name = "vdd_ddr3";
> regulator-min-microvolt = <1500000>;
> regulator-max-microvolt = <1500000>;
> + regulator-initial-mode = <2>; /* SYNC */
> regulator-always-on;
> };
>
> @@ -130,6 +133,7 @@
> regulator-name = "vdd_eth";
> regulator-min-microvolt = <1200000>;
> regulator-max-microvolt = <1200000>;
> + regulator-initial-mode = <2>; /* SYNC */
> regulator-always-on;
> };
>
> --
> 2.1.4
>
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Christoph Fritz <chf.fritz@googlemail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>,
devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
linux-arm-kernel@lists.infradead.org,
Christian Hemp <c.hemp@phytec.de>
Subject: Re: [PATCH 3/3] ARM: dts: phycore-imx6: set buck regulator modes explicitly
Date: Sat, 24 Feb 2018 15:17:04 +0800 [thread overview]
Message-ID: <20180224071702.GD3217@dragon> (raw)
In-Reply-To: <1518170721-28198-4-git-send-email-chf.fritz@googlemail.com>
On Fri, Feb 09, 2018 at 11:05:21AM +0100, Christoph Fritz wrote:
> 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>
> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Looks good to me. Ping me to pick it up when first two patches are
accepted.
Shawn
> ---
> arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
> index 53e4337..2ad1336 100644
> --- a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
> @@ -109,6 +109,7 @@
> regulator-name = "vdd_arm";
> regulator-min-microvolt = <730000>;
> regulator-max-microvolt = <1380000>;
> + regulator-initial-mode = <2>; /* SYNC */
> regulator-always-on;
> };
>
> @@ -116,6 +117,7 @@
> regulator-name = "vdd_soc";
> regulator-min-microvolt = <730000>;
> regulator-max-microvolt = <1380000>;
> + regulator-initial-mode = <2>; /* SYNC */
> regulator-always-on;
> };
>
> @@ -123,6 +125,7 @@
> regulator-name = "vdd_ddr3";
> regulator-min-microvolt = <1500000>;
> regulator-max-microvolt = <1500000>;
> + regulator-initial-mode = <2>; /* SYNC */
> regulator-always-on;
> };
>
> @@ -130,6 +133,7 @@
> regulator-name = "vdd_eth";
> regulator-min-microvolt = <1200000>;
> regulator-max-microvolt = <1200000>;
> + regulator-initial-mode = <2>; /* SYNC */
> regulator-always-on;
> };
>
> --
> 2.1.4
>
next prev parent reply other threads:[~2018-02-24 7:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-09 10:05 [PATCH 0/3] regulator da9062: add and make use of map_mode support Christoph Fritz
2018-02-09 10:05 ` Christoph Fritz
2018-02-09 10:05 ` [PATCH 1/3] regulator: da9062: add of_map_mode support for bucks Christoph Fritz
2018-02-09 10:05 ` Christoph Fritz
2018-02-09 20:11 ` Fabio Estevam
2018-02-09 20:11 ` Fabio Estevam
2018-02-09 10:05 ` [PATCH 2/3] dt-bindings: regulator: describe da9062's regulator modes Christoph Fritz
2018-02-09 10:05 ` Christoph Fritz
2018-02-09 20:14 ` Fabio Estevam
2018-02-09 20:14 ` Fabio Estevam
2018-02-09 10:05 ` [PATCH 3/3] ARM: dts: phycore-imx6: set buck regulator modes explicitly Christoph Fritz
2018-02-09 10:05 ` Christoph Fritz
2018-02-09 20:14 ` Fabio Estevam
2018-02-09 20:14 ` Fabio Estevam
2018-02-24 7:17 ` Shawn Guo [this message]
2018-02-24 7:17 ` 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=20180224071702.GD3217@dragon \
--to=shawnguo@kernel.org \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.