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