diff options
| author | Lucas Stach <l.stach@pengutronix.de> | 2018-12-01 10:52:13 +0000 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2018-12-03 10:13:35 -0800 |
| commit | ff70fbd0e81018b45daad5f64ee03ce32d20c917 (patch) | |
| tree | 18cb7456741e437f8bf5d519a949cba060e37387 /drivers/clk/imx/clk.h | |
| parent | 6209624b9a5c1e417b142e9688f5fc96c1e0cd58 (diff) | |
| download | linux-ff70fbd0e81018b45daad5f64ee03ce32d20c917.tar.gz linux-ff70fbd0e81018b45daad5f64ee03ce32d20c917.tar.bz2 linux-ff70fbd0e81018b45daad5f64ee03ce32d20c917.zip | |
clk: imx: Add SCCG PLL type
The SCCG is a new PLL type introduced on i.MX8.
The description of this SCCG clock can be found here:
https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/imx/clk.h')
| -rw-r--r-- | drivers/clk/imx/clk.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h index a9647dc04a64..34357ca970ae 100644 --- a/drivers/clk/imx/clk.h +++ b/drivers/clk/imx/clk.h @@ -21,6 +21,11 @@ enum imx_pllv1_type { IMX_PLLV1_IMX35, }; +enum imx_sccg_pll_type { + SCCG_PLL1, + SCCG_PLL2, +}; + struct clk *imx_clk_pllv1(enum imx_pllv1_type type, const char *name, const char *parent, void __iomem *base); @@ -30,6 +35,10 @@ struct clk *imx_clk_pllv2(const char *name, const char *parent, struct clk *imx_clk_frac_pll(const char *name, const char *parent_name, void __iomem *base); +struct clk *imx_clk_sccg_pll(const char *name, const char *parent_name, + void __iomem *base, + enum imx_sccg_pll_type pll_type); + enum imx_pllv3_type { IMX_PLLV3_GENERIC, IMX_PLLV3_SYS, |
