003 File Manager
Current Path:
/usr/src/sys/contrib/device-tree/Bindings/leds
usr
/
src
/
sys
/
contrib
/
device-tree
/
Bindings
/
leds
/
π
..
π
ams,as3645a.txt
(2.44 KB)
π
backlight
π
common.txt
(38 B)
π
common.yaml
(7.81 KB)
π
cznic,turris-omnia-leds.yaml
(2.17 KB)
π
irled
π
leds-aat1290.txt
(2.86 KB)
π
leds-an30259a.txt
(1.33 KB)
π
leds-aw2013.yaml
(1.86 KB)
π
leds-bcm6328.txt
(8.25 KB)
π
leds-bcm6358.txt
(2.97 KB)
π
leds-class-multicolor.yaml
(1.22 KB)
π
leds-cpcap.txt
(939 B)
π
leds-cr0014114.txt
(1.37 KB)
π
leds-el15203000.txt
(1.69 KB)
π
leds-gpio.yaml
(2.04 KB)
π
leds-is31fl319x.txt
(1.63 KB)
π
leds-is31fl32xx.txt
(1.14 KB)
π
leds-ktd2692.txt
(1.65 KB)
π
leds-lm3532.txt
(3.59 KB)
π
leds-lm3601x.txt
(1.34 KB)
π
leds-lm36274.txt
(2.18 KB)
π
leds-lm3692x.txt
(1.84 KB)
π
leds-lm3697.txt
(2.03 KB)
π
leds-lp55xx.txt
(4.26 KB)
π
leds-lp55xx.yaml
(5.57 KB)
π
leds-lp8860.txt
(1.26 KB)
π
leds-lt3593.txt
(1.13 KB)
π
leds-max77650.yaml
(1.03 KB)
π
leds-mt6323.txt
(1.62 KB)
π
leds-netxbig.txt
(2.3 KB)
π
leds-ns2.txt
(1.05 KB)
π
leds-pca9532.txt
(1.31 KB)
π
leds-pca955x.txt
(1.88 KB)
π
leds-pm8058.txt
(1.96 KB)
π
leds-powernv.txt
(613 B)
π
leds-pwm.txt
(1.36 KB)
π
leds-sc27xx-bltc.txt
(993 B)
π
leds-sgm3140.yaml
(1.42 KB)
π
leds-spi-byte.txt
(1.25 KB)
π
leds-tlc591xx.txt
(786 B)
π
leds-trigger-pattern.txt
(1.96 KB)
π
pca963x.txt
(1.44 KB)
π
register-bit-led.txt
(2.3 KB)
π
rohm,bd71828-leds.yaml
(1.42 KB)
π
tca6507.txt
(1.01 KB)
π
trigger-source.yaml
(646 B)
Editing: cznic,turris-omnia-leds.yaml
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2 --- $id: http://devicetree.org/schemas/leds/cznic,turris-omnia-leds.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: CZ.NIC's Turris Omnia LEDs driver maintainers: - Marek BehΓΊn <marek.behun@nic.cz> description: This module adds support for the RGB LEDs found on the front panel of the Turris Omnia router. There are 12 RGB LEDs that are controlled by a microcontroller that communicates via the I2C bus. Each LED is described as a subnode of this I2C device. properties: compatible: const: cznic,turris-omnia-leds reg: description: I2C slave address of the microcontroller. maxItems: 1 "#address-cells": const: 1 "#size-cells": const: 0 patternProperties: "^multi-led@[0-9a-b]$": type: object allOf: - $ref: leds-class-multicolor.yaml# description: This node represents one of the RGB LED devices on Turris Omnia. No subnodes need to be added for subchannels since this controller only supports RGB LEDs. properties: reg: minimum: 0 maximum: 11 description: This property identifies one of the LEDs on the front panel of the Turris Omnia router. required: - reg additionalProperties: false examples: - | #include <dt-bindings/leds/common.h> i2c0 { #address-cells = <1>; #size-cells = <0>; led-controller@2b { compatible = "cznic,turris-omnia-leds"; reg = <0x2b>; #address-cells = <1>; #size-cells = <0>; multi-led@0 { /* * No subnodes are needed, this controller only supports RGB * LEDs. */ reg = <0>; color = <LED_COLOR_ID_MULTI>; function = LED_FUNCTION_POWER; linux,default-trigger = "heartbeat"; }; multi-led@a { reg = <0xa>; color = <LED_COLOR_ID_MULTI>; function = LED_FUNCTION_INDICATOR; function-enumerator = <1>; }; }; }; ...
Upload File
Create Folder