diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-04-04 11:11:05 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-04-25 10:51:36 -0700 |
commit | 869decd1ff197c3083cb8b58f7dcac201038c381 (patch) | |
tree | 10712e47c5e0e0f3c66a9237be8e654b2eea0f69 /arch/arm | |
parent | 2b1202d708fd3117bca6bad8770353f389ee0f08 (diff) | |
download | linux-869decd1ff197c3083cb8b58f7dcac201038c381.tar.bz2 |
clk: ti: dra7: disable the RNG and TIMER12 clkctrl clocks on HS devices
RNG and TIMER12 are reserved for secure side usage only on HS devices,
so disable their clkctrl clocks on HS SoCs also.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/clock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index 42881f21cede..3e0f09cc0028 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c @@ -119,6 +119,9 @@ void __init ti_clk_init_features(void) if (cpu_is_omap343x()) features.flags |= TI_CLK_DPLL_HAS_FREQSEL; + if (omap_type() == OMAP2_DEVICE_TYPE_GP) + features.flags |= TI_CLK_DEVICE_TYPE_GP; + /* Idlest value for interface clocks. * 24xx uses 0 to indicate not ready, and 1 to indicate ready. * 34xx reverses this, just to keep us on our toes |