Searched full:multicolor (Results 1 – 25 of 54) sorted by relevance
123
/linux-6.12.1/Documentation/leds/ |
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 34 root:/sys/class/leds/multicolor:status# ls -lR 40 Multicolor Class Brightness Control 51 multicolor LED group. 53 cat /sys/class/leds/multicolor:status/multi_index 56 echo 43 226 138 > /sys/class/leds/multicolor:status/multi_intensity 68 The user can control the brightness of that multicolor LED group by writing the [all …]
|
D | index.rst | 12 leds-class-multicolor
|
/linux-6.12.1/include/linux/ |
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-6.12.1/Documentation/devicetree/bindings/leds/ |
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";
|
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";
|
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
|
D | mediatek,mt6370-indicator.yaml | 29 $ref: leds-class-multicolor.yaml#
|
D | onnn,ncp5623.yaml | 26 $ref: leds-class-multicolor.yaml#
|
D | cznic,turris-omnia-leds.yaml | 35 $ref: leds-class-multicolor.yaml#
|
/linux-6.12.1/drivers/leds/rgb/ |
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");
|
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.
|
D | leds-pwm-multicolor.c | 10 #include <linux/led-class-multicolor.h> 136 /* init the multicolor's LED class device */ in led_pwm_mc_probe() 153 "failed to register multicolor PWM led for %s: %d\n", in led_pwm_mc_probe() 173 { .compatible = "pwm-leds-multicolor", }, 190 MODULE_ALIAS("platform:leds-pwm-multicolor");
|
D | Makefile | 3 obj-$(CONFIG_LEDS_GROUP_MULTICOLOR) += leds-group-multicolor.o 6 obj-$(CONFIG_LEDS_PWM_MULTICOLOR) += leds-pwm-multicolor.o
|
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-6.12.1/drivers/leds/ |
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.
|
D | led-class-multicolor.c | 2 // LED Multicolor class interface 8 #include <linux/led-class-multicolor.h> 205 MODULE_DESCRIPTION("Multicolor LED class interface");
|
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 190 All LEDs exposed by the EC are supported in multicolor mode. 829 bool "Enable multicolor support for BlinkM I2C RGB LED" 833 This option enables multicolor sysfs class support for BlinkM LED and
|
D | leds-lp55xx-common.h | 15 #include <linux/led-class-multicolor.h> 131 * @multicolor_brightness_fn : Multicolor brightness function 157 /* set multicolor LED brightness */
|
D | leds-cros_ec.c | 10 #include <linux/led-class-multicolor.h> 152 /* The multicolor LED API expects a uniform max_brightness */ in cros_ec_led_count_subleds()
|
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-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-led-multicolor | 12 Documentation/leds/leds-class-multicolor.rst. 24 Documentation/leds/leds-class-multicolor.rst.
|
D | sysfs-class-led | 13 For multicolor LEDs, writing to this file will update all 23 Documentation/leds/leds-class-multicolor.rst.
|
/linux-6.12.1/include/dt-bindings/leds/ |
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-6.12.1/drivers/leds/flash/ |
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-6.12.1/include/linux/platform_data/ |
D | leds-lp55xx.h | 16 #include <linux/led-class-multicolor.h>
|
123