diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2020-02-27 08:35:29 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-03-21 03:07:21 +0300 |
commit | 1aa0817e43c525c3ee035786a17a19077a0bb06a (patch) | |
tree | bb829072ed4f0f500c45f421b889647818e236c8 /drivers/clk/keystone/Kconfig | |
parent | cf891c6be1ce287ea7043ee958555ec633fab71d (diff) | |
download | linux-1aa0817e43c525c3ee035786a17a19077a0bb06a.tar.xz |
clk: keystone: Add new driver to handle syscon based clocks
On TI's AM654/J721e SoCs, certain clocks can be gated/ungated by setting
a single bit in SoC's System Control Module registers. Sometime more
than one clock control can be in the same register.
Add a driver to support such clocks using syscon framework. Driver
currently supports controlling EHRPWM's TimeBase clock(TBCLK) for AM654
SoC.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lkml.kernel.org/r/20200227053529.16479-3-vigneshr@ti.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/keystone/Kconfig')
-rw-r--r-- | drivers/clk/keystone/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/clk/keystone/Kconfig b/drivers/clk/keystone/Kconfig index 38aeefb1e808..ab613f28b502 100644 --- a/drivers/clk/keystone/Kconfig +++ b/drivers/clk/keystone/Kconfig @@ -26,3 +26,11 @@ config TI_SCI_CLK_PROBE_FROM_FW This is mostly only useful for debugging purposes, and will increase the boot time of the device. If you want the clocks probed from firmware, say Y. Otherwise, say N. + +config TI_SYSCON_CLK + tristate "Syscon based clock driver for K2/K3 SoCs" + depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST + default ARCH_KEYSTONE || ARCH_K3 + help + This adds clock driver support for syscon based gate + clocks on TI's K2 and K3 SoCs. |