Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: sunxi-ng: sun6i: Export video PLLs

The 2x outputs of the 2 video PLL clocks are directly used by the
HDMI controller block.

Export them so they can be referenced in the device tree.

Fixes: c6e6c96d8fa6 ("clk: sunxi-ng: Add A31/A31s clocks")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

authored by

Chen-Yu Tsai and committed by
Maxime Ripard
80815004 5da672cf

+10 -2
+6 -2
drivers/clk/sunxi-ng/ccu-sun6i-a31.h
··· 27 27 #define CLK_PLL_AUDIO_4X 4 28 28 #define CLK_PLL_AUDIO_8X 5 29 29 #define CLK_PLL_VIDEO0 6 30 - #define CLK_PLL_VIDEO0_2X 7 30 + 31 + /* The PLL_VIDEO0_2X clock is exported */ 32 + 31 33 #define CLK_PLL_VE 8 32 34 #define CLK_PLL_DDR 9 33 35 ··· 37 35 38 36 #define CLK_PLL_PERIPH_2X 11 39 37 #define CLK_PLL_VIDEO1 12 40 - #define CLK_PLL_VIDEO1_2X 13 38 + 39 + /* The PLL_VIDEO1_2X clock is exported */ 40 + 41 41 #define CLK_PLL_GPU 14 42 42 #define CLK_PLL_MIPI 15 43 43 #define CLK_PLL9 16
+4
include/dt-bindings/clock/sun6i-a31-ccu.h
··· 43 43 #ifndef _DT_BINDINGS_CLK_SUN6I_A31_H_ 44 44 #define _DT_BINDINGS_CLK_SUN6I_A31_H_ 45 45 46 + #define CLK_PLL_VIDEO0_2X 7 47 + 46 48 #define CLK_PLL_PERIPH 10 49 + 50 + #define CLK_PLL_VIDEO1_2X 13 47 51 48 52 #define CLK_CPU 18 49 53