Jisheng Zhang | 3504395 | 2018-05-16 16:04:29 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Sebastian Hesselbarth | beca8cc | 2014-05-19 18:43:24 +0200 | [diff] [blame] | 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> |
Sebastian Hesselbarth | beca8cc | 2014-05-19 18:43:24 +0200 | [diff] [blame] | 7 | */ |
| 8 | #ifndef __BERLIN2_AVPLL_H |
| 9 | #define __BERLIN2_AVPLL_H |
| 10 | |
Sebastian Hesselbarth | beca8cc | 2014-05-19 18:43:24 +0200 | [diff] [blame] | 11 | #define BERLIN2_AVPLL_BIT_QUIRK BIT(0) |
| 12 | #define BERLIN2_AVPLL_SCRAMBLE_QUIRK BIT(1) |
| 13 | |
Stephen Boyd | f6475e2 | 2016-08-16 15:40:52 -0700 | [diff] [blame] | 14 | int berlin2_avpll_vco_register(void __iomem *base, const char *name, |
Sebastian Hesselbarth | beca8cc | 2014-05-19 18:43:24 +0200 | [diff] [blame] | 15 | const char *parent_name, u8 vco_flags, unsigned long flags); |
| 16 | |
Stephen Boyd | f6475e2 | 2016-08-16 15:40:52 -0700 | [diff] [blame] | 17 | int berlin2_avpll_channel_register(void __iomem *base, const char *name, |
Sebastian Hesselbarth | beca8cc | 2014-05-19 18:43:24 +0200 | [diff] [blame] | 18 | u8 index, const char *parent_name, u8 ch_flags, |
| 19 | unsigned long flags); |
| 20 | |
| 21 | #endif /* __BERLIN2_AVPLL_H */ |