aboutsummaryrefslogtreecommitdiff
path: root/configs/stm32mp15_trusted_defconfig
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2020-06-12 10:40:58 +0200
committerPatrick Delaunay <patrick.delaunay@st.com>2020-07-07 16:01:23 +0200
commit8b8c99bd3e1e9463e27ccd1bca18f4a7627901aa (patch)
tree8761e330a836dfa3a6f384acdfab32d811bbad74 /configs/stm32mp15_trusted_defconfig
parent2ee5005dea1a12bba096abac1f8ebeaea91bf964 (diff)
downloadu-boot-8b8c99bd3e1e9463e27ccd1bca18f4a7627901aa.zip
u-boot-8b8c99bd3e1e9463e27ccd1bca18f4a7627901aa.tar.gz
u-boot-8b8c99bd3e1e9463e27ccd1bca18f4a7627901aa.tar.bz2
power: regulator: stm32: vrefbuf: fix a possible overshoot when re-enabling
There maybe an overshoot: - when disabling, then re-enabling vrefbuf too quickly - or upon platform reset as external capacitor maybe slow discharging (VREFBUF is HiZ at reset by default). VREFBUF is used by ADC/DAC on some boards. An overshoot on the reference voltage make the conversions inaccurate for a short period of time. So: - Don't put the VREFBUF in HiZ when disabling, to force an active discharge. - Enforce a 1ms OFF/ON delay, also upon reset Penalty is a 1ms delay is applied (even for a cold boot), when enabling VREFBUF. Fixes: 93cf0ae7758d ("power: regulator: Add support for stm32-vrefbuf") Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'configs/stm32mp15_trusted_defconfig')
0 files changed, 0 insertions, 0 deletions