blob: db6f4cdd9586d1c0866b683f881e933a79370caa [file] [log] [blame]
Thomas Gleixner9c92ab62019-05-29 07:17:56 -07001/* SPDX-License-Identifier: GPL-2.0-only */
Stephen Boydb3ee3ef2015-01-19 18:05:31 -08002/*
3 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
Stephen Boydb3ee3ef2015-01-19 18:05:31 -08004 */
5
6#ifndef __QCOM_CLK_REGMAP_MUX_H__
7#define __QCOM_CLK_REGMAP_MUX_H__
8
9#include <linux/clk-provider.h>
10#include "clk-regmap.h"
Abhishek Sahudf964012017-12-13 19:55:33 +053011#include "common.h"
Stephen Boydb3ee3ef2015-01-19 18:05:31 -080012
13struct clk_regmap_mux {
14 u32 reg;
15 u32 shift;
16 u32 width;
Abhishek Sahudf964012017-12-13 19:55:33 +053017 const struct parent_map *parent_map;
Stephen Boydb3ee3ef2015-01-19 18:05:31 -080018 struct clk_regmap clkr;
19};
20
21extern const struct clk_ops clk_regmap_mux_closest_ops;
22
23#endif