drm: add modifiers for MediaTek tiled formats
[drm/drm-misc.git] / drivers / clk / qcom / reset.h
blobfe0561bf53d492da1dac71dd7067e84e46776bab
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;
14 u16 udelay;
15 u32 bitmask;
18 struct regmap;
20 struct qcom_reset_controller {
21 const struct qcom_reset_map *reset_map;
22 struct regmap *regmap;
23 struct reset_controller_dev rcdev;
26 #define to_qcom_reset_controller(r) \
27 container_of(r, struct qcom_reset_controller, rcdev);
29 extern const struct reset_control_ops qcom_reset_ops;
31 #endif