/linux/Documentation/leds/ |
H A D | leds-class-multicolor.rst | 4 Multicolor LED handling under Linux 9 The multicolor class groups monochrome LEDs and allows controlling two 14 Multicolor Class Control 16 The multicolor class presents files that groups the colors as indexes in an 36 root:/sys/class/leds/multicolor:status# ls -lR 44 Multicolor Class Brightness Control 55 multicolor LED group. 59 # cat /sys/class/leds/multicolor:status/multi_index 62 # echo 43 226 138 > /sys/class/leds/multicolor:status/multi_intensity 76 The user can control the brightness of that multicolor LE [all...] |
H A D | index.rst | 12 leds-class-multicolor
|
H A D | leds-blinkm.rst | 18 a) LED multicolor class interface for use with triggers
|
/linux/include/linux/ |
H A D | led-class-multicolor.h | 2 /* LED Multicolor class interface 35 * class with support for multicolor LEDs 36 * @parent: the multicolor LED to register 38 * @init_data: the LED class multicolor device initialization data 48 * class with support for multicolor LEDs 49 * @mcled_cdev: the multicolor LED to unregister
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-group-multicolor.yaml | 4 $id: http://devicetree.org/schemas/leds/leds-group-multicolor.yaml# 14 LED using the multicolor LED class. 18 const: leds-group-multicolor 29 - $ref: leds-class-multicolor.yaml# 58 compatible = "leds-group-multicolor";
|
H A D | leds-pwm-multicolor.yaml | 4 $id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml# 14 LED using the multicolor LED class. 18 const: pwm-leds-multicolor 22 $ref: leds-class-multicolor.yaml# 62 compatible = "pwm-leds-multicolor";
|
H A D | leds-class-multicolor.yaml | 4 $id: http://devicetree.org/schemas/leds/leds-class-multicolor.yaml# 7 title: Common properties for the multicolor LED class. 18 The nodes and properties defined in this document are unique to the multicolor 28 For multicolor LED support this property should be defined as either
|
H A D | mediatek,mt6370-indicator.yaml | 29 $ref: leds-class-multicolor.yaml#
|
H A D | onnn,ncp5623.yaml | 28 $ref: leds-class-multicolor.yaml#
|
H A D | cznic,turris-omnia-leds.yaml | 41 $ref: leds-class-multicolor.yaml#
|
/linux/drivers/leds/rgb/ |
H A D | leds-group-multicolor.c | 5 * This driver groups several monochromatic LED devices in a single multicolor LED device. 16 #include <linux/led-class-multicolor.h> 116 /* Initialise the multicolor's LED class device */ in leds_gmc_probe() 130 return dev_err_probe(dev, ret, "failed to register multicolor LED for %s.\n", in leds_gmc_probe() 156 { .compatible = "leds-group-multicolor" }, 171 MODULE_DESCRIPTION("LEDs group multicolor driver"); 173 MODULE_ALIAS("platform:leds-group-multicolor");
|
H A D | Kconfig | 10 into multicolor LEDs which is useful in the case where LEDs of 15 will be called leds-group-multicolor. 45 grouped into multicolor LEDs. 48 will be called leds-pwm-multicolor.
|
H A D | Makefile | 3 obj-$(CONFIG_LEDS_GROUP_MULTICOLOR) += leds-group-multicolor.o 6 obj-$(CONFIG_LEDS_PWM_MULTICOLOR) += leds-pwm-multicolor.o
|
H A D | leds-mt6370-rgb.c | 14 #include <linux/led-class-multicolor.h> 750 "Multicolor must include 2 or more LED channels\n"); in mt6370_assign_multicolor_info() 844 return dev_err_probe(dev, ret, "Couldn't set multicolor brightness\n"); in mt6370_multicolor_led_register() 848 return dev_err_probe(dev, ret, "Couldn't register multicolor\n"); in mt6370_multicolor_led_register()
|
/linux/drivers/leds/ |
H A D | TODO | 34 Multicolor is a bit too abstract. Yes, we can have 38 Multicolor is not a good fit for RGB LED. It does not really know 42 color", which not all multicolor LEDs can. 46 multicolor for RGB LEDs.
|
H A D | led-class-multicolor.c | 2 // LED Multicolor class interface 8 #include <linux/led-class-multicolor.h> 204 MODULE_DESCRIPTION("Multicolor LED class interface");
|
H A D | Kconfig | 40 tristate "LED Multicolor Class Support" 43 This option enables the multicolor LED sysfs class in /sys/class/leds. 44 It wraps LED class and adds multicolor LED specific sysfs attributes 46 for multicolor LEDs that are grouped together. This class is not 197 All LEDs exposed by the EC are supported in multicolor mode. 878 bool "Enable multicolor support for BlinkM I2C RGB LED" 882 This option enables multicolor sysfs class support for BlinkM LED and
|
H A D | leds-cros_ec.c | 10 #include <linux/led-class-multicolor.h> 139 /* The multicolor LED API expects a uniform max_brightness */ in cros_ec_led_count_subleds()
|
H A D | leds-blinkm.c | 19 #include <linux/led-class-multicolor.h> 30 /* Contains structs for both the color-separated sysfs classes, and the new multicolor class */ 34 /* used when multicolor support is disabled */ 686 /* Register multicolor sysfs class */ in register_multicolor() 687 /* The first element of leds is used for multicolor facilities */ in register_multicolor()
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-led-multicolor | 12 Documentation/leds/leds-class-multicolor.rst. 24 Documentation/leds/leds-class-multicolor.rst.
|
H A D | sysfs-class-led | 13 For multicolor LEDs, writing to this file will update all 23 Documentation/leds/leds-class-multicolor.rst.
|
/linux/include/dt-bindings/leds/ |
H A D | common.h | 33 #define LED_COLOR_ID_MULTI 8 /* For multicolor LEDs */ 34 #define LED_COLOR_ID_RGB 9 /* For multicolor LEDs that can do arbitrary color,
|
/linux/drivers/leds/flash/ |
H A D | leds-mt6360.c | 9 #include <linux/led-class-multicolor.h> 33 /* Virtual definition for multicolor */ 554 "Failed to init multicolor brightness\n"); in mt6360_led_register() 561 dev_err(parent, "Couldn't register multicolor\n"); in mt6360_led_register() 668 "Multicolor must include 2 or more led channel\n"); in mt6360_init_isnk_properties()
|
/linux/include/linux/platform_data/ |
H A D | leds-lp55xx.h | 16 #include <linux/led-class-multicolor.h>
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max77705.yaml | 65 $ref: /schemas/leds/leds-class-multicolor.yaml#
|