Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / drivers / clk / qcom / clk-regmap-mux.h
CommitLineData
9c92ab61 1/* SPDX-License-Identifier: GPL-2.0-only */
b3ee3eff
SB
2/*
3 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
b3ee3eff
SB
4 */
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"
df964016 11#include "common.h"
b3ee3eff
SB
12
13struct clk_regmap_mux {
14 u32 reg;
15 u32 shift;
16 u32 width;
df964016 17 const struct parent_map *parent_map;
b3ee3eff
SB
18 struct clk_regmap clkr;
19};
20
21extern const struct clk_ops clk_regmap_mux_closest_ops;
22
23#endif