Commit Graph

7 Commits

Author SHA1 Message Date
jmcneill e2c9e98290 Normalize clk name to prevent sysctl_createv from failing 2019-07-23 17:44:03 +00:00
jmcneill 314f9af4b4 Make "put" clk func optional 2019-01-30 01:20:47 +00:00
jmcneill 8b313b2313 If setting rate on a clock with no set_rate function, and the desired rate
matches the current rate, don't return an error.
2018-06-12 23:08:37 +00:00
jmcneill ed41487b0c Create private sysctl nodes for inspecting clock trees. 2018-04-28 15:20:33 +00:00
bouyer 70d9969940 As discussed on tech-kern@ 10 days ago, add a clk_round_rate() method,
which returns the rate that would be used by this clock if clk_set_rate()
was called. Used by drivers (or other clocks) which have their own divider
and need to know the parent's clock capabilities to compute the best
parameters.
2018-04-01 21:11:01 +00:00
jmcneill e69bfca1e7 Add support for multiple clock domains in clk API. 2017-04-16 12:28:21 +00:00
jmcneill bd0f8235ce Add basic clock device infrastructure. 2015-12-05 13:31:07 +00:00