diff options
| author | Peng Fan <[email protected]> | 2023-04-28 12:08:19 +0800 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2023-05-21 16:54:40 +0200 |
| commit | 5d09fcf24d7a3126a177d24becb1d51ef36e6480 (patch) | |
| tree | 57eff2dcdff2a5f3922342d4bafb985a2cb388a3 /arch/arm/include | |
| parent | 532e73fddab1781bafd0cb501893bc4fccb54094 (diff) | |
imx9: simplify clk settings
Simplify the clk root settings with an array
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/arch-imx9/clock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx9/clock.h b/arch/arm/include/asm/arch-imx9/clock.h index 336d8613181..1169ffd74d3 100644 --- a/arch/arm/include/asm/arch-imx9/clock.h +++ b/arch/arm/include/asm/arch-imx9/clock.h @@ -205,6 +205,12 @@ struct clk_root_map { u32 mux_type; }; +struct imx_clk_setting { + u32 clk_root; + enum ccm_clk_src src; + u32 div; +}; + int clock_init(void); u32 get_clk_src_rate(enum ccm_clk_src source); u32 get_lpuart_clk(void); |
