blob: e75a65c3839c37964a1fdd25692d82e5fecb3fcb [file] [log] [blame]
Thomas Gleixner9c92ab62019-05-29 07:17:56 -07001/* SPDX-License-Identifier: GPL-2.0-only */
Josh Cartwright41160762015-01-19 18:05:30 -08002/*
3 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
Josh Cartwright41160762015-01-19 18:05:30 -08004 */
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
12struct clk_regmap_div {
13 u32 reg;
14 u32 shift;
15 u32 width;
16 struct clk_regmap clkr;
17};
18
19extern const struct clk_ops clk_regmap_div_ops;
Abhishek Sahuf933d382017-12-13 19:55:32 +053020extern const struct clk_ops clk_regmap_div_ro_ops;
Josh Cartwright41160762015-01-19 18:05:30 -080021
22#endif