Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2014 Marvell Technology Group Ltd.
0004  *
0005  * Alexandre Belloni <alexandre.belloni@free-electrons.com>
0006  * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
0007  */
0008 #ifndef __BERLIN2_PLL_H
0009 #define __BERLIN2_PLL_H
0010 
0011 struct berlin2_pll_map {
0012     const u8 vcodiv[16];
0013     u8 mult;
0014     u8 fbdiv_shift;
0015     u8 rfdiv_shift;
0016     u8 divsel_shift;
0017 };
0018 
0019 int berlin2_pll_register(const struct berlin2_pll_map *map,
0020              void __iomem *base, const char *name,
0021              const char *parent_name, unsigned long flags);
0022 
0023 #endif /* __BERLIN2_PLL_H */