summaryrefslogtreecommitdiffstats
path: root/drivers/clk/stm32/reset-stm32.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/stm32/reset-stm32.h')
-rw-r--r--drivers/clk/stm32/reset-stm32.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/clk/stm32/reset-stm32.h b/drivers/clk/stm32/reset-stm32.h
index 8cf1cc9be4..f79cad21df 100644
--- a/drivers/clk/stm32/reset-stm32.h
+++ b/drivers/clk/stm32/reset-stm32.h
@@ -4,8 +4,15 @@
* Author: Gabriel Fernandez <gabriel.fernandez@foss.st.com> for STMicroelectronics.
*/
+struct stm32_reset_cfg {
+ u16 offset;
+ u8 bit_idx;
+ bool set_clr;
+};
+
struct clk_stm32_reset_data {
const struct reset_control_ops *ops;
+ const struct stm32_reset_cfg **reset_lines;
unsigned int nr_lines;
u32 clear_offset;
};