]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: stm32: add support compatible st, stm32mp1-rcc-secure
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 5 Jul 2022 14:55:55 +0000 (16:55 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 12 Jul 2022 09:46:32 +0000 (11:46 +0200)
Add support for new compatible st,stm32mp1-rcc-secure used when the
RCC resource is managed by secured world (RCC_TZCR.TZEN=1)
iand when SCMI is used.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/misc/stm32_rcc.c

index b816503bfa27c2212834e047b90b3cad790faf2f..c1e5428a6b815eb2d5fb9a217ca8034aa466d7d3 100644 (file)
@@ -84,6 +84,7 @@ static const struct udevice_id stm32_rcc_ids[] = {
        {.compatible = "st,stm32f746-rcc", .data = (ulong)&stm32_rcc_clk_f7 },
        {.compatible = "st,stm32h743-rcc", .data = (ulong)&stm32_rcc_clk_h7 },
        {.compatible = "st,stm32mp1-rcc", .data = (ulong)&stm32_rcc_clk_mp1 },
+       {.compatible = "st,stm32mp1-rcc-secure", .data = (ulong)&stm32_rcc_clk_mp1 },
        {.compatible = "st,stm32mp13-rcc", .data = (ulong)&stm32_rcc_clk_mp13 },
        { }
 };