diff options
| author | Caleb Connolly <[email protected]> | 2023-11-07 12:41:03 +0000 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2024-01-16 12:26:24 +0000 |
| commit | 37ea1343ac92e614d40279273e35920a4827c310 (patch) | |
| tree | cfd44739bba6bc6f7e8ecd61ba97e42ae9132104 /include | |
| 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 <[email protected]>
Signed-off-by: Caleb Connolly <[email protected]>
[caleb: remove additional sysmap-sdm845.h mention]
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/dragonboard410c.h | 1 | ||||
| -rw-r--r-- | include/configs/dragonboard820c.h | 1 | ||||
| -rw-r--r-- | include/configs/dragonboard845c.h | 1 | ||||
| -rw-r--r-- | include/configs/qcs404-evb.h | 1 | ||||
| -rw-r--r-- | include/configs/sdm845.h | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index 73aec348458..00102cd5c4f 100644 --- a/include/configs/dragonboard410c.h +++ b/include/configs/dragonboard410c.h @@ -9,7 +9,6 @@ #define __CONFIGS_DRAGONBOARD410C_H #include <linux/sizes.h> -#include <asm/arch/sysmap-apq8016.h> /* Build new ELF image from u-boot.bin (U-Boot + appended DTB) */ diff --git a/include/configs/dragonboard820c.h b/include/configs/dragonboard820c.h index 49970837111..c6d9182ccc9 100644 --- a/include/configs/dragonboard820c.h +++ b/include/configs/dragonboard820c.h @@ -9,7 +9,6 @@ #define __CONFIGS_DRAGONBOARD820C_H #include <linux/sizes.h> -#include <asm/arch/sysmap-apq8096.h> /* Physical Memory Map */ diff --git a/include/configs/dragonboard845c.h b/include/configs/dragonboard845c.h index c1e590fae2a..14a8a2ca049 100644 --- a/include/configs/dragonboard845c.h +++ b/include/configs/dragonboard845c.h @@ -9,7 +9,6 @@ #define __CONFIGS_SDM845_H #include <linux/sizes.h> -#include <asm/arch/sysmap-sdm845.h> #define CFG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 } diff --git a/include/configs/qcs404-evb.h b/include/configs/qcs404-evb.h index 8ea59aa21ca..9501d43665e 100644 --- a/include/configs/qcs404-evb.h +++ b/include/configs/qcs404-evb.h @@ -9,7 +9,6 @@ #define __CONFIGS_QCS404EVB_H #include <linux/sizes.h> -#include <asm/arch/sysmap-qcs404.h> #define CFG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 } diff --git a/include/configs/sdm845.h b/include/configs/sdm845.h index 673268dca98..5ad8569b215 100644 --- a/include/configs/sdm845.h +++ b/include/configs/sdm845.h @@ -9,7 +9,6 @@ #define __CONFIGS_SDM845_H #include <linux/sizes.h> -#include <asm/arch/sysmap-sdm845.h> #define CFG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 } |
