summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2017-01-16 22:30:21 -0800
committerOlof Johansson <olof@lixom.net>2017-01-16 22:30:21 -0800
commit0e1c1c7af4b480becb5d7fc666fa4becf3ccd72f (patch)
treed6eac21e4ec255271951298e8f86952aa965dbe4 /drivers/clk
parent71c554ece79806f3c2755371c66d47b96f0a895f (diff)
parentbca9085e0ae93253bc93ce218c85ac7d7e7f1831 (diff)
downloadlinux-0e1c1c7af4b480becb5d7fc666fa4becf3ccd72f.tar.bz2
Merge tag 'samsung-dt-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt
Samsung DeviceTree update for v4.11: 1. Fixes for initial audio clocks configuration. 2. Enable sound on Odroid-X board. 3. Enable DMA for UART modules on Exynos5 SoCs. 4. Add CPU OPPs for Exynos4412 Prime (newer version of Exynos4412). This pulls necessary change in the clocks. 5. Remove Exynos4212. We do not have any mainline boards with it. This will simplify few bits later. * tag 'samsung-dt-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: dts: exynos: remove Exynos4212 support (dead code) ARM: dts: exynos: Add CPU OPPs for Exynos4412 Prime clk: samsung: Add CPU clk configuration data for Exynos4412 Prime ARM: dts: exynos: Enable DMA support for UART modules on Exynos5 SoCs ARM: dts: exynos: Cleanup Odroid-X2 and enable sound on Odroid-X ARM: dts: exynos: Fix initial audio clocks configuration on Exynos4 boards ARM: dts: exynos: Correct clocks for Exynos4 I2S module Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/samsung/clk-exynos4.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c
index faab9b31baf5..e40b77583c47 100644
--- a/drivers/clk/samsung/clk-exynos4.c
+++ b/drivers/clk/samsung/clk-exynos4.c
@@ -1298,6 +1298,8 @@ static const struct samsung_pll_rate_table exynos4210_vpll_rates[] __initconst =
};
static const struct samsung_pll_rate_table exynos4x12_apll_rates[] __initconst = {
+ PLL_35XX_RATE(1704000000, 213, 3, 0),
+ PLL_35XX_RATE(1600000000, 200, 3, 0),
PLL_35XX_RATE(1500000000, 250, 4, 0),
PLL_35XX_RATE(1400000000, 175, 3, 0),
PLL_35XX_RATE(1300000000, 325, 6, 0),
@@ -1421,6 +1423,8 @@ static const struct exynos_cpuclk_cfg_data e4212_armclk_d[] __initconst = {
(((cores) << 8) | ((hpm) << 4) | ((copy) << 0))
static const struct exynos_cpuclk_cfg_data e4412_armclk_d[] __initconst = {
+ { 1704000, E4210_CPU_DIV0(2, 1, 6, 0, 7, 3), E4412_CPU_DIV1(7, 0, 7), },
+ { 1600000, E4210_CPU_DIV0(2, 1, 6, 0, 7, 3), E4412_CPU_DIV1(7, 0, 6), },
{ 1500000, E4210_CPU_DIV0(2, 1, 6, 0, 7, 3), E4412_CPU_DIV1(7, 0, 6), },
{ 1400000, E4210_CPU_DIV0(2, 1, 6, 0, 7, 3), E4412_CPU_DIV1(6, 0, 6), },
{ 1300000, E4210_CPU_DIV0(2, 1, 5, 0, 7, 3), E4412_CPU_DIV1(6, 0, 5), },