~/talk

Designing a Multi-PMIC Linux Driver: Key Decisions for Effective Mainline Submission

links:none on file
slides:none on file

Adds support for two new PMIC variants (TPS65215 and TPS65214) to an existing TPS65219 driver over about a year of upstream work, with concrete changes: migrates to MFD cell macros, removes unused macros, renames regulator driver to the tps652-regulator convention, replaces direct structs with headers, uses dev_err_probe, and introduces a TPS65219 chip data struct to minimize probe changes. Hardware differences force PMIC-specific IRQ and GPIO structs and device-specific get_direction/change_direction functions; an attempted regulator helper abstraction fails kernel build so per-device structs remain.

AI-written summary · about

  1. 0:00Multi-PMIC Linux driver intro
  2. 1:06Project overview
  3. 3:20What is a PMIC
  4. 5:05Typical PMIC driver structure
  5. 6:29Prioritizing code reuse
  6. 7:11Cleanup patch series
  7. 10:05Adding PMIC support
  8. 11:09Hardware architecture impacts
  9. 14:18Code churn analysis
  10. 15:42Regulator driver restructuring
  11. 19:15GPIO lessons
  12. 21:44Hardware impact on GPIO
  13. 23:07Maintainer perspective
  14. 24:10Key takeaways
  15. 26:44Upstreaming challenges
  16. 28:11Acknowledgements
  17. 28:33Q&A
~/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.