diff options
author | Caleb Connolly | 2023-11-07 12:41:03 +0000 |
---|---|---|
committer | Caleb Connolly | 2024-01-16 12:26:24 +0000 |
commit | 37ea1343ac92e614d40279273e35920a4827c310 (patch) | |
tree | cfd44739bba6bc6f7e8ecd61ba97e42ae9132104 /drivers/clk/qcom/Kconfig | |
parent | 0e7fec02ce49556da2f045a8d04c69f2ae9fbd93 (diff) |
clk/qcom: use function pointers for enable and set_rate
Currently, it isn't possible to build clock drivers for more than one
platform due to how the msm_enable() and msm_set_rate() callbacks are
implemented.
Extend qcom_clk_data to include function pointers for these and convert
all platforms to use them.
Previously, clock drivers relied on include/configs/<board.h> to include the
board specific sysmap header, however as most of the header contents are clock
driver related, import the contents directly into each clock driver and
remove the header. The only exception here is the dragonboard820c board file
which includes some pinctrl macros, those are also inlined.
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
[caleb: remove additional sysmap-sdm845.h mention]
Diffstat (limited to 'drivers/clk/qcom/Kconfig')
0 files changed, 0 insertions, 0 deletions