xref: /openbmc/linux/arch/sh/include/asm/clock.h (revision b2441318)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2f15cbe6fSPaul Mundt #ifndef __ASM_SH_CLOCK_H
3f15cbe6fSPaul Mundt #define __ASM_SH_CLOCK_H
4f15cbe6fSPaul Mundt 
5d28bdf05SMagnus Damm #include <linux/sh_clk.h>
6f15cbe6fSPaul Mundt 
7f15cbe6fSPaul Mundt /* Should be defined by processor-specific code */
8d6ef333bSMagnus Damm void __deprecated arch_init_clk_ops(struct sh_clk_ops **, int type);
9fa43972fSPaul Mundt int __init arch_clk_init(void);
10f15cbe6fSPaul Mundt 
11253b0887SPaul Mundt /* arch/sh/kernel/cpu/clock-cpg.c */
12253b0887SPaul Mundt int __init __deprecated cpg_clk_init(void);
13253b0887SPaul Mundt 
148b5ee113SMagnus Damm /* arch/sh/kernel/cpu/clock.c */
158b5ee113SMagnus Damm int clk_init(void);
168b5ee113SMagnus Damm 
17f15cbe6fSPaul Mundt #endif /* __ASM_SH_CLOCK_H */
18