Exploring PWM Subsystem and its Usage in Embedded Devices
summary
Concrete walkthrough of the Linux PWM subsystem with function names, data structures and a working example: shows generic APIs (pwm_get / pwm_put, pwm_apply_state) versus legacy Samsung driver in drivers/pwm/pwm-samsung.c and points out deprecated calls (pwm_request / pwm_free). Explains sysfs control at sys/class/pwm/pwmchip0 with export/period/duty/enable, describes devm_of_node variants, PWM state/args structs, and real use cases (fans, LEDs, vibrator, motors) so viewers who need driver code and commands will benefit.
AI-written summary · about
chapters (6)
- 0:00Intro
- 1:24Introduction to PWM
- 9:31Generic PWM Framework
- 20:55Legacy PWM Driver Implementation
- 26:10Using PWM Subsystem with systs interface
- 35:00Use-Cases of PWM
related talks
40mVisions for the Linux Kernel PWM Subsystem
01h 20mSensors and PWM Control from Linux
41mHow to Avoid Writing Device Drivers for Embedded Linux
01h 00mGroking the Linux SPI Subsystem
40mPower Management Integrated Circuits: Keep the Power in Your Hands
43mLinux Power! (from the Perspective of a PMIC Vendor)
19mPinctrl and GPIO - Interactions and Footguns
29mPMIC: First One to Turn On and Last One to Turn Off
