~/talk

Common Clock Framework: How To Use It

links:none on file
slides:none on file

Common Clock Framework shipped in Linux 3.4 (early 2012) and is now mandatory for new ARM SoCs, moving clock code into a reusable subsystem that drastically cuts duplicated drivers. It exposes clock.h ops like clk_prepare/clk_enable and rate APIs, integrates with device tree via of_clk_init and clock_add_provider, and offers base types (fixed, gate, mux, fixed-factor, divider) plus a composite clock to merge gate/mux/divider. Shipping debugfs JSON and reentrancy for DVFS, migration of most ARM SoCs is largely complete.

AI-written summary · about

  1. 0:00Intro
  2. 2:23The clock framework
  3. 4:48Diagram overview of the common clock framework
  4. 5:46Interface of the CCF
  5. 8:31Implementation of the CCF core
  6. 10:24Implementation of the hardware clock
  7. 10:55Operations to implement depending on clk capabilities
  8. 12:14Hardware clock operations, making clocks available
  9. 14:05Hardware clock operations making clocks available
  10. 15:11Hardware clock operations managing the rates
  11. 17:00Hardware clock operations managing the parents
  12. 17:57Hardware clock operations more callbacks
  13. 25:31Hardware clock operations device tree
  14. 36:27How device drivers use the CCF
  15. 37:38Devices referencing their clock in the Device Tree
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.