c5b736d093
This is a significant rework of the low-level clock, PLL and Power Sleep Controller (PSC) implementation for the DaVinci family. The primary goal is to have better modeling if the hardware clocks and features with the aim of DVFS functionality. Highlights: - model PLLs and all PLL-derived clocks - model parent/child relationships of PLLs and clocks - convert to new clkdev layer - view clock frequency and refcount via /proc/davinci_clocks Special thanks to significant contributions and testing by David Brownell. Cc: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
14 lines
168 B
C
14 lines
168 B
C
#ifndef __MACH_CLKDEV_H
|
|
#define __MACH_CLKDEV_H
|
|
|
|
static inline int __clk_get(struct clk *clk)
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
static inline void __clk_put(struct clk *clk)
|
|
{
|
|
}
|
|
|
|
#endif
|