1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
4  */
5 #ifndef K210_PLL_H
6 #define K210_PLL_H
7 
8 #include <test/export.h>
9 
10 struct k210_pll_config {
11 	u8 r;
12 	u8 f;
13 	u8 od;
14 };
15 
16 #ifdef CONFIG_UNIT_TEST
17 TEST_STATIC int k210_pll_calc_config(u32 rate, u32 rate_in,
18 				     struct k210_pll_config *best);
19 #ifndef nop
20 #define nop()
21 #endif
22 
23 #endif
24 #endif /* K210_PLL_H */
25