Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / clk / qcom / reset.h
blob2a08b5e282c77c97db32e379bf5db33364d28fd5
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (c) 2013, The Linux Foundation. All rights reserved.
4 */
6 #ifndef __QCOM_CLK_RESET_H__
7 #define __QCOM_CLK_RESET_H__
9 #include <linux/reset-controller.h>
11 struct qcom_reset_map {
12 unsigned int reg;
13 u8 bit;
16 struct regmap;
18 struct qcom_reset_controller {
19 const struct qcom_reset_map *reset_map;
20 struct regmap *regmap;
21 struct reset_controller_dev rcdev;
24 #define to_qcom_reset_controller(r) \
25 container_of(r, struct qcom_reset_controller, rcdev);
27 extern const struct reset_control_ops qcom_reset_ops;
29 #endif