]> Git Repo - J-linux.git/blob - drivers/clk/stm32/reset-stm32.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / clk / stm32 / reset-stm32.h
1 /* SPDX-License-Identifier: GPL-2.0  */
2 /*
3  * Copyright (C) STMicroelectronics 2022 - All Rights Reserved
4  * Author: Gabriel Fernandez <[email protected]> for STMicroelectronics.
5  */
6
7 struct stm32_reset_cfg {
8         u16 offset;
9         u8 bit_idx;
10         bool set_clr;
11 };
12
13 struct clk_stm32_reset_data {
14         const struct reset_control_ops *ops;
15         const struct stm32_reset_cfg **reset_lines;
16         unsigned int nr_lines;
17         u32 clear_offset;
18 };
19
20 int stm32_rcc_reset_init(struct device *dev, struct clk_stm32_reset_data *data,
21                          void __iomem *base);
This page took 0.029731 seconds and 4 git commands to generate.