]> git.baikalelectronics.ru Git - kernel.git/commit
clk: keystone: Add new driver to handle syscon based clocks
authorVignesh Raghavendra <vigneshr@ti.com>
Thu, 27 Feb 2020 05:35:29 +0000 (11:05 +0530)
committerStephen Boyd <sboyd@kernel.org>
Sat, 21 Mar 2020 00:07:21 +0000 (17:07 -0700)
commit8e317be366a9a26cea5d9e7bf6eb16e495849d99
treebb829072ed4f0f500c45f421b889647818e236c8
parent66278fd341360529fceb8568994c3659fce0654e
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>
drivers/clk/keystone/Kconfig
drivers/clk/keystone/Makefile
drivers/clk/keystone/syscon-clk.c [new file with mode: 0644]