blob: 68ad6755e80fbc59d6ccf9ce3acf32dfd9c399bd [file] [log] [blame]
Peng Fan98c63a72019-03-05 02:32:33 +00001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2018 NXP
4 * Peng Fan <peng.fan@nxp.com>
5 */
6
7struct imx8_clks {
8 ulong id;
9 const char *name;
10};
11
12#if CONFIG_IS_ENABLED(CMD_CLK)
13extern struct imx8_clks imx8_clk_names[];
14extern int num_clks;
15#endif
16
17ulong imx8_clk_get_rate(struct clk *clk);
18ulong imx8_clk_set_rate(struct clk *clk, unsigned long rate);
19int __imx8_clk_enable(struct clk *clk, bool enable);