projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8766018
)
regulator: mt6311: Modify the maximum voltage of buck.
author
Henry Chen
<
[email protected]
>
Mon, 3 Aug 2015 14:15:51 +0000
(22:15 +0800)
committer
Mark Brown
<
[email protected]
>
Mon, 3 Aug 2015 16:03:20 +0000
(17:03 +0100)
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 <
[email protected]
>
signed-off-by: Henry Chen <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/regulator/mt6311-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/mt6311-regulator.c
b/drivers/regulator/mt6311-regulator.c
index 096e6202be1c549ae204b37d66c4d83d32494558..b140da04a6576dc820ad267e399be3860fa43734 100644
(file)
--- 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 1
40000
0
+#define MT6311_MAX_UV 1
39375
0
#define MT6311_STEP_UV 6250
static const struct regulator_linear_range buck_volt_range[] = {