diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-05-31 09:58:21 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-05-31 21:57:27 +0200 |
commit | c4be8c68e6900b1811bc64f74cb13d5032a389ce (patch) | |
tree | 1cffd42e211b79ba430da8b611387e266da6c387 /drivers/clk/sunxi-ng/ccu-sun8i-h3.h | |
parent | dt-bindings: clock: sunxi-ccu: Add pll-periph to PRCM's needed clocks (diff) | |
download | linux-c4be8c68e6900b1811bc64f74cb13d5032a389ce.tar.xz linux-c4be8c68e6900b1811bc64f74cb13d5032a389ce.zip |
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>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu-sun8i-h3.h')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu-sun8i-h3.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-h3.h b/drivers/clk/sunxi-ng/ccu-sun8i-h3.h index 85973d1e8165..1b4baea37d81 100644 --- a/drivers/clk/sunxi-ng/ccu-sun8i-h3.h +++ b/drivers/clk/sunxi-ng/ccu-sun8i-h3.h @@ -29,7 +29,9 @@ #define CLK_PLL_VIDEO 6 #define CLK_PLL_VE 7 #define CLK_PLL_DDR 8 -#define CLK_PLL_PERIPH0 9 + +/* PLL_PERIPH0 exported for PRCM */ + #define CLK_PLL_PERIPH0_2X 10 #define CLK_PLL_GPU 11 #define CLK_PLL_PERIPH1 12 |