Merge tag 'trace-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux/fpc-iii.git] / drivers / clk / mediatek / clk-cpumux.h
blob2aaf1afd4e5f133259fe5b372ff417a2d6f52211
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (c) 2015 Linaro Ltd.
4 * Author: Pi-Cheng Chen <pi-cheng.chen@linaro.org>
5 */
7 #ifndef __DRV_CLK_CPUMUX_H
8 #define __DRV_CLK_CPUMUX_H
10 struct mtk_clk_cpumux {
11 struct clk_hw hw;
12 struct regmap *regmap;
13 u32 reg;
14 u32 mask;
15 u8 shift;
18 int mtk_clk_register_cpumuxes(struct device_node *node,
19 const struct mtk_composite *clks, int num,
20 struct clk_onecell_data *clk_data);
22 #endif /* __DRV_CLK_CPUMUX_H */