]>
Commit | Line | Data |
---|---|---|
9c92ab61 | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
4116076e JC |
2 | /* |
3 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. | |
4116076e JC |
4 | */ |
5 | ||
6 | #ifndef __QCOM_CLK_REGMAP_DIVIDER_H__ | |
7 | #define __QCOM_CLK_REGMAP_DIVIDER_H__ | |
8 | ||
9 | #include <linux/clk-provider.h> | |
10 | #include "clk-regmap.h" | |
11 | ||
12 | struct clk_regmap_div { | |
13 | u32 reg; | |
14 | u32 shift; | |
15 | u32 width; | |
16 | struct clk_regmap clkr; | |
17 | }; | |
18 | ||
19 | extern const struct clk_ops clk_regmap_div_ops; | |
f933d383 | 20 | extern const struct clk_ops clk_regmap_div_ro_ops; |
4116076e JC |
21 | |
22 | #endif |