October 2017
Intermediate to advanced
586 pages
14h 8m
English
PWM devices can be assigned to the consumer from:
This book will only deal with DT binding, as it is the recommended method. When binding a PWM consumer (client) to its driver, you need to provide the phandle of the controller to which it is linked.
It is recommended that you give the name pwms to PWM properties; since PWM devices are named resources, you can provide an optional property, pwm-names, containing a list of strings, to name each of the PWM devices listed in the pwms property. If no pwm-names property is given, the name of the user node will be used as a fallback.
Drivers for devices that use more than a single PWM device can use the pwm-names ...