1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
5 * Author: Lee Jones <lee.jones@linaro.org>
8 #ifndef __LINUX_CLK_SPEAR_H
9 #define __LINUX_CLK_SPEAR_H
11 #ifdef CONFIG_ARCH_SPEAR3XX
12 void __init
spear3xx_clk_init(void __iomem
*misc_base
,
13 void __iomem
*soc_config_base
);
15 static inline void __init
spear3xx_clk_init(void __iomem
*misc_base
,
16 void __iomem
*soc_config_base
) {}
19 #ifdef CONFIG_ARCH_SPEAR6XX
20 void __init
spear6xx_clk_init(void __iomem
*misc_base
);
22 static inline void __init
spear6xx_clk_init(void __iomem
*misc_base
) {}
25 #ifdef CONFIG_MACH_SPEAR1310
26 void __init
spear1310_clk_init(void __iomem
*misc_base
, void __iomem
*ras_base
);
28 static inline void spear1310_clk_init(void __iomem
*misc_base
, void __iomem
*ras_base
) {}
31 #ifdef CONFIG_MACH_SPEAR1340
32 void __init
spear1340_clk_init(void __iomem
*misc_base
);
34 static inline void spear1340_clk_init(void __iomem
*misc_base
) {}