xref: /openbmc/linux/drivers/clk/imx/clk-scu.h (revision ccb01374)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2018 NXP
4  *   Dong Aisheng <aisheng.dong@nxp.com>
5  */
6 
7 #ifndef __IMX_CLK_SCU_H
8 #define __IMX_CLK_SCU_H
9 
10 #include <linux/firmware/imx/sci.h>
11 
12 int imx_clk_scu_init(void);
13 struct clk_hw *imx_clk_scu(const char *name, u32 rsrc_id, u8 clk_type);
14 
15 struct clk_hw *imx_clk_lpcg_scu(const char *name, const char *parent_name,
16 				unsigned long flags, void __iomem *reg,
17 				u8 bit_idx, bool hw_gate);
18 #endif
19