Lines Matching +full:leds +full:- +full:trigger +full:- +full:pattern
1 .. SPDX-License-Identifier: GPL-2.0
8 -----------
10 The MT6370 integrates a four-channel RGB LED driver, designed to provide a
12 includes a smart LED string controller and it can drive 3 channels of LEDs with
14 current up to 6mA. It provides three operation modes for RGB LEDs:
15 PWM Dimming mode, breath pattern mode, and constant current mode. The device
18 The breath pattern for a channel can be programmed using the "pattern" trigger,
21 /sys/class/leds/<led>/hw_pattern
22 --------------------------------
24 Specify a hardware breath pattern for a MT6370 RGB LED.
26 The breath pattern is a series of timing pairs, with the hold-time expressed in
28 '/sys/class/leds/<led>/brightness'. The pattern doesn't include the brightness
29 setting. Hardware pattern only controls the timing for each pattern stage
32 Pattern diagram::
34 "0 Tr1 0 Tr2 0 Tf1 0 Tf2 0 Ton 0 Toff" --> '0' for dummy brightness code
43 | --- --- ---
44 |--- --- ---
45 +----------------------------------============------------> Time
50 * Tr1: First rising time for 0% - 30% load.
51 * Tr2: Second rising time for 31% - 100% load.
53 * Tf1: First falling time for 100% - 31% load.
60 Pattern example::