Mention branches and keyring.
[releases.git] / samsung / exynos5422-asv.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2019 Samsung Electronics Co., Ltd.
4  *            http://www.samsung.com/
5  *
6  * Samsung Exynos 5422 SoC Adaptive Supply Voltage support
7  */
8
9 #ifndef __LINUX_SOC_EXYNOS5422_ASV_H
10 #define __LINUX_SOC_EXYNOS5422_ASV_H
11
12 #include <linux/errno.h>
13
14 enum {
15         EXYNOS_ASV_SUBSYS_ID_ARM,
16         EXYNOS_ASV_SUBSYS_ID_KFC,
17         EXYNOS_ASV_SUBSYS_ID_MAX
18 };
19
20 struct exynos_asv;
21
22 #ifdef CONFIG_EXYNOS_ASV_ARM
23 int exynos5422_asv_init(struct exynos_asv *asv);
24 #else
25 static inline int exynos5422_asv_init(struct exynos_asv *asv)
26 {
27         return -ENOTSUPP;
28 }
29 #endif
30
31 #endif /* __LINUX_SOC_EXYNOS5422_ASV_H */