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

clk: sunxi-ng: a64: 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
d85da227 c4be8c68

+5 -1
+3 -1
drivers/clk/sunxi-ng/ccu-sun50i-a64.h
··· 31 31 #define CLK_PLL_VIDEO0_2X 8 32 32 #define CLK_PLL_VE 9 33 33 #define CLK_PLL_DDR0 10 34 - #define CLK_PLL_PERIPH0 11 34 + 35 + /* PLL_PERIPH0 exported for PRCM */ 36 + 35 37 #define CLK_PLL_PERIPH0_2X 12 36 38 #define CLK_PLL_PERIPH1 13 37 39 #define CLK_PLL_PERIPH1_2X 14
+2
include/dt-bindings/clock/sun50i-a64-ccu.h
··· 43 43 #ifndef _DT_BINDINGS_CLK_SUN50I_A64_H_ 44 44 #define _DT_BINDINGS_CLK_SUN50I_A64_H_ 45 45 46 + #define CLK_PLL_PERIPH0 11 47 + 46 48 #define CLK_BUS_MIPI_DSI 28 47 49 #define CLK_BUS_CE 29 48 50 #define CLK_BUS_DMA 30