]> git.dujemihanovic.xyz Git - u-boot.git/commit
clock: implement a driver for the Tegra CAR
authorStephen Warren <swarren@nvidia.com>
Tue, 13 Sep 2016 16:45:59 +0000 (10:45 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 27 Sep 2016 16:11:02 +0000 (09:11 -0700)
commit4a332d3ee770bd6b633fd3abba741451b17156bc
tree9243d95843a8de86ba987194b4253a12972c30f7
parentfe60f06dcdee82b41f47e56ccb99cced91f1d2ac
clock: implement a driver for the Tegra CAR

Implement a clock uclass driver for the Tegra CAR. This allows clients to
use standard clock APIs on Tegra. This device is intended to be
instantiated by the core Tegra CAR driver, rather than being instantiated
directly from DT. The implementation uses the existing custom Tegra-
specific clock APIs to avoid coupling the series with significant
refactoring of the existing Tegra clock/clock code. The driver currently
only supports peripheral clocks, and avoids support for other clocks such
as PLLs and external clocks. This should be sufficient to convert over all
Tegra peripheral drivers, and avoids a complex implementation which calls
different Tegra-specific clock APIs based on the type of clock being
manipulated.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/clk/tegra/Kconfig
drivers/clk/tegra/Makefile
drivers/clk/tegra/tegra-car-clk.c [new file with mode: 0644]