-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clk: keystone: Add sci-clk driver support
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>
- Loading branch information
Tero Kristo
authored and
Stephen Boyd
committed
Jun 14, 2017
1 parent
8f306cf
commit b745c07
Showing
6 changed files
with
744 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
obj-y += pll.o gate.o | ||
obj-$(CONFIG_COMMON_CLK_KEYSTONE) += pll.o gate.o | ||
obj-$(CONFIG_TI_SCI_CLK) += sci-clk.o |
Oops, something went wrong.