mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-21 19:18:45 +07:00
b745c0794e
In K2G, the clock handling is done through firmware executing on a separate core. Linux kernel needs to communicate to the firmware through TI system control interface to access any power management related resources, including clocks. The keystone sci-clk driver does this, by communicating to the firmware through the TI SCI driver. The driver adds support for registering clocks through DT, and basic required clock operations like prepare/get_rate, etc. Signed-off-by: Tero Kristo <t-kristo@ti.com> [sboyd@codeaurora.org: Make ti_sci_init_clocks() static] Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
16 lines
607 B
Plaintext
16 lines
607 B
Plaintext
config COMMON_CLK_KEYSTONE
|
|
tristate "Clock drivers for Keystone based SOCs"
|
|
depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
|
|
---help---
|
|
Supports clock drivers for Keystone based SOCs. These SOCs have local
|
|
a power sleep control module that gate the clock to the IPs and PLLs.
|
|
|
|
config TI_SCI_CLK
|
|
tristate "TI System Control Interface clock drivers"
|
|
depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
|
|
default TI_SCI_PROTOCOL
|
|
---help---
|
|
This adds the clock driver support over TI System Control Interface.
|
|
If you wish to use clock resources from the PMMC firmware, say Y.
|
|
Otherwise, say N.
|