rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | ||||
3 | * Copyright (c) 2018 MediaTek Inc. | ||||
4 | * Author: Weiyi Lu <weiyi.lu@mediatek.com> | ||||
5 | */ | ||||
6 | |||||
7 | #include <stdbool.h> | ||||
8 | #include <stddef.h> | ||||
9 | |||||
10 | struct clkchk_cfg_t { | ||||
11 | bool aee_excp_on_fail; | ||||
12 | bool warn_on_fail; | ||||
13 | const char * const *compatible; | ||||
14 | const char * const *off_pll_names; | ||||
15 | const char * const *all_clk_names; | ||||
16 | }; | ||||
17 | |||||
18 | int clkchk_init(struct clkchk_cfg_t *cfg); |