Searched +full:monochromatic +full:- +full:leds (Results 1 – 2 of 2) sorted by relevance
1 # 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 LEDs10 - Jean-Jacques Hiblot <jjhiblot@traphandler.com>13 This driver combines several monochromatic LEDs into one multi-color18 const: leds-group-multicolor20 leds:22 An aray of monochromatic leds[all …]
1 // SPDX-License-Identifier: GPL-2.03 * Multi-color LED built with monochromatic LED devices5 * 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 …]