[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190219114716.6643D11284A6@debutante.sirena.org.uk>
Date: Tue, 19 Feb 2019 11:47:16 +0000 (GMT)
From: Mark Brown <broonie@...nel.org>
To: Pascal PAILLET-LME <p.paillet@...com>
Cc: pascal paillet <p.paillet@...com>, Mark Brown <broonie@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Applied "regulator: stpmic1: Change buck1 voltage range" to the regulator tree
The patch
regulator: stpmic1: Change buck1 voltage range
has been applied to the regulator tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
>From 48593a99a1f6245000fa90606dd9ec5eb96b54a6 Mon Sep 17 00:00:00 2001
From: Pascal PAILLET-LME <p.paillet@...com>
Date: Tue, 19 Feb 2019 10:04:34 +0000
Subject: [PATCH] regulator: stpmic1: Change buck1 voltage range
Change buck1 voltage range to be conform with the data-sheet.
Signed-off-by: pascal paillet <p.paillet@...com>
Signed-off-by: Mark Brown <broonie@...nel.org>
---
drivers/regulator/stpmic1_regulator.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c
index 16ba0297f709..a1f88e996cae 100644
--- a/drivers/regulator/stpmic1_regulator.c
+++ b/drivers/regulator/stpmic1_regulator.c
@@ -75,9 +75,10 @@ enum {
#define STPMIC1_BUCK_MODE_NORMAL 0
#define STPMIC1_BUCK_MODE_LP BUCK_HPLP_ENABLE_MASK
-struct regulator_linear_range buck1_ranges[] = {
- REGULATOR_LINEAR_RANGE(600000, 0, 30, 25000),
- REGULATOR_LINEAR_RANGE(1350000, 31, 63, 0),
+static const struct regulator_linear_range buck1_ranges[] = {
+ REGULATOR_LINEAR_RANGE(725000, 0, 4, 0),
+ REGULATOR_LINEAR_RANGE(725000, 5, 36, 25000),
+ REGULATOR_LINEAR_RANGE(1500000, 37, 63, 0),
};
struct regulator_linear_range buck2_ranges[] = {
--
2.20.1
Powered by blists - more mailing lists