mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 13:41:55 +00:00
f05dc20243
Exynos5433 clock driver implements PM support internally, which might be also useful for other Exynos clock drivers. Extract all PM related code from clk-exynos5433 to common ARM64 functions. Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Link: https://lore.kernel.org/r/20230307002423.24454-4-semen.protsenko@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
24 lines
797 B
C
24 lines
797 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2021 Linaro Ltd.
|
|
* Copyright (C) 2021 Dávid Virág <virag.david003@gmail.com>
|
|
* Author: Sam Protsenko <semen.protsenko@linaro.org>
|
|
* Author: Dávid Virág <virag.david003@gmail.com>
|
|
*
|
|
* This file contains shared functions used by some arm64 Exynos SoCs,
|
|
* such as Exynos7885 or Exynos850 to register and init CMUs.
|
|
*/
|
|
|
|
#ifndef __CLK_EXYNOS_ARM64_H
|
|
#define __CLK_EXYNOS_ARM64_H
|
|
|
|
#include "clk.h"
|
|
|
|
void exynos_arm64_register_cmu(struct device *dev,
|
|
struct device_node *np, const struct samsung_cmu_info *cmu);
|
|
int exynos_arm64_register_cmu_pm(struct platform_device *pdev, bool set_manual);
|
|
int exynos_arm64_cmu_suspend(struct device *dev);
|
|
int exynos_arm64_cmu_resume(struct device *dev);
|
|
|
|
#endif /* __CLK_EXYNOS_ARM64_H */
|