diff options
| author | Ronald Claveau <linux-kernel-dev@aliel.fr> | 2026-09-23 16:37:51 +0200 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-10-14 09:45:41 +0200 |
| commit | 44b39b4fb0f069a3bbe6bfb21a34d2d3730f393a (patch) | |
| tree | 5989c1d0af2920defbf84d3a9c89814f4f499157 /tools/perf/scripts/python | |
| parent | 8195b945794ca3a917131b8a5368bb61e687c927 (diff) | |
thermal/drivers/amlogic: Switch to clk_bulk API to support multiple clocks
The t7-thermal variant now exposes two clocks (bus and core) in its
devicetree binding, but the driver only knows how to get and manage
a single struct clk. Using devm_clk_get() would silently ignore the
second clock, so switch to devm_clk_bulk_get_all() and the matching
clk_bulk_prepare_enable()/clk_bulk_disable_unprepare() calls. This
lets the driver transparently handle however many clocks a given
compatible declares, without needing per-variant clock-handling code,
and keeps working for existing SoCs that only have one.
Fixes: 18d65de8157c ("thermal/drivers/amlogic: Add support for secure monitor calibration readout")
Signed-off-by: Ronald Claveau <linux-kernel-dev@aliel.fr>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260923-fix-t7-thermal-clock-v2-2-bff7a09eb487@aliel.fr
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
