summaryrefslogtreecommitdiffstats
path: root/drivers/clk/Kconfig
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2020-07-30 13:56:16 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2020-08-03 21:11:41 +0200
commitb113c9b570a3d7ec654971b972ffb7b550139f75 (patch)
tree0a6d8af238fd258318bb4f51afcea4f1282c4f8e /drivers/clk/Kconfig
parent7ab932825dd0ef363c2c8523e5b82836f1417dca (diff)
downloadu-boot-b113c9b570a3d7ec654971b972ffb7b550139f75.tar.gz
u-boot-b113c9b570a3d7ec654971b972ffb7b550139f75.tar.xz
u-boot-b113c9b570a3d7ec654971b972ffb7b550139f75.zip
clk: clk_octeon: Add simple MIPS Octeon clock driver
This patch adds a simple clock driver for the Marvell Octeon MIPS SoC family. Its for IO clock rate passing via DT in some of the Octeon driver, like I2C. So that we don't need to use the non-mainline API octeon_get_io_clock(). Signed-off-by: Stefan Roese <sr@denx.de> Cc: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r--drivers/clk/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 82cb1874e1..6003e140b5 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -83,6 +83,13 @@ config CLK_INTEL
set up by U-Boot itself but only statically. Thus the driver does not
support changing clock rates, only querying them.
+config CLK_OCTEON
+ bool "Clock controller driver for Marvell MIPS Octeon"
+ depends on CLK && ARCH_OCTEON
+ default y
+ help
+ Enable this to support the clocks on Octeon MIPS platforms.
+
config CLK_STM32F
bool "Enable clock driver support for STM32F family"
depends on CLK && (STM32F7 || STM32F4)