]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp: syscon: manage clock when present in device tree
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 29 Jun 2021 10:04:23 +0000 (12:04 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 16 Jul 2021 07:28:46 +0000 (09:28 +0200)
commit7c55249307a930251473c6635b67529fec36c7e3
tree7386d24debe3e83caea5fbf435749ea472328f63
parent3105836c9e5d7c2823dc5817b60d6940bb1b817f
stm32mp: syscon: manage clock when present in device tree

Enable the clocks during syscon probe when they are present in device tree.

This patch avoids a freeze when the SYSCFG clock is not enabled by
TF-A / OP-TEE.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/syscon.c