diff options
| author | Alexey Klimov <alexey.klimov@linaro.org> | 2026-09-15 00:05:43 +0100 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-09-20 17:11:53 +0200 |
| commit | 802a1a97c41dff82a557223f7a43655fc02920bd (patch) | |
| tree | 220d4bc07b057d3a5c579738bcfe98bdff86fb81 /include/linux/timerqueue.h | |
| parent | 0ae5dad7d9e6e4b8c8f3611f04fa929e634630e5 (diff) | |
clk: samsung: acpm: introduce driver data for SoC-specific clocks
Currently, the ACPM clock driver hardcodes the GS101 clock variant
arrays and counts directly in probe() routine. To support additional
other SoCs (for instance Exynos850 SoC) that use the same ACPM protocol
but have different clock trees, the driver needs to be more flexible.
Introduce driver data attached to the platform_device_id table.
Update the probe function to dynamically extract the clock lists,
number of clocks, its names and mailbox channel id based on the matching
device ID.
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
Link: https://patch.msgid.link/20260915-exynos850-acpm-clk-v2-1-ffad4a6b3fb1@linaro.org
[krzk: Drop unneeded mod_devicetable.h]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
