clk-scu.h (5964012ce37e66d2588a9bc82f7184a008851cac) clk-scu.h (afd0406b4663014ef1f5993454db89c8a0e8bb42)
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2018-2021 NXP
4 * Dong Aisheng <aisheng.dong@nxp.com>
5 */
6
7#ifndef __IMX_CLK_SCU_H
8#define __IMX_CLK_SCU_H

--- 8 unchanged lines hidden (view full) ---

17struct imx_clk_scu_rsrc_table {
18 const u32 *rsrc;
19 u8 num;
20};
21
22extern struct list_head imx_scu_clks[];
23extern const struct dev_pm_ops imx_clk_lpcg_scu_pm_ops;
24extern const struct imx_clk_scu_rsrc_table imx_clk_scu_rsrc_imx8qxp;
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2018-2021 NXP
4 * Dong Aisheng <aisheng.dong@nxp.com>
5 */
6
7#ifndef __IMX_CLK_SCU_H
8#define __IMX_CLK_SCU_H

--- 8 unchanged lines hidden (view full) ---

17struct imx_clk_scu_rsrc_table {
18 const u32 *rsrc;
19 u8 num;
20};
21
22extern struct list_head imx_scu_clks[];
23extern const struct dev_pm_ops imx_clk_lpcg_scu_pm_ops;
24extern const struct imx_clk_scu_rsrc_table imx_clk_scu_rsrc_imx8qxp;
25extern const struct imx_clk_scu_rsrc_table imx_clk_scu_rsrc_imx8qm;
25
26int imx_clk_scu_init(struct device_node *np,
27 const struct imx_clk_scu_rsrc_table *data);
28struct clk_hw *imx_scu_of_clk_src_get(struct of_phandle_args *clkspec,
29 void *data);
30struct clk_hw *imx_clk_scu_alloc_dev(const char *name,
31 const char * const *parents,
32 int num_parents, u32 rsrc_id, u8 clk_type);

--- 65 unchanged lines hidden ---
26
27int imx_clk_scu_init(struct device_node *np,
28 const struct imx_clk_scu_rsrc_table *data);
29struct clk_hw *imx_scu_of_clk_src_get(struct of_phandle_args *clkspec,
30 void *data);
31struct clk_hw *imx_clk_scu_alloc_dev(const char *name,
32 const char * const *parents,
33 int num_parents, u32 rsrc_id, u8 clk_type);

--- 65 unchanged lines hidden ---