xref: /linux/drivers/clk/stm32/reset-stm32.h (revision dbcedec3a31119d7594baacc743300d127c99c56)
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