xref: /linux/drivers/clk/samsung/clk-exynos-arm64.h (revision e7d759f31ca295d589f7420719c311870bb3166f)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2021 Linaro Ltd.
4  * Copyright (C) 2021 Dávid Virág <virag.david003@gmail.com>
5  * Author: Sam Protsenko <semen.protsenko@linaro.org>
6  * Author: Dávid Virág <virag.david003@gmail.com>
7  *
8  * This file contains shared functions used by some arm64 Exynos SoCs,
9  * such as Exynos7885 or Exynos850 to register and init CMUs.
10  */
11 
12 #ifndef __CLK_EXYNOS_ARM64_H
13 #define __CLK_EXYNOS_ARM64_H
14 
15 #include "clk.h"
16 
17 void exynos_arm64_register_cmu(struct device *dev,
18 		struct device_node *np, const struct samsung_cmu_info *cmu);
19 int exynos_arm64_register_cmu_pm(struct platform_device *pdev, bool set_manual);
20 int exynos_arm64_cmu_suspend(struct device *dev);
21 int exynos_arm64_cmu_resume(struct device *dev);
22 
23 #endif /* __CLK_EXYNOS_ARM64_H */
24