devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pascal PAILLET-LME <p.paillet@st.com>
To: "lgirdwood@gmail.com" <lgirdwood@gmail.com>,
	"broonie@kernel.org" <broonie@kernel.org>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"mark.rutland@arm.com" <mark.rutland@arm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"axel.lin@ingics.com" <axel.lin@ingics.com>
Cc: Pascal PAILLET-LME <p.paillet@st.com>,
	"benjamin.gaignard@linaro.org" <benjamin.gaignard@linaro.org>,
	"linux-stm32@st-md-mailman.stormreply.com"
	<linux-stm32@st-md-mailman.stormreply.com>
Subject: [PATCH 6/8] regulator: stpmic1: Change buck1 voltage range
Date: Tue, 19 Feb 2019 10:04:34 +0000	[thread overview]
Message-ID: <1550570647-9555-7-git-send-email-p.paillet@st.com> (raw)
In-Reply-To: <1550570647-9555-1-git-send-email-p.paillet@st.com>

Change buck1 voltage range to be conform with the data-sheet.

Signed-off-by: pascal paillet <p.paillet@st.com>
---
 drivers/regulator/stpmic1_regulator.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c
index 6970e45..41128c4 100644
--- a/drivers/regulator/stpmic1_regulator.c
+++ b/drivers/regulator/stpmic1_regulator.c
@@ -56,8 +56,9 @@ enum {
 #define PMIC_ENABLE_TIME_US 2200
 
 static const struct regulator_linear_range buck1_ranges[] = {
-	REGULATOR_LINEAR_RANGE(600000, 0, 30, 25000),
-	REGULATOR_LINEAR_RANGE(1350000, 31, 63, 0),
+	REGULATOR_LINEAR_RANGE(725000, 0, 4, 0),
+	REGULATOR_LINEAR_RANGE(725000, 5, 36, 25000),
+	REGULATOR_LINEAR_RANGE(1500000, 37, 63, 0),
 };
 
 static const struct regulator_linear_range buck2_ranges[] = {
-- 
1.9.1

  parent reply	other threads:[~2019-02-19 10:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 10:04 [PATCH 0/8] STPMIC1 Fixes Pascal PAILLET-LME
2019-02-19 10:04 ` [PATCH 1/8] regulator: stpmic1: Use regulator mode definition from bindings Pascal PAILLET-LME
2019-02-19 10:04 ` [PATCH 2/8] regulator: stpmic1: Simplify regulators registration Pascal PAILLET-LME
2019-02-19 10:04 ` [PATCH 3/8] dt-bindings: regulator: remove interrupt-parent description on stpmic1 Pascal PAILLET-LME
2019-02-19 10:04 ` [PATCH 4/8] dt-bindings: regulator: remove regulator pull-down support for stpmic1 Pascal PAILLET-LME
2019-02-19 10:04 ` [PATCH 5/8] regulator: stpmic1: Remove support for regulator pull down Pascal PAILLET-LME
2019-02-19 10:04 ` [PATCH 7/8] dt-bindings: regulator: Add active discharge support for stpmic1 Pascal PAILLET-LME
2019-02-19 10:04 ` Pascal PAILLET-LME [this message]
2019-02-19 10:42   ` [PATCH 6/8] regulator: stpmic1: Change buck1 voltage range Mark Brown
2019-02-19 10:04 ` [PATCH 8/8] regulator: stpmic1: Add active discharge support Pascal PAILLET-LME

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=1550570647-9555-7-git-send-email-p.paillet@st.com \
    --to=p.paillet@st.com \
    --cc=axel.lin@ingics.com \
    --cc=benjamin.gaignard@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mark.rutland@arm.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).