diff options
Diffstat (limited to 'include/k210/pll.h')
-rw-r--r-- | include/k210/pll.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/k210/pll.h b/include/k210/pll.h new file mode 100644 index 00000000000..175c47f6f23 --- /dev/null +++ b/include/k210/pll.h @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> + */ +#ifndef K210_PLL_H +#define K210_PLL_H + +#include <test/export.h> + +struct k210_pll_config { + u8 r; + u8 f; + u8 od; +}; + +#ifdef CONFIG_UNIT_TEST +TEST_STATIC int k210_pll_calc_config(u32 rate, u32 rate_in, + struct k210_pll_config *best); + +#endif +#endif /* K210_PLL_H */ |