summaryrefslogtreecommitdiff
path: root/drivers/firmware/samsung/exynos-acpm-dvfs.h
blob: 9f2778e649c9d806646467c3f3f1425333b6acd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright 2020 Samsung Electronics Co., Ltd.
 * Copyright 2020 Google LLC.
 * Copyright 2025 Linaro Ltd.
 */
#ifndef __EXYNOS_ACPM_DVFS_H__
#define __EXYNOS_ACPM_DVFS_H__

#include <linux/types.h>

struct acpm_handle;

int acpm_dvfs_set_rate(const struct acpm_handle *handle,
		       unsigned int acpm_chan_id, unsigned int id,
		       unsigned long rate);
unsigned long acpm_dvfs_get_rate(const struct acpm_handle *handle,
				 unsigned int acpm_chan_id,
				 unsigned int clk_id);

#endif /* __EXYNOS_ACPM_DVFS_H__ */