mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Add ACPM DVFS protocol handler. It constructs DVFS messages that the APM firmware can understand. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Tested-by: Peter Griffin <peter.griffin@linaro.org> # on gs101-oriole Link: https://patch.msgid.link/20251010-acpm-clk-v6-2-321ee8826fd4@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
22 lines
572 B
C
22 lines
572 B
C
/* 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__ */
|