Home
last modified time | relevance | path

Searched full:multicolor (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.12.1/Documentation/leds/
Dleds-class-multicolor.rst4 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 …]
Dindex.rst12 leds-class-multicolor
/linux-6.12.1/include/linux/
Dled-class-multicolor.h2 /* 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/
Dleds-group-multicolor.yaml4 $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";
Dleds-pwm-multicolor.yaml4 $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";
Dleds-class-multicolor.yaml4 $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
Dmediatek,mt6370-indicator.yaml29 $ref: leds-class-multicolor.yaml#
Donnn,ncp5623.yaml26 $ref: leds-class-multicolor.yaml#
Dcznic,turris-omnia-leds.yaml35 $ref: leds-class-multicolor.yaml#
/linux-6.12.1/drivers/leds/rgb/
Dleds-group-multicolor.c5 * 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");
DKconfig10 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.
Dleds-pwm-multicolor.c10 #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");
DMakefile3 obj-$(CONFIG_LEDS_GROUP_MULTICOLOR) += leds-group-multicolor.o
6 obj-$(CONFIG_LEDS_PWM_MULTICOLOR) += leds-pwm-multicolor.o
Dleds-mt6370-rgb.c14 #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/
DTODO34 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.
Dled-class-multicolor.c2 // LED Multicolor class interface
8 #include <linux/led-class-multicolor.h>
205 MODULE_DESCRIPTION("Multicolor LED class interface");
DKconfig40 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
Dleds-lp55xx-common.h15 #include <linux/led-class-multicolor.h>
131 * @multicolor_brightness_fn : Multicolor brightness function
157 /* set multicolor LED brightness */
Dleds-cros_ec.c10 #include <linux/led-class-multicolor.h>
152 /* The multicolor LED API expects a uniform max_brightness */ in cros_ec_led_count_subleds()
Dleds-blinkm.c19 #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/
Dsysfs-class-led-multicolor12 Documentation/leds/leds-class-multicolor.rst.
24 Documentation/leds/leds-class-multicolor.rst.
Dsysfs-class-led13 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/
Dcommon.h33 #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/
Dleds-mt6360.c9 #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/
Dleds-lp55xx.h16 #include <linux/led-class-multicolor.h>

123