~/talk

Updating and Modernizing Clk (Clock) Drivers

links:none on file
slides:none on file

Collection of clock drivers is rewritten to use the clk_hw provider API and proper platform driver model, adding remove callbacks, error cleanup and Kunit tests; migration touches a massive patchset (originally ~12 patches, bisect issues) and converts many string parent refs to indexed or pointer parents. The tree still has ~1,000 old API uses vs ~600 new, Mediatek systems show 600–800 clocks and suffer a duplicate-name check bottleneck, so a hash table plan and merging regmap implementations are proposed.

AI-written summary · about

  1. 0:00Intro
  2. 1:57Early Days of Common Clock Framework
  3. 3:01Evolution of the Common Clock Framework
  4. 4:45Drivers are upstreamed and forgotten
  5. 6:05No Error Checking or Proper Cleanup
  6. 7:48Inefficient String Matching for Clock Parent Matching
  7. 9:32Clean Up The Drivers
  8. 11:03Switch to Local Clock References for Parents
  9. 11:59MediaTek Clock Driver Cleanup - Part 1
  10. 14:18Switch to Local Parent References Where Possible
  11. 15:36Improve Duplicate Clock Check
  12. 16:43Improve Documentation
  13. 18:35Merge Multiple Regmap Clock Implementations
  14. 19:26Prepare Lock Problems
~/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.