diff options
author | Sascha Hauer <[email protected]> | 2012-05-03 15:36:14 +0530 |
---|---|---|
committer | Mike Turquette <[email protected]> | 2012-05-08 14:13:25 -0700 |
commit | f0948f59dbc8e725a96ba16da666e8f5cdd43ba8 (patch) | |
tree | 9343cecfdb735b4b9c327edea65e71801b5c3efe /lib | |
parent | 31df9db99549cd29bbe5e32da4492970e6f97191 (diff) |
clk: add a fixed factor clock
Having fixed factors/dividers in hardware is a common pattern, so
add a basic clock type doing this. It basically describes a fixed
factor clock using a nominator and a denominator.
Signed-off-by: Sascha Hauer <[email protected]>
Reviewed-by: Viresh Kumar <[email protected]>
Tested-by: Shawn Guo <[email protected]>
[[email protected]: constify parent_names in static init macro]
[[email protected]: copy/paste bug from mux in static init macro]
[[email protected]: fix error handling in clk_register_fixed_factor]
[[email protected]: improve division accuracy; thanks to Saravana]
Signed-off-by: Mike Turquette <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions