xref: /linux/drivers/clk/stm32/reset-stm32.h (revision 03c11eb3b16dc0058589751dfd91f254be2be613)
1 /* SPDX-License-Identifier: GPL-2.0  */
2 /*
3  * Copyright (C) STMicroelectronics 2022 - All Rights Reserved
4  * Author: Gabriel Fernandez <gabriel.fernandez@foss.st.com> for STMicroelectronics.
5  */
6 
7 struct clk_stm32_reset_data {
8 	const struct reset_control_ops *ops;
9 	unsigned int nr_lines;
10 	u32 clear_offset;
11 };
12 
13 int stm32_rcc_reset_init(struct device *dev, struct clk_stm32_reset_data *data,
14 			 void __iomem *base);
15