lkml.org 
[lkml]   [2023]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/11] Documentation: leds: leds-class: Document new Hardware driven LEDs APIs
On Thu, Apr 27, 2023 at 02:15:34AM +0200, Christian Marangi wrote:
> + - hw_control_set:
> + activate hw control, LED driver will use the provided
"activate hw control. LED driver will use ..."
> + flags passed from the supported trigger, parse them to
> + a set of mode and setup the LED to be driven by hardware
> + following the requested modes.
> +
> + Set LED_OFF via the brightness_set to deactivate hw control.
> +
> + - hw_control_get:
> + get from a LED already in hw control, the active modes,
"get active modes from a LED already in hw control ..."
> + parse them and set in flags the current active flags for
> + the supported trigger.
> +
Thanks.

--
An old man doll... just what I always wanted! - Clara
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-05-11 05:07    [W:0.285 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site