leds: pca9532: read pwm settings from device tree
authorMarkus Moll <moll.markus@arcor.de>
Tue, 22 Sep 2020 19:31:15 +0000 (21:31 +0200)
committerPavel Machek <pavel@ucw.cz>
Wed, 30 Sep 2020 16:53:28 +0000 (18:53 +0200)
commit7ac5338c3c7c849729f629b6a35d88ac3d43cc56
tree676aebc0149d5e192eb8d4eb6f0ddfa513e7f685
parent2a378856e32c98f747bde3fd338ca0e322aae8cb
leds: pca9532: read pwm settings from device tree

While the two pca9532 pwms can be configured in the platform data
struct, there was no corresponding dt binding. Users need to configure
the pwm if some leds should blink or continue blinking during boot.

Signed-off-by: Markus Moll <mmoll@de.pepperl-fuchs.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-pca9532.c