mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regulator: mt6311: Modify the maximum voltage of buck.
@ 2015-08-03 14:15 Henry Chen
  0 siblings, 0 replies; only message in thread
From: Henry Chen @ 2015-08-03 14:15 UTC (permalink / raw)
  To: Mark Brown
  Cc: Matthias Brugger, Javier Martinez Canillas, Axel Lin,
	Sascha Hauer, linux-arm-kernel, linux-kernel, linux-mediatek,
	Henry Chen

The maximum voltage of buck should be 1.39375V.
1.39375V = 0.6V + 0.00625V * 127, 127 is the max_sel of linear range.

Reported-by: Axel Lin <axel.lin@ingics.com>
signed-off-by: Henry Chen <henryc.chen@mediatek.com>
---
 drivers/regulator/mt6311-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/mt6311-regulator.c b/drivers/regulator/mt6311-regulator.c
index 096e620..b140da0 100644
--- a/drivers/regulator/mt6311-regulator.c
+++ b/drivers/regulator/mt6311-regulator.c
@@ -34,7 +34,7 @@ static const struct regmap_config mt6311_regmap_config = {
 
 /* Default limits measured in millivolts and milliamps */
 #define MT6311_MIN_UV		600000
-#define MT6311_MAX_UV		1400000
+#define MT6311_MAX_UV		1393750
 #define MT6311_STEP_UV		6250
 
 static const struct regulator_linear_range buck_volt_range[] = {
-- 
1.8.1.1.dirty


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-03 14:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03 14:15 [PATCH] regulator: mt6311: Modify the maximum voltage of buck Henry Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®