Home
last modified time | relevance | path

Searched +full:monochromatic +full:- +full:leds (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dleds-group-multicolor.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-group-multicolor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Multi-color LED built with monochromatic LEDs
10 - Jean-Jacques Hiblot <jjhiblot@traphandler.com>
13 This driver combines several monochromatic LEDs into one multi-color
18 const: leds-group-multicolor
20 leds:
22 An aray of monochromatic leds
[all …]
/linux-6.12.1/drivers/leds/rgb/
Dleds-group-multicolor.c1 // SPDX-License-Identifier: GPL-2.0
3 * Multi-color LED built with monochromatic LED devices
5 * This driver groups several monochromatic LED devices in a single multicolor LED device.
7 * Compared to handling this grouping in user-space, the benefits are:
8 * - The state of the monochromatic LED relative to each other is always consistent.
9 * - The sysfs interface of the LEDs can be used for the group as a whole.
11 * Copyright 2023 Jean-Jacques Hiblot <jjhiblot@traphandler.com>
15 #include <linux/leds.h>
16 #include <linux/led-class-multicolor.h>
32 const unsigned int group_max_brightness = mc_cdev->led_cdev.max_brightness; in leds_gmc_set()
[all …]