2 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
3 * Copyright (c) 2013 Linaro Ltd.
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.
9 * Common Clock Framework support for all PLL's in Samsung platforms
12 #ifndef __SAMSUNG_CLK_PLL_H
13 #define __SAMSUNG_CLK_PLL_H
15 enum samsung_pll_type
{
44 #define PLL_35XX_RATE(_rate, _m, _p, _s) \
52 #define PLL_36XX_RATE(_rate, _m, _p, _s, _k) \
61 #define PLL_45XX_RATE(_rate, _m, _p, _s, _afc) \
70 #define PLL_4600_RATE(_rate, _m, _p, _s, _k, _vsel) \
80 #define PLL_4650_RATE(_rate, _m, _p, _s, _k, _mfr, _mrr, _vsel) \
92 /* NOTE: Rate table should be kept sorted in descending order. */
94 struct samsung_pll_rate_table
{
106 #endif /* __SAMSUNG_CLK_PLL_H */