Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296729
b: refs/heads/master
c: b247649
h: refs/heads/master
i:
  296727: c929f70
v: v3
  • Loading branch information
Mike Turquette authored and Arnd Bergmann committed Mar 16, 2012
1 parent ccb8a3c commit c1448dd
Show file tree
Hide file tree
Showing 7 changed files with 1,811 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69fe8a8e92ae6877167f222838bd0c92b35c7d72
refs/heads/master: b2476490ef11134b65544d8f062cff96c53e941b
40 changes: 40 additions & 0 deletions trunk/drivers/clk/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,43 @@ config HAVE_CLK_PREPARE

config HAVE_MACH_CLKDEV
bool

menuconfig COMMON_CLK
bool "Common Clock Framework"
select HAVE_CLK_PREPARE
---help---
The common clock framework is a single definition of struct
clk, useful across many platforms, as well as an
implementation of the clock API in include/linux/clk.h.
Architectures utilizing the common struct clk should select
this automatically, but it may be necessary to manually select
this option for loadable modules requiring the common clock
framework.

If in doubt, say "N".

if COMMON_CLK

config COMMON_CLK_DISABLE_UNUSED
bool "Disabled unused clocks at boot"
depends on COMMON_CLK
---help---
Traverses the entire clock tree and disables any clocks that are
enabled in hardware but have not been enabled by any device drivers.
This saves power and keeps the software model of the clock in line
with reality.

If in doubt, say "N".

config COMMON_CLK_DEBUG
bool "DebugFS representation of clock tree"
depends on COMMON_CLK
select DEBUG_FS
---help---
Creates a directory hierchy in debugfs for visualizing the clk
tree structure. Each directory contains read-only members
that export information specific to that clk node: clk_rate,
clk_flags, clk_prepare_count, clk_enable_count &
clk_notifier_count.

endif
1 change: 1 addition & 0 deletions trunk/drivers/clk/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@

obj-$(CONFIG_CLKDEV_LOOKUP) += clkdev.o
obj-$(CONFIG_COMMON_CLK) += clk.o
Loading

0 comments on commit c1448dd

Please sign in to comment.