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