[PATCH v5 2/5] firmware: exynos-acpm: add DVFS protocol
André Draszik
andre.draszik at linaro.org
Wed Sep 24 08:24:35 PDT 2025
Hi Tudor,
On Wed, 2025-09-24 at 15:11 +0000, Tudor Ambarus wrote:
> Add ACPM DVFS protocol handler. It constructs DVFS messages that
> the APM firmware can understand.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>
> Reviewed-by: Peter Griffin <peter.griffin at linaro.org>
> Tested-by: Peter Griffin <peter.griffin at linaro.org> # on gs101-oriole
> ---
[...]
> diff --git a/include/linux/firmware/samsung/exynos-acpm-protocol.h b/include/linux/firmware/samsung/exynos-acpm-protocol.h
> index f628bf1862c25fa018a2fe5e7e123bf05c5254b9..e41055316bb578bb8250a1b1177f1059eeeb2611 100644
> --- a/include/linux/firmware/samsung/exynos-acpm-protocol.h
> +++ b/include/linux/firmware/samsung/exynos-acpm-protocol.h
> @@ -13,6 +13,15 @@
> struct acpm_handle;
> struct device_node;
>
> +struct acpm_dvfs_ops {
> + int (*set_rate)(const struct acpm_handle *handle,
> + unsigned int acpm_chan_id, unsigned int clk_id,
> + unsigned long rate);
> + unsigned long (*get_rate)(const struct acpm_handle *handle,
> + unsigned int acpm_chan_id,
> + unsigned int clk_id, u32 dbg_val);
Everything seems self-explanatory except this dbg_val. What are API users meant
to put there? Maybe some kerneldoc could explain it?
Cheers,
Andre'
More information about the linux-arm-kernel
mailing list