Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
38 lines
1.0 KiB
C
38 lines
1.0 KiB
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2020 STMicroelectronics - All Rights Reserved
|
|
*
|
|
* Author: Lee Jones <lee.jones@linaro.org>
|
|
*/
|
|
|
|
#ifndef __LINUX_CLK_SPEAR_H
|
|
#define __LINUX_CLK_SPEAR_H
|
|
|
|
#ifdef CONFIG_ARCH_SPEAR3XX
|
|
void __init spear3xx_clk_init(void __iomem *misc_base,
|
|
void __iomem *soc_config_base);
|
|
#else
|
|
static inline void __init spear3xx_clk_init(void __iomem *misc_base,
|
|
void __iomem *soc_config_base) {}
|
|
#endif
|
|
|
|
#ifdef CONFIG_ARCH_SPEAR6XX
|
|
void __init spear6xx_clk_init(void __iomem *misc_base);
|
|
#else
|
|
static inline void __init spear6xx_clk_init(void __iomem *misc_base) {}
|
|
#endif
|
|
|
|
#ifdef CONFIG_MACH_SPEAR1310
|
|
void __init spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base);
|
|
#else
|
|
static inline void spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base) {}
|
|
#endif
|
|
|
|
#ifdef CONFIG_MACH_SPEAR1340
|
|
void __init spear1340_clk_init(void __iomem *misc_base);
|
|
#else
|
|
static inline void spear1340_clk_init(void __iomem *misc_base) {}
|
|
#endif
|
|
|
|
#endif
|