diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-10-08 19:09:29 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-10-15 18:16:03 +0200 |
commit | 6463b8d5ededcbf1b3026a720f3298ba280d21be (patch) | |
tree | 69a5747e3df3bcf5265dcda6b9640c22e21e823a /include | |
parent | d182137f18f24de3bc4b45c5a3d52e2f8f96a093 (diff) |
regulator: pca9450: disable buck123_dvs
The current driver does not handle/use the combined BUCK123_DVS register.
So do not use the voltage setpoints for buck1, buck2 and buck3 from
that register but rather take the values from the per buck converter
registers PCA9450_BUCKxOUT_DVSy.
Fixes buck1, buck2 and buck3 to be at their reset defaults of 850 mV
independent of what is commanded from software if the PMIC is not yet
configured accordingly in the bootloader.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/pca9450.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/pca9450.h b/include/linux/mfd/pca9450.h index b689c2dd3b94..6b003d40d93b 100644 --- a/include/linux/mfd/pca9450.h +++ b/include/linux/mfd/pca9450.h @@ -92,6 +92,9 @@ enum { PCA9450_MAX_REGISTER = 0x2F, }; +/* PCA9450_BUCK123_DVS */ +#define BUCK123_PRESET_EN 0x80 + /* PCA9450 BUCK ENMODE bits */ #define BUCK_ENMODE_OFF 0x00 #define BUCK_ENMODE_ONREQ 0x01 |