Fully Describe Your Regulators and Supplies
summary
Argues that the device tree must list every regulator input supply and specify per-rail constraints like ramp time and enable delay so the kernel can safely power sequence devices; shows debugfs regulator trees and PMIC DTS snippets, points out many boards have dummy regulators from missing supplies; describes a patch series moving supply properties into PMIC nodes and using struct regulator_desc limits; flags unsupported cases — enable driven by another regulator, grouped outputs, and polyphase — and notes fixes are incremental but effective.
AI-written summary · about
chapters (14)
- 0:00Introduction and motivation
- 1:45Why fully describe regulators
- 3:32Regulator inputs and constraints
- 5:44Power tree overview
- 7:53Debugfs regulator status
- 9:39Regulator types explained
- 13:16Fixed and GPIO regulators
- 14:01Programmable regulators
- 15:06Device tree regulator snippets
- 18:36Shared supply examples
- 19:40Key regulator rules
- 21:05Common device tree mistakes
- 22:52Board-level regulator handling
- 23:14Q&A on regulator dependencies
