Files
Linux_Drivers/linux_5.10/drivers/soc/samsung/exynos5422-asv.h
sam.xiang 5c7dd7acc3 [linux] create linux_5.10.4 from T-head official:
repo: https://github.com/T-head-Semi/linux
	commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb

Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
2023-03-10 20:32:41 +08:00

32 lines
625 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Samsung Exynos 5422 SoC Adaptive Supply Voltage support
*/
#ifndef __LINUX_SOC_EXYNOS5422_ASV_H
#define __LINUX_SOC_EXYNOS5422_ASV_H
#include <linux/errno.h>
enum {
EXYNOS_ASV_SUBSYS_ID_ARM,
EXYNOS_ASV_SUBSYS_ID_KFC,
EXYNOS_ASV_SUBSYS_ID_MAX
};
struct exynos_asv;
#ifdef CONFIG_EXYNOS_ASV_ARM
int exynos5422_asv_init(struct exynos_asv *asv);
#else
static inline int exynos5422_asv_init(struct exynos_asv *asv)
{
return -ENOTSUPP;
}
#endif
#endif /* __LINUX_SOC_EXYNOS5422_ASV_H */