Commit 53e38162 authored by Henry Chen's avatar Henry Chen Committed by Mark Brown

regulator: mt6311: Modify the maximum voltage of buck.

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: default avatarAxel Lin <axel.lin@ingics.com>
signed-off-by: default avatarHenry Chen <henryc.chen@mediatek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8766018b
...@@ -34,7 +34,7 @@ static const struct regmap_config mt6311_regmap_config = { ...@@ -34,7 +34,7 @@ static const struct regmap_config mt6311_regmap_config = {
/* Default limits measured in millivolts and milliamps */ /* Default limits measured in millivolts and milliamps */
#define MT6311_MIN_UV 600000 #define MT6311_MIN_UV 600000
#define MT6311_MAX_UV 1400000 #define MT6311_MAX_UV 1393750
#define MT6311_STEP_UV 6250 #define MT6311_STEP_UV 6250
static const struct regulator_linear_range buck_volt_range[] = { static const struct regulator_linear_range buck_volt_range[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment