diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-24 00:38:25 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-04 15:19:55 +0200 |
commit | c797f3c168e2c3fd8bc9532680b7c587652ac8c1 (patch) | |
tree | 4a531e6dc975f9c0f6a0a1e2247ebabbea110989 /commands/Kconfig | |
parent | f2e2e596a221c146082821aa4d9ae249fe9d561a (diff) | |
download | barebox-c797f3c168e2c3fd8bc9532680b7c587652ac8c1.tar.gz barebox-c797f3c168e2c3fd8bc9532680b7c587652ac8c1.tar.xz |
commands: Add clk commands
This adds some basic commands to manupulate clocks on the command
line. Right now we have:
- clk_set_parent
- clk_set_rate
- clk_enable
- clk_disable
- clk_dump
The commands work based on the clock name, otherwise they behave like
the Linux Kernel C functions. clk_dump will dump the clocktree to the
console.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 1561315633..cf4142008b 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -613,6 +613,14 @@ config CMD_USB help The usb command allows to rescan for USB devices. +config CMD_CLK + tristate + depends on COMMON_CLK + prompt "clock manipulation commands" + help + Say yes here to get clk_set_rate, clk_set_parent and clk_dump + commands to manipulate clocks on your system. + menuconfig CMD_WD bool depends on WATCHDOG |