ARM: imx: add common clock support for pllv3

This PLL is found on i.MX6 SoCs

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
Shawn Guo
2012-04-04 16:02:28 +08:00
committed by Sascha Hauer
부모 a547b816a8
커밋 a3f6b9dbf2
3개의 변경된 파일433개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -11,6 +11,19 @@ struct clk *imx_clk_pllv1(const char *name, const char *parent,
struct clk *imx_clk_pllv2(const char *name, const char *parent,
void __iomem *base);
enum imx_pllv3_type {
IMX_PLLV3_GENERIC,
IMX_PLLV3_SYS,
IMX_PLLV3_USB,
IMX_PLLV3_AV,
IMX_PLLV3_ENET,
IMX_PLLV3_MLB,
};
struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,
const char *parent_name, void __iomem *base, u32 gate_mask,
u32 div_mask);
static inline struct clk *imx_clk_fixed(const char *name, int rate)
{
return clk_register_fixed_rate(NULL, name, NULL, CLK_IS_ROOT, rate);