2 * Copyright 2015 Linaro Ltd.
3 * Copyright (C) 2014 ZTE Corporation.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
12 #include <linux/clk-provider.h>
13 #include <linux/spinlock.h>
15 struct zx_pll_config
{
23 void __iomem
*reg_base
;
24 const struct zx_pll_config
*lookup_table
; /* order by rate asc */
29 struct clk
*clk_register_zx_pll(const char *name
, const char *parent_name
,
30 unsigned long flags
, void __iomem
*reg_base
,
31 const struct zx_pll_config
*lookup_table
, int count
, spinlock_t
*lock
);
35 void __iomem
*reg_base
;
38 struct clk
*clk_register_zx_audio(const char *name
,
39 const char * const parent_name
,
40 unsigned long flags
, void __iomem
*reg_base
);