1*9c92ab61SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 24116076eSJosh Cartwright /* 34116076eSJosh Cartwright * Copyright (c) 2014, The Linux Foundation. All rights reserved. 44116076eSJosh Cartwright */ 54116076eSJosh Cartwright 64116076eSJosh Cartwright #ifndef __QCOM_CLK_REGMAP_DIVIDER_H__ 74116076eSJosh Cartwright #define __QCOM_CLK_REGMAP_DIVIDER_H__ 84116076eSJosh Cartwright 94116076eSJosh Cartwright #include <linux/clk-provider.h> 104116076eSJosh Cartwright #include "clk-regmap.h" 114116076eSJosh Cartwright 124116076eSJosh Cartwright struct clk_regmap_div { 134116076eSJosh Cartwright u32 reg; 144116076eSJosh Cartwright u32 shift; 154116076eSJosh Cartwright u32 width; 164116076eSJosh Cartwright struct clk_regmap clkr; 174116076eSJosh Cartwright }; 184116076eSJosh Cartwright 194116076eSJosh Cartwright extern const struct clk_ops clk_regmap_div_ops; 20f933d383SAbhishek Sahu extern const struct clk_ops clk_regmap_div_ro_ops; 214116076eSJosh Cartwright 224116076eSJosh Cartwright #endif 23