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

clk: sunxi-ng: h3: Export PLL_PERIPH0 clock for the PRCM

The PRCM takes PLL_PERIPH0 as one of its parents for the AR100 clock.
As such we need to be able to describe this relationship in the device
tree.

Export the PLL_PERIPH0 clock so we can reference it in the PRCM node.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

authored by

Chen-Yu Tsai and committed by
Maxime Ripard
c4be8c68 a91afc97

+5 -1
+3 -1
drivers/clk/sunxi-ng/ccu-sun8i-h3.h
··· 29 29 #define CLK_PLL_VIDEO 6 30 30 #define CLK_PLL_VE 7 31 31 #define CLK_PLL_DDR 8 32 - #define CLK_PLL_PERIPH0 9 32 + 33 + /* PLL_PERIPH0 exported for PRCM */ 34 + 33 35 #define CLK_PLL_PERIPH0_2X 10 34 36 #define CLK_PLL_GPU 11 35 37 #define CLK_PLL_PERIPH1 12
+2
include/dt-bindings/clock/sun8i-h3-ccu.h
··· 43 43 #ifndef _DT_BINDINGS_CLK_SUN8I_H3_H_ 44 44 #define _DT_BINDINGS_CLK_SUN8I_H3_H_ 45 45 46 + #define CLK_PLL_PERIPH0 9 47 + 46 48 #define CLK_CPUX 14 47 49 48 50 #define CLK_BUS_CE 20