summaryrefslogtreecommitdiffstats
path: root/include/linux/clk
diff options
context:
space:
mode:
authorTero Kristo2019-04-04 10:11:05 +0200
committerStephen Boyd2019-04-25 19:51:36 +0200
commit869decd1ff197c3083cb8b58f7dcac201038c381 (patch)
tree10712e47c5e0e0f3c66a9237be8e654b2eea0f69 /include/linux/clk
parentclk: ti: dra7x: prevent non-existing clkctrl clocks from registering (diff)
downloadkernel-qcow2-linux-869decd1ff197c3083cb8b58f7dcac201038c381.tar.gz
kernel-qcow2-linux-869decd1ff197c3083cb8b58f7dcac201038c381.tar.xz
kernel-qcow2-linux-869decd1ff197c3083cb8b58f7dcac201038c381.zip
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 'include/linux/clk')
-rw-r--r--include/linux/clk/ti.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h
index 2821f7cb1ca9..1e8ef96555ce 100644
--- a/include/linux/clk/ti.h
+++ b/include/linux/clk/ti.h
@@ -294,6 +294,7 @@ struct ti_clk_features {
#define TI_CLK_DISABLE_CLKDM_CONTROL BIT(2)
#define TI_CLK_ERRATA_I810 BIT(3)
#define TI_CLK_CLKCTRL_COMPAT BIT(4)
+#define TI_CLK_DEVICE_TYPE_GP BIT(5)
void ti_clk_setup_features(struct ti_clk_features *features);
const struct ti_clk_features *ti_clk_get_features(void);