clk: sunxi-ng: sun5i: Export video PLLs
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 17 May 2017 07:40:37 +0000 (09:40 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 7 Jun 2017 13:32:14 +0000 (15:32 +0200)
The video PLLs are used directly by the HDMI controller. Export them so
that we can use them in our DT node.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/ccu-sun5i.h
include/dt-bindings/clock/sun5i-ccu.h

index 8144487eb7caa4394c7f785a1e458eb9cf684521..93a275fbd9a907277c5ce49353dad95d73b61adf 100644 (file)
 #define CLK_PLL_AUDIO_4X       6
 #define CLK_PLL_AUDIO_8X       7
 #define CLK_PLL_VIDEO0         8
-#define CLK_PLL_VIDEO0_2X      9
+
+/* The PLL_VIDEO0_2X is exported for HDMI */
+
 #define CLK_PLL_VE             10
 #define CLK_PLL_DDR_BASE       11
 #define CLK_PLL_DDR            12
 #define CLK_PLL_DDR_OTHER      13
 #define CLK_PLL_PERIPH         14
 #define CLK_PLL_VIDEO1         15
-#define CLK_PLL_VIDEO1_2X      16
 
+/* The PLL_VIDEO1_2X is exported for HDMI */
 /* The CPU clock is exported */
 
 #define CLK_AXI                        18
index aeb2e2f781fb13c9274f6a3807c2afad5aac33d4..81f34d477aeba7ef4e7baa2512d21dfed2db569b 100644 (file)
@@ -19,6 +19,9 @@
 
 #define CLK_HOSC               1
 
+#define CLK_PLL_VIDEO0_2X      9
+
+#define CLK_PLL_VIDEO1_2X      16
 #define CLK_CPU                        17
 
 #define CLK_AHB_OTG            23