1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2014 Marvell Technology Group Ltd.
4 *
5 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
6 * Alexandre Belloni <alexandre.belloni@free-electrons.com>
7 */
8#ifndef __BERLIN2_AVPLL_H
9#define __BERLIN2_AVPLL_H
10
11#define BERLIN2_AVPLL_BIT_QUIRK BIT(0)
12#define BERLIN2_AVPLL_SCRAMBLE_QUIRK BIT(1)
13
14int berlin2_avpll_vco_register(void __iomem *base, const char *name,
15 const char *parent_name, u8 vco_flags, unsigned long flags);
16
17int berlin2_avpll_channel_register(void __iomem *base, const char *name,
18 u8 index, const char *parent_name, u8 ch_flags,
19 unsigned long flags);
20
21#endif /* __BERLIN2_AVPLL_H */
22

source code of linux/drivers/clk/berlin/berlin2-avpll.h