mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-24 19:08:50 +09:00
![Stephen Warren](/assets/img/avatar_default.png)
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>
14 lines
460 B
Plaintext
14 lines
460 B
Plaintext
config TEGRA_CAR_CLOCK
|
|
bool "Enable Tegra CAR-based clock driver"
|
|
depends on TEGRA_CAR
|
|
help
|
|
Enable support for manipulating Tegra's on-SoC clocks via direct
|
|
register access to the Tegra CAR (Clock And Reset controller).
|
|
|
|
config TEGRA186_CLOCK
|
|
bool "Enable Tegra186 BPMP-based clock driver"
|
|
depends on TEGRA186_BPMP
|
|
help
|
|
Enable support for manipulating Tegra's on-SoC clocks via IPC
|
|
requests to the BPMP (Boot and Power Management Processor).
|