Updating and Modernizing Clk (Clock) Drivers
summary
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
chapters (14)
- 0:00Intro
- 1:57Early Days of Common Clock Framework
- 3:01Evolution of the Common Clock Framework
- 4:45Drivers are upstreamed and forgotten
- 6:05No Error Checking or Proper Cleanup
- 7:48Inefficient String Matching for Clock Parent Matching
- 9:32Clean Up The Drivers
- 11:03Switch to Local Clock References for Parents
- 11:59MediaTek Clock Driver Cleanup - Part 1
- 14:18Switch to Local Parent References Where Possible
- 15:36Improve Duplicate Clock Check
- 16:43Improve Documentation
- 18:35Merge Multiple Regmap Clock Implementations
- 19:26Prepare Lock Problems
related talks
47mUpdates To Clock Management Within Zephyr RTOS
47mUpdates To Clock Management Within Zephyr RTOS
40mReworking the Zephyr Clock Control Subsystem
42mCommon Clock Framework: How to use it
40mClock Management in Zephyr RTOS
40mClock Management in Zephyr RTOS
55mThe Embedded Linux Problem
47mRTC Subsystem, Recent Changes and Where it is Heading
