17c36209bSGhennadi Procopciuc /* SPDX-License-Identifier: BSD-3-Clause */ 27c36209bSGhennadi Procopciuc /* 37c36209bSGhennadi Procopciuc * Copyright 2024 NXP 47c36209bSGhennadi Procopciuc */ 57c36209bSGhennadi Procopciuc #ifndef S32CC_CLK_UTILS_H 67c36209bSGhennadi Procopciuc #define S32CC_CLK_UTILS_H 77c36209bSGhennadi Procopciuc 87c36209bSGhennadi Procopciuc #include <s32cc-clk-modules.h> 97c36209bSGhennadi Procopciuc 107c36209bSGhennadi Procopciuc struct s32cc_clk *s32cc_get_clk_from_table(const struct s32cc_clk_array *const *clk_arr, 117c36209bSGhennadi Procopciuc size_t size, 127c36209bSGhennadi Procopciuc unsigned long clk_id); 137c36209bSGhennadi Procopciuc 147c36209bSGhennadi Procopciuc struct s32cc_clk *s32cc_get_arch_clk(unsigned long id); 157c36209bSGhennadi Procopciuc 16*66af5425SGhennadi Procopciuc void s32cc_clk_register_drv(void); 17*66af5425SGhennadi Procopciuc 187c36209bSGhennadi Procopciuc #endif /* S32CC_CLK_UTILS_H */ 19