Home
last modified time | relevance | path

Searched +full:led +full:- +full:pattern (Results 1 – 25 of 32) sorted by relevance

12

/Documentation/ABI/testing/
Dsysfs-class-led-trigger-pattern1 What: /sys/class/leds/<led>/pattern
5 Specify a software pattern for the LED, that supports altering
9 The pattern is given by a series of tuples, of brightness and
13 Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt
15 What: /sys/class/leds/<led>/hr_pattern
18 Specify a software pattern for the LED, that supports altering
22 Unlike the /sys/class/leds/<led>/pattern, this attribute runs
23 a pattern on high-resolution timer (hrtimer).
25 What: /sys/class/leds/<led>/hw_pattern
29 Specify a hardware pattern for the LED, for LED hardware that
[all …]
Dsysfs-class-led-driver-lm35331 What: /sys/class/leds/<led>/als_channel
7 ALS-current-control mode (1, 2), where:
14 What: /sys/class/leds/<led>/als_en
19 Enable ALS-current-control mode (0, 1).
21 What: /sys/class/leds/<led>/falltime
22 What: /sys/class/leds/<led>/risetime
27 Set the pattern generator fall and rise times (0..7), where:
40 What: /sys/class/leds/<led>/id
45 Get the id of this led (0..3).
47 What: /sys/class/leds/<led>/linear
[all …]
/Documentation/devicetree/bindings/leds/
Dleds-el15203000.txt1 Crane Merchandising System - EL15203000 LED driver
2 --------------------------------------------------
4 This LED Board (aka RED LEDs board) is widely used in
9 Vending area LED encoded with symbol 'V' (hex code 0x56).
10 Doesn't have any hardware blinking pattern.
12 Screen light tube LED which surrounds vending machine screen and
13 encoded with symbol 'S' (hex code 0x53). Supports blinking breathing pattern.
15 Water Pipe LED encoded with symbol 'P' (hex code 0x50) and
16 actually consists of 5 LEDs that exposed by protocol like one LED.
18 - cascade pattern
[all …]
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
14 LED and flash LED devices provide the same basic functionality as current
15 regulators, but extended with LED and flash LED specific features like
18 Many LED devices expose more than one current output that can be connected
19 to one or more discrete LED component. Since the arrangement of connections
20 can influence the way of the LED device initialization, the LED components
[all …]
Dleds-trigger-pattern.txt1 * Pattern format for LED pattern trigger
3 The pattern is given by a series of tuples, of brightness and duration (ms).
4 The LED is expected to traverse the series and each brightness value for the
6 new value, and writing malformed pattern deactivates any active one.
13 The gradual dimming format of the software pattern values should be:
17 echo 0 1000 255 2000 > pattern
19 It will make the LED go gradually from zero-intensity to max (255) intensity in
22 LED brightness
24 255-| / \ / \ /
28 0-| / \/ \/
[all …]
Dleds-class-multicolor.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-class-multicolor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common properties for the multicolor LED class.
10 - Andrew Davis <afd@ti.com>
14 either integrated multi-color LED elements (like RGB, RGBW, RGBWA-UV
15 etc.) or standalone LEDs, to achieve logically grouped multi-color LED
16 modules. This is achieved by adding multi-led nodes layer to the
17 monochrome LED bindings.
[all …]
Dleds-qcom-lpg.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
20 - enum:
21 - qcom,pm660l-lpg
22 - qcom,pm8150b-lpg
23 - qcom,pm8150l-lpg
24 - qcom,pm8350c-pwm
[all …]
Dregulator-led.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/regulator-led.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
20 - $ref: common.yaml#
24 pattern: '^led.*$'
27 const: regulator-led
29 vled-supply:
31 The regulator controlling the current to the LED.
[all …]
Dregister-bit-led.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/register-bit-led.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
14 bits in a certain register can turn on/off a single LED. The register bit LEDs
20 - $ref: /schemas/leds/common.yaml#
25 The unit-address is in the form of @<reg addr>,<bit offset>
26 pattern: '^led@[0-9a-f]+,[0-9a-f]{1,2}$'
29 const: register-bit-led
[all …]
Dawinic,aw200xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AWINIC AW200XX LED
10 - Martin Kurbanov <mmkurbanov@sberdevices.ru>
13 It is a matrix LED driver programmed via an I2C interface. Devices have
14 a set of individually controlled leds and support 3 pattern controllers
16 - AW20036 (3x12) 36 LEDs
17 - AW20054 (6x9) 54 LEDs
18 - AW20072 (6x12) 72 LEDs
[all …]
/Documentation/leds/
Dleds-mt6370-rgb.rst1 .. SPDX-License-Identifier: GPL-2.0
4 The device for Mediatek MT6370 RGB LED
8 -----------
10 The MT6370 integrates a four-channel RGB LED driver, designed to provide a
11 variety of lighting effect for mobile device applications. The RGB LED devices
12 includes a smart LED string controller and it can drive 3 channels of LEDs with
13 a sink current up to 24mA and a CHG_VIN power good indicator LED with sink
15 PWM Dimming mode, breath pattern mode, and constant current mode. The device
16 can increase or decrease the brightness of the RGB LED via an I2C interface.
18 The breath pattern for a channel can be programmed using the "pattern" trigger,
[all …]
Dleds-lp55xx.rst8 -----------
13 Create LED class devices for multiple output channels
14 Device attributes for user-space interface
15 Program memory for running LED patterns
28 control multi output LED channels such as led current, channel index.
32 For example, LP5521 has maximum 3 LED channels.
50 - Maximum number of channels
51 - Reset command, chip enable command
52 - Chip specific initialization
53 - Brightness control register access
[all …]
Dleds-sc27xx.rst1 .. SPDX-License-Identifier: GPL-2.0
7 /sys/class/leds/<led>/hw_pattern
8 --------------------------------
10 Specify a hardware pattern for the SC27XX LED. For the SC27XX
11 LED controller, it only supports 4 stages to make a single
12 hardware pattern, which is used to configure the rise time,
15 For the breathing mode, the SC27XX LED only expects one brightness
16 for the high stage. To be compatible with the hardware pattern
20 - Min stage duration: 125 ms
21 - Max stage duration: 31875 ms
[all …]
Dleds-qcom-lpg.rst1 .. SPDX-License-Identifier: GPL-2.0
8 -----------
11 number of PWM channels, a programmable pattern lookup table and a RGB LED
23 deeper idle states the LPG provides pattern support. This consists of a shared
25 range within the table to use, the rate and if the pattern should repeat.
27 The pattern for a channel can be programmed using the "pattern" trigger, using
30 /sys/class/leds/<led>/hw_pattern
31 --------------------------------
33 Specify a hardware pattern for a Qualcomm LPG LED.
35 The pattern is a series of brightness and hold-time pairs, with the hold-time
[all …]
Dleds-lm3556.rst6 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source
10 - Daniel Jeong
12 Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com)
15 -----------
21 In Flash Mode, the LED current source(LED) provides 16 target current levels
50 In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL
77 Indicator pattern can be set through /sys/class/leds/indicator/pattern file,
78 and 4 patterns are pre-defined in indicator_pattern array.
80 According to N-lank, Pulse time and N Period values, different pattern wiill
84 Please refer datasheet for more detail about N-Blank, Pulse time and N Period.
[all …]
Dleds-lp3944.rst5 * National Semiconductor LP3944 Fun-light Chip
21 -----------
24 is used as a led controller.
26 The DIM modes are used to set _blink_ patterns for leds, the pattern is
29 - period:
31 - duty cycle:
32 percentage of the period the led is on, from 0 to 100
34 Setting a led in DIM0 or DIM1 mode makes it blink according to the pattern.
42 -----
47 according to include/linux/leds-lp3944.h, set the i2c board info::
Dleds-cht-wcove.rst1 .. SPDX-License-Identifier: GPL-2.0
7 /sys/class/leds/<led>/hw_pattern
8 --------------------------------
10 Specify a hardware pattern for the Whiskey Cove PMIC LEDs.
12 The only supported pattern is hardware breathing mode::
18 Max-| ---
23 Min-|- ---
25 0------2------4--> time (sec)
31 The set pattern only controls the timing. For max brightness the last
35 This is just like how blinking works in the LED subsystem,
Dleds-lp5562.rst5 * TI LP5562 LED Driver
13 LEDs can be controlled directly via the led class control interface.
16 LP5562 has the internal program memory for running various LED patterns.
17 For the details, please refer to 'firmware' section in leds-lp55xx.txt
28 This attribute is used for programming LED data with the firmware interface.
32 LED Map
49 For example, run blinking green channel pattern::
58 To run a blinking white pattern::
70 Please refer to 'leds-lp55xx.txt"
75 Like LP5521 and LP5523/55231, LP5562 provides LED current settings.
Dwell-known-leds.txt1 -*- org -*-
4 userland. LED devices have one problem there, and that is naming of
6 just know right "name" for given LED function, but situation got more
17 Notice there's a list of functions in include/dt-bindings/leds/common.h .
23 The "player LEDs" are then programmed with a pattern to indicate a particular
24 player. For example, a game controller with 4 LEDs, may be programmed with "x---"
25 to indicate player 1, "-x--" to indicate player 2 etcetera where "x" means on.
26 Input drivers can utilize the LED class to expose the individual player LEDs
31 Good: "input*:*:player-{1,2,3,4,5}
38 Legacy: "shift-key-light" (Motorola Droid 4, capslock)
[all …]
Dleds-el15203000.rst1 .. SPDX-License-Identifier: GPL-2.0
7 /sys/class/leds/<led>/hw_pattern
8 --------------------------------
10 Specify a hardware pattern for the EL15203000 LED.
21 Max-| ---
26 Min-|- ---
28 0------4------8--> time (sec)
30 Cascade mode for Pipe LED::
36 0 On -|----+ +----+ +---
38 Off-| +-------------------+ +-------------------+
[all …]
/Documentation/devicetree/bindings/ata/
Dsata_highbank.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Andre Przywara <andre.przywara@arm.com>
19 const: calxeda,hb-ahci
27 dma-coherent: true
29 calxeda,pre-clocks:
33 sending an SGPIO pattern.
35 calxeda,post-clocks:
39 sending an SGPIO pattern.
[all …]
/Documentation/devicetree/bindings/net/
Dethernet-phy.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/ethernet-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Heiner Kallweit <hkallweit1@gmail.com>
14 # The dt-schema tools will generate a select statement first by using
21 pattern: "^ethernet-phy(@[a-f0-9]+)?$"
24 - $nodename
[all …]
Dethernet-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/ethernet-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David S. Miller <davem@davemloft.net>
14 pattern: "^ethernet(@.*)?$"
19 local-mac-address:
22 $ref: /schemas/types.yaml#/definitions/uint8-array
26 mac-address:
31 local-mac-address property.
[all …]
/Documentation/devicetree/bindings/pinctrl/
Dmicrochip,sparx5-sgpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/microchip,sparx5-sgpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lars Povlsen <lars.povlsen@microchip.com>
16 connect control signals from SFP modules and to act as an LED
21 pattern: "^gpio@[0-9a-f]+$"
25 - microchip,sparx5-sgpio
26 - mscc,ocelot-sgpio
27 - mscc,luton-sgpio
[all …]
/Documentation/devicetree/bindings/mfd/
Dqcom,spmi-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SPMI PMICs multi-function device
13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes
14 each. A function can consume one or more of these fixed-size register regions.
24 - Stephen Boyd <sboyd@kernel.org>
29 - pattern: '^pmic@.*$'
30 - pattern: '^pm(a|s)?[0-9]*@.*$'
[all …]

12