clk: stm32mp25: implement clock check security function
authorGabriel Fernandez <gabriel.fernandez@foss.st.com>
Tue, 27 May 2025 13:27:45 +0000 (15:27 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 11 Jun 2025 07:42:55 +0000 (09:42 +0200)
commit49bc67b3fa0f245dacc7e88797d88343a72163a5
treede25c081b03fbbdceb4f6f6b6525e977f77eee1a
parentfc6c5e703f63d167f403781572d7437d48518d24
clk: stm32mp25: implement clock check security function

Check clock security to avoid access at boot time.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/clk/stm32/clk-stm32-core.c
drivers/clk/stm32/clk-stm32-core.h
drivers/clk/stm32/clk-stm32mp13.c
drivers/clk/stm32/clk-stm32mp25.c