]> git.baikalelectronics.ru Git - uboot.git/commit
stpmic1: program pmic to keep only the debug unit on
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 30 Jul 2019 17:16:20 +0000 (19:16 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 27 Aug 2019 07:36:56 +0000 (09:36 +0200)
commit977a5949b5b0cf45ff3609e30c5525bd40196788
tree4c430dc5ffb6f9f219beab05060920501ca50af9
parent6aba6cb167fb404f3f89be164d6eb4dfc849f009
stpmic1: program pmic to keep only the debug unit on

Depending on backup register value, we maintain the debug unit
powered-on for debugging purpose.
Only BUCK1 is required for powering the debug unit, so revert
the setting for all the other power lanes, except BUCK3 that
has to be always on.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/mach-stm32mp/include/mach/stm32.h
board/st/stm32mp1/spl.c
include/power/stpmic1.h