blob: 17e311153b425c1c01e49a956cd04df2eef4860c [file] [log] [blame]
Sebastian Hesselbarthbeca8cc2014-05-19 18:43:24 +02001/*
2 * Copyright (c) 2014 Marvell Technology Group Ltd.
3 *
4 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
5 * Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2, as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19#ifndef __BERLIN2_AVPLL_H
20#define __BERLIN2_AVPLL_H
21
Sebastian Hesselbarthbeca8cc2014-05-19 18:43:24 +020022#define BERLIN2_AVPLL_BIT_QUIRK BIT(0)
23#define BERLIN2_AVPLL_SCRAMBLE_QUIRK BIT(1)
24
Stephen Boydf6475e22016-08-16 15:40:52 -070025int berlin2_avpll_vco_register(void __iomem *base, const char *name,
Sebastian Hesselbarthbeca8cc2014-05-19 18:43:24 +020026 const char *parent_name, u8 vco_flags, unsigned long flags);
27
Stephen Boydf6475e22016-08-16 15:40:52 -070028int berlin2_avpll_channel_register(void __iomem *base, const char *name,
Sebastian Hesselbarthbeca8cc2014-05-19 18:43:24 +020029 u8 index, const char *parent_name, u8 ch_flags,
30 unsigned long flags);
31
32#endif /* __BERLIN2_AVPLL_H */