2018-05-16 16:04:29 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2014-05-20 00:43:24 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2014 Marvell Technology Group Ltd.
|
|
|
|
*
|
|
|
|
* Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
|
|
|
|
* Alexandre Belloni <alexandre.belloni@free-electrons.com>
|
|
|
|
*/
|
|
|
|
#ifndef __BERLIN2_AVPLL_H
|
|
|
|
#define __BERLIN2_AVPLL_H
|
|
|
|
|
|
|
|
#define BERLIN2_AVPLL_BIT_QUIRK BIT(0)
|
|
|
|
#define BERLIN2_AVPLL_SCRAMBLE_QUIRK BIT(1)
|
|
|
|
|
2016-08-17 06:40:52 +08:00
|
|
|
int berlin2_avpll_vco_register(void __iomem *base, const char *name,
|
2014-05-20 00:43:24 +08:00
|
|
|
const char *parent_name, u8 vco_flags, unsigned long flags);
|
|
|
|
|
2016-08-17 06:40:52 +08:00
|
|
|
int berlin2_avpll_channel_register(void __iomem *base, const char *name,
|
2014-05-20 00:43:24 +08:00
|
|
|
u8 index, const char *parent_name, u8 ch_flags,
|
|
|
|
unsigned long flags);
|
|
|
|
|
|
|
|
#endif /* __BERLIN2_AVPLL_H */
|