Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / clk / sunxi-ng / ccu-sun8i-de2.h
blob499442002f2ac3c1946bfec0ad323a8d8e516723
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright 2016 Icenowy Zheng <icenowy@aosc.io>
4 */
6 #ifndef _CCU_SUN8I_DE2_H_
7 #define _CCU_SUN8I_DE2_H_
9 #include <dt-bindings/clock/sun8i-de2.h>
10 #include <dt-bindings/reset/sun8i-de2.h>
12 /* Intermediary clock dividers are not exported */
13 #define CLK_MIXER0_DIV 3
14 #define CLK_MIXER1_DIV 4
15 #define CLK_WB_DIV 5
16 #define CLK_ROT_DIV 11
18 #define CLK_NUMBER_WITH_ROT (CLK_ROT_DIV + 1)
19 #define CLK_NUMBER_WITHOUT_ROT (CLK_WB + 1)
21 #endif /* _CCU_SUN8I_DE2_H_ */