clk: meson: meson8b: add support for the GP_PLL clock on Meson8m2
Meson8m2 has a GP_PLL clock (similar to GP0_PLL on GXBB/GXL/GXM) which is used as input for the VPU clocks. The only supported frequency (based on Amlogic's vendor kernel sources) is 364MHz which is achieved using the following parameters: - input: XTAL (24MHz) - M = 182 - N = 3 - OD = 2 ^ 2 Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Acked-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lkml.kernel.org/r/20190324151104.18397-4-martin.blumenstingl@googlemail.com
This commit is contained in:

committed by
Neil Armstrong

parent
32cd198a1a
commit
b882964b37
@@ -19,6 +19,7 @@
|
||||
*
|
||||
* [0] http://dn.odroid.com/S805/Datasheet/S805_Datasheet%20V0.8%2020150126.pdf
|
||||
*/
|
||||
#define HHI_GP_PLL_CNTL 0x40 /* 0x10 offset in data sheet */
|
||||
#define HHI_VIID_CLK_DIV 0x128 /* 0x4a offset in data sheet */
|
||||
#define HHI_VIID_CLK_CNTL 0x12c /* 0x4b offset in data sheet */
|
||||
#define HHI_GCLK_MPEG0 0x140 /* 0x50 offset in data sheet */
|
||||
@@ -146,8 +147,10 @@
|
||||
#define CLKID_MALI_1_SEL 178
|
||||
#define CLKID_MALI_1_DIV 179
|
||||
#define CLKID_MALI_1 180
|
||||
#define CLKID_GP_PLL_DCO 181
|
||||
#define CLKID_GP_PLL 182
|
||||
|
||||
#define CLK_NR_CLKS 181
|
||||
#define CLK_NR_CLKS 183
|
||||
|
||||
/*
|
||||
* include the CLKID and RESETID that have
|
||||
|
Reference in New Issue
Block a user