xref: /linux/drivers/clk/mediatek/clk-cpumux.h (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
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  */
6 
7 #ifndef __DRV_CLK_CPUMUX_H
8 #define __DRV_CLK_CPUMUX_H
9 
10 struct clk_hw_onecell_data;
11 struct device_node;
12 struct mtk_composite;
13 
14 int mtk_clk_register_cpumuxes(struct device *dev, struct device_node *node,
15 			      const struct mtk_composite *clks, int num,
16 			      struct clk_hw_onecell_data *clk_data);
17 
18 void mtk_clk_unregister_cpumuxes(const struct mtk_composite *clks, int num,
19 				 struct clk_hw_onecell_data *clk_data);
20 
21 #endif /* __DRV_CLK_CPUMUX_H */
22