Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2019 Samsung Electronics Co., Ltd.
0004  *        http://www.samsung.com/
0005  *
0006  * Samsung Exynos 5422 SoC Adaptive Supply Voltage support
0007  */
0008 
0009 #ifndef __LINUX_SOC_EXYNOS5422_ASV_H
0010 #define __LINUX_SOC_EXYNOS5422_ASV_H
0011 
0012 #include <linux/errno.h>
0013 
0014 enum {
0015     EXYNOS_ASV_SUBSYS_ID_ARM,
0016     EXYNOS_ASV_SUBSYS_ID_KFC,
0017     EXYNOS_ASV_SUBSYS_ID_MAX
0018 };
0019 
0020 struct exynos_asv;
0021 
0022 #ifdef CONFIG_EXYNOS_ASV_ARM
0023 int exynos5422_asv_init(struct exynos_asv *asv);
0024 #else
0025 static inline int exynos5422_asv_init(struct exynos_asv *asv)
0026 {
0027     return -ENOTSUPP;
0028 }
0029 #endif
0030 
0031 #endif /* __LINUX_SOC_EXYNOS5422_ASV_H */