Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Linux Foundation

Updating and Modernizing Clock Drivers

Linux Foundation via YouTube

Overview

Explore the evolution and modernization of clock drivers in this informative conference talk by Chen-Yu Tsai from Google. Delve into the Common Clock Framework's growth from its Clock API origins and learn why many clock drivers have remained outdated. Discover the benefits of implementing modern clock drivers as proper platform drivers, utilizing the "struct clk_hw" based clock provider API for improved separation between provider and consumer APIs. Gain insights into effective resource management and error handling techniques, even in scenarios where a failed clock driver may render the system unusable. Follow the speaker's account of modernizing a collection of drivers, including the cleanup of MediaTek clock drivers, switching to local clock references for parents, improving duplicate clock checks, enhancing documentation, and addressing lock problems.

Syllabus

Intro
Early Days of Common Clock Framework
Evolution of the Common Clock Framework
Drivers are upstreamed and forgotten
No Error Checking or Proper Cleanup
Inefficient String Matching for Clock Parent Matching
Clean Up The Drivers
Switch to Local Clock References for Parents
MediaTek Clock Driver Cleanup - Part 1
Switch to Local Parent References Where Possible
Improve Duplicate Clock Check
Improve Documentation
Merge Multiple Regmap Clock Implementations
Prepare Lock Problems

Taught by

Linux Foundation

Reviews

Start your review of Updating and Modernizing Clock Drivers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.