2018-05-16 16:04:29 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2014-05-20 00:43:25 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2014 Marvell Technology Group Ltd.
|
|
|
|
*
|
|
|
|
* Alexandre Belloni <alexandre.belloni@free-electrons.com>
|
|
|
|
* Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
|
|
|
|
*/
|
|
|
|
#ifndef __BERLIN2_PLL_H
|
|
|
|
#define __BERLIN2_PLL_H
|
|
|
|
|
|
|
|
struct berlin2_pll_map {
|
|
|
|
const u8 vcodiv[16];
|
|
|
|
u8 mult;
|
|
|
|
u8 fbdiv_shift;
|
|
|
|
u8 rfdiv_shift;
|
|
|
|
u8 divsel_shift;
|
|
|
|
};
|
|
|
|
|
2016-08-17 06:40:52 +08:00
|
|
|
int berlin2_pll_register(const struct berlin2_pll_map *map,
|
|
|
|
void __iomem *base, const char *name,
|
|
|
|
const char *parent_name, unsigned long flags);
|
2014-05-20 00:43:25 +08:00
|
|
|
|
|
|
|
#endif /* __BERLIN2_PLL_H */
|