diff options
author | Tom Rini | 2022-03-28 12:36:49 -0400 |
---|---|---|
committer | Tom Rini | 2022-03-28 12:36:49 -0400 |
commit | 34d2b7f20369d62c0f091d6572a8c0ea4655cf14 (patch) | |
tree | 0591ee99c118e0e196730b6ec6582986200e6313 /include/k210/pll.h | |
parent | 7f0826c169ff14d62e92d02f85d33d0030d45c12 (diff) | |
parent | e893e8ea6a5d3af312747d00f93587559193a426 (diff) |
Merge tag 'v2022.04-rc5' into next
Prepare v2022.04-rc5
Diffstat (limited to 'include/k210/pll.h')
-rw-r--r-- | include/k210/pll.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/k210/pll.h b/include/k210/pll.h new file mode 100644 index 00000000000..fd16a89cb20 --- /dev/null +++ b/include/k210/pll.h @@ -0,0 +1,24 @@ +/* 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); +#ifndef nop +#define nop() +#endif + +#endif +#endif /* K210_PLL_H */ |