blob: 6e850ba26669a89185c2ae5851a6616e56d861e7 [file] [log] [blame]
Peng Fan6a8e5f92019-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
Simon Glass495e80f2023-02-05 15:36:26 -070012#if IS_ENABLED(CONFIG_CMD_CLK)
Peng Fan6a8e5f92019-03-05 02:32:33 +000013extern 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);