Documentation: leds: leds-class: Document new Hardware driven LEDs APIs
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 29 May 2023 16:32:33 +0000 (18:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 May 2023 08:42:08 +0000 (09:42 +0100)
commit8aa2fd7b66980ecd2e45e95af61cf7eafede1211
treebe9bc824bb632f06c3acea28fd76ca68b2e5dc2e
parent052c38eb17e866c5b4cd43924e7a5e20167b55c0
Documentation: leds: leds-class: Document new Hardware driven LEDs APIs

Document new Hardware driven LEDs APIs.

Some LEDs can be programmed to be driven by hardware. This is not
limited to blink but also to turn off or on autonomously.
To support this feature, a LED needs to implement various additional
ops and needs to declare specific support for the supported triggers.

Add documentation for each required value and API to make hw control
possible and implementable by both LEDs and triggers.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/leds/leds-class.rst