summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGabriel Fernandez <[email protected]>2025-05-27 15:27:53 +0200
committerPatrice Chotard <[email protected]>2025-06-11 09:42:55 +0200
commit0994a627c27849f616b6d145508aed6bb8acc33d (patch)
tree1d2fbc5d833ff9b8e4982b44e282dd0390d640a9 /include
parent901e0d95df3b351ca66695eb507b1f35f5eb2143 (diff)
reset: stm32mp25: add stm32mp25 reset driver
Implement STM32MP25 reset drivers using stm32-core-reset API. This reset stm32-reset-core API and will be able to use DT binding index started from 0. This patch also moves legacy reset into stm32 directory reset. Signed-off-by: Gabriel Fernandez <[email protected]> Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/stm32_rcc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/stm32_rcc.h b/include/stm32_rcc.h
index b559ea77281..447a555dcf5 100644
--- a/include/stm32_rcc.h
+++ b/include/stm32_rcc.h
@@ -39,11 +39,11 @@ struct stm32_clk_info {
bool v2;
};
+/* platdata used for clk-stm32f.c driver */
enum soc_family {
STM32F42X,
STM32F469,
STM32F7,
- STM32MP1,
};
enum apb {
@@ -51,8 +51,9 @@ enum apb {
APB2,
};
-struct stm32_rcc_clk {
- char *drv_name;
+struct stm32_rcc {
+ char *drv_name_clk;
+ char *drv_name_rst;
enum soc_family soc;
};