18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2014 Marvell Technology Group Ltd. 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> 68c2ecf20Sopenharmony_ci * Alexandre Belloni <alexandre.belloni@free-electrons.com> 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci#ifndef __BERLIN2_AVPLL_H 98c2ecf20Sopenharmony_ci#define __BERLIN2_AVPLL_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#define BERLIN2_AVPLL_BIT_QUIRK BIT(0) 128c2ecf20Sopenharmony_ci#define BERLIN2_AVPLL_SCRAMBLE_QUIRK BIT(1) 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciint berlin2_avpll_vco_register(void __iomem *base, const char *name, 158c2ecf20Sopenharmony_ci const char *parent_name, u8 vco_flags, unsigned long flags); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciint berlin2_avpll_channel_register(void __iomem *base, const char *name, 188c2ecf20Sopenharmony_ci u8 index, const char *parent_name, u8 ch_flags, 198c2ecf20Sopenharmony_ci unsigned long flags); 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif /* __BERLIN2_AVPLL_H */ 22