18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2014 Marvell Technology Group Ltd. 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Alexandre Belloni <alexandre.belloni@free-electrons.com> 68c2ecf20Sopenharmony_ci * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci#ifndef __BERLIN2_PLL_H 98c2ecf20Sopenharmony_ci#define __BERLIN2_PLL_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_cistruct berlin2_pll_map { 128c2ecf20Sopenharmony_ci const u8 vcodiv[16]; 138c2ecf20Sopenharmony_ci u8 mult; 148c2ecf20Sopenharmony_ci u8 fbdiv_shift; 158c2ecf20Sopenharmony_ci u8 rfdiv_shift; 168c2ecf20Sopenharmony_ci u8 divsel_shift; 178c2ecf20Sopenharmony_ci}; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciint berlin2_pll_register(const struct berlin2_pll_map *map, 208c2ecf20Sopenharmony_ci void __iomem *base, const char *name, 218c2ecf20Sopenharmony_ci const char *parent_name, unsigned long flags); 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci#endif /* __BERLIN2_PLL_H */ 24