forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/drivers/clk/sunxi-ng/ccu-sun8i-de2.h
....@@ -1,15 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2016 Icenowy Zheng <icenowy@aosc.io>
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
134 */
145
156 #ifndef _CCU_SUN8I_DE2_H_
....@@ -22,7 +13,9 @@
2213 #define CLK_MIXER0_DIV 3
2314 #define CLK_MIXER1_DIV 4
2415 #define CLK_WB_DIV 5
16
+#define CLK_ROT_DIV 11
2517
26
-#define CLK_NUMBER (CLK_WB + 1)
18
+#define CLK_NUMBER_WITH_ROT (CLK_ROT_DIV + 1)
19
+#define CLK_NUMBER_WITHOUT_ROT (CLK_WB + 1)
2720
2821 #endif /* _CCU_SUN8I_DE2_H_ */