dt-bindings: leds: Convert pwm to yaml
authorAlexander Dahl <post@lespocky.de>
Mon, 5 Oct 2020 20:34:41 +0000 (22:34 +0200)
committerPavel Machek <pavel@ucw.cz>
Wed, 25 Nov 2020 12:18:24 +0000 (13:18 +0100)
commit0fe5ac3d9667176e236d536ff9c1ec30eb2e6080
treeb4636fcb8b7f0369c114fedfffa78da23383bd67
parent6d8d014c7dcf85a79da71ef586d06d03d2cae558
dt-bindings: leds: Convert pwm to yaml

The example was adapted in the following ways:

- make use of the now supported 'function' and 'color' properties
- remove pwm nodes, those are documented elsewhere
- align node names to new dt schema rules and dt recommendations

License was not explicitly set before.  The license set now is
recommended by DT project.

Suggested-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Alexander Dahl <post@lespocky.de>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
[For the license change only:]
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Documentation/devicetree/bindings/leds/leds-pwm.txt [deleted file]
Documentation/devicetree/bindings/leds/leds-pwm.yaml [new file with mode: 0644]