| /linux/arch/arm/boot/dts/ti/omap/ | 
| H A D | omap3-echo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only5 /dts-v1/;
 9 #include <dt-bindings/input/input.h>
 10 #include <dt-bindings/leds/common.h>
 14 	compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3";
 18 			cpu0-supply = <&vdd1_reg>;
 28 		compatible = "regulator-fixed";
 29 		regulator-name = "vcc5v";
 30 		regulator-min-microvolt = <5000000>;
 31 		regulator-max-microvolt = <5000000>;
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/leds/ | 
| H A D | leds-pwm-multicolor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Multi-color LEDs connected to PWM
 10   - Sven Schwermer <sven.schwermer@disruptive-technologies.com>
 13   This driver combines several monochrome PWM LEDs into one multi-color
 14   LED using the multicolor LED class.
 18     const: pwm-leds-multicolor
 20   multi-led:
 [all …]
 
 | 
| H A D | leds-lp55xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/leds-lp55xx.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: TI/National Semiconductor LP55xx and LP8501 LED Drivers
 10   - Jacek Anaszewski <jacek.anaszewski@gmail.com>
 11   - Pavel Machek <pavel@ucw.cz>
 14   Bindings for the TI/National Semiconductor LP55xx and LP8501 multi channel
 15   LED Drivers.
 27       - national,lp5521
 [all …]
 
 | 
| H A D | kinetic,ktd202x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Kinetic KTD2026/7 RGB/White LED Driver
 10   - André Apitzsch <git@apitzsch.eu>
 13   The KTD2026/7 is a RGB/White LED driver with I2C interface.
 16     https://www.kinet-ic.com/uploads/KTD2026-7-04h.pdf
 21       - kinetic,ktd2026
 22       - kinetic,ktd2027
 27   vin-supply:
 [all …]
 
 | 
| H A D | leds-mt6360.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/leds-mt6360.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: LED driver for MT6360 PMIC from MediaTek Integrated.
 10   - Gene Chen <gene_chen@richtek.com>
 15   Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode,
 16   and 4-channel RGB LED support Register/Flash/Breath Mode
 20     const: mediatek,mt6360-led
 22   "#address-cells":
 [all …]
 
 | 
| H A D | allwinner,sun50i-a100-ledc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 4 $id: http://devicetree.org/schemas/leds/allwinner,sun50i-a100-ledc.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Allwinner A100 LED Controller
 10   - Samuel Holland <samuel@sholland.org>
 13   The LED controller found in Allwinner sunxi SoCs uses a one-wire serial
 19       - const: allwinner,sun50i-a100-ledc
 20       - items:
 21           - enum:
 [all …]
 
 | 
| H A D | mediatek,mt6370-indicator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/mediatek,mt6370-indicator.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: LED driver for MT6370 PMIC from MediaTek Integrated.
 10   - Alice Chen <alice_chen@richtek.com>
 14   Add MT6370 LED driver include 4-channel RGB LED support Register/PWM/Breath Mode
 18     const: mediatek,mt6370-indicator
 20   "#address-cells":
 23   "#size-cells":
 [all …]
 
 | 
| /linux/drivers/leds/rgb/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.06 	tristate "LEDs group multi-color support"
 11 	  different colors are physically grouped in a single multi-color LED
 12 	  and driven by a controller that doesn't have multi-color support.
 15 	  will be called leds-group-multicolor.
 18 	tristate "LED support for KTD202x Chips"
 23 	  RGB/White LED driver found in different BQ mobile phones.
 24 	  It is a 3 or 4 channel LED driver programmed via an I2C interface.
 27 	  will be called leds-ktd202x.
 30 	tristate "LED support for NCP5623"
 [all …]
 
 | 
| H A D | leds-pwm-multicolor.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * PWM-based multi-color LED control
 5  * Copyright 2022 Sven Schwermer <sven.schwermer@disruptive-technologies.com>
 10 #include <linux/led-class-multicolor.h>
 42 	mutex_lock(&priv->lock);  in led_pwm_mc_set()
 44 	for (i = 0; i < mc_cdev->num_colors; i++) {  in led_pwm_mc_set()
 45 		duty = priv->leds[i].state.period;  in led_pwm_mc_set()
 46 		duty *= mc_cdev->subled_info[i].brightness;  in led_pwm_mc_set()
 47 		do_div(duty, cdev->max_brightness);  in led_pwm_mc_set()
 49 		if (priv->leds[i].active_low)  in led_pwm_mc_set()
 [all …]
 
 | 
| H A D | leds-ncp5623.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * NCP5623 Multi-LED Driver
 6  * Datasheet: https://www.onsemi.com/pdf/datasheet/ncp5623-d.pdf
 12 #include <linux/led-class-multicolor.h>
 49 	guard(mutex)(&ncp->lock);  in ncp5623_brightness_set()
 51 	if (ncp->delay && time_is_after_jiffies(ncp->delay))  in ncp5623_brightness_set()
 52 		return -EBUSY;  in ncp5623_brightness_set()
 54 	ncp->delay = 0;  in ncp5623_brightness_set()
 56 	for (int i = 0; i < mc_cdev->num_colors; i++) {  in ncp5623_brightness_set()
 57 		ret = ncp5623_write(ncp->client,  in ncp5623_brightness_set()
 [all …]
 
 | 
| H A D | leds-group-multicolor.c | 1 // SPDX-License-Identifier: GPL-2.03  * 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>
 16 #include <linux/led-class-multicolor.h>
 32 	const unsigned int group_max_brightness = mc_cdev->led_cdev.max_brightness;  in leds_gmc_set()
 35 	for (i = 0; i < mc_cdev->num_colors; i++) {  in leds_gmc_set()
 [all …]
 
 | 
| /linux/arch/powerpc/boot/dts/ | 
| H A D | turris1x.dts | 1 // SPDX-License-Identifier: GPL-2.0+5  * Copyright 2013 - 2022 CZ.NIC z.s.p.o. (http://www.nic.cz/)
 8  * and available at: https://docs.turris.cz/hw/turris-1x/turris-1x/
 11 #include <dt-bindings/gpio/gpio.h>
 12 #include <dt-bindings/interrupt-controller/irq.h>
 13 #include <dt-bindings/leds/common.h>
 14 /include/ "fsl/p2020si-pre.dtsi"
 41 			gpio-controller@18 {
 45 				#gpio-cells = <2>;
 46 				gpio-controller;
 [all …]
 
 | 
| /linux/Documentation/sound/hd-audio/ | 
| H A D | models.rst | 2 HD-Audio Codec-Specific Models8     3-jack in back and a headphone out
 9 3stack-digout
 10     3-jack in back, a HP out and a SPDIF out
 12     5-jack in back, 2-jack in front
 13 5stack-digout
 14     5-jack in back, 2-jack in front, a SPDIF out
 16     6-jack in back, 2-jack in front
 17 6stack-digout
 18     6-jack with a SPDIF out
 [all …]
 
 | 
| /linux/drivers/leds/ | 
| H A D | leds-lp55xx-common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */9  * Derived from leds-lp5521.c, leds-lp5523.c
 15 #include <linux/led-class-multicolor.h>
 122  * @reg_led_pwm_base   : Chip specific base reg address for LED PWM conf
 123  * @reg_led_current_base : Chip specific base reg address for LED current conf
 125  * @reg_led_ctrl_base  : Chip specific base reg address for LED ctrl base
 132  * @set_led_current    : LED current set function
 154 	/* set LED brightness */
 155 	int (*brightness_fn)(struct lp55xx_led *led);
 157 	/* set multicolor LED brightness */
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/net/dsa/ | 
| H A D | mediatek,mt7530.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Arınç ÜNAL <arinc.unal@arinc9.com>
 11   - Landen Chao <Landen.Chao@mediatek.com>
 12   - DENG Qingfang <dqfext@gmail.com>
 13   - Sean Wang <sean.wang@mediatek.com>
 14   - Daniel Golle <daniel@makrotopia.org>
 17   There are three versions of MT7530, standalone, in a multi-chip module and
 18   built-into a SoC.
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/st/ | 
| H A D | stm32mp153c-lxa-fairytux2-gen1.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)6 /dts-v1/;
 8 #include "stm32mp153c-lxa-fairytux2.dtsi"
 12 	compatible = "lxa,stm32mp153c-fairytux2-gen1", "oct,stm32mp153x-osd32", "st,stm32mp153";
 14 	gpio-keys {
 15 		compatible = "gpio-keys";
 17 		button-left {
 23 		button-right {
 32 	gpio-line-names = "GPIO1", "GPIO2", "", "", "",			/*  0 */
 39 	gpio-line-names = "", "", "", "", "LCD_RESET",			/*  0 */
 [all …]
 
 | 
| H A D | stm32mp133c-prihmb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)2 /dts-v1/;
 4 #include <dt-bindings/gpio/gpio.h>
 5 #include <dt-bindings/input/input.h>
 6 #include <dt-bindings/leds/common.h>
 7 #include <dt-bindings/regulator/st,stm32mp13-regulator.h>
 10 #include "stm32mp13-pinctrl.dtsi"
 13 	model = "Priva E-Measuringbox board";
 18 		mdio-gpio0 = &mdio0;
 27 		stdout-path = "serial0:115200n8";
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/mfd/ | 
| H A D | mfd.txt | 1 Multi-Function Devices (MFD)4 more than one non-unique yet varying hardware functionality.
 8 - A mixed signal ASIC on an external bus, sometimes a PMIC (Power Management
 10   silicon) that handles analog drivers for things like audio amplifiers, LED
 14 - A range of memory registers containing "miscellaneous system registers" also
 20 - compatible : "simple-mfd" - this signifies that the operating system
 23   Similarly to how "simple-bus" indicates when to see subnodes as children for
 24   a simple memory-mapped bus.
 29 - ranges: Describes the address mapping relationship to the parent. Should set
 33 - #address-cells: Specifies the number of cells used to represent physical base
 [all …]
 
 | 
| H A D | mediatek,mt6360.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Gene Chen <gene_chen@richtek.com>
 25   wakeup-source: true
 30   interrupt-names:
 33   interrupt-controller: true
 35   "#interrupt-cells":
 41     $ref: /schemas/regulator/mt6360-regulator.yaml#
 47     $ref: /schemas/usb/mediatek,mt6360-tcpc.yaml#
 [all …]
 
 | 
| H A D | mediatek,mt6370.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - ChiYuan Huang <cy_huang@richtek.com>
 13   MT6370 is a highly-integrated smart power management IC, which includes a
 14   single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C &
 15   Power Delivery (PD) controller, dual flash LED current sources, a RGB LED
 26   wakeup-source: true
 31   interrupt-controller: true
 33   "#interrupt-cells":
 [all …]
 
 | 
| /linux/Documentation/leds/ | 
| H A D | well-known-leds.txt | 1 -*- org -*-4 userland. LED devices have one problem there, and that is naming of
 6 just know right "name" for given LED function, but situation got more
 17 Notice there's a list of functions in include/dt-bindings/leds/common.h .
 24 player. For example, a game controller with 4 LEDs, may be programmed with "x---"
 25 to indicate player 1, "-x--" to indicate player 2 etcetera where "x" means on.
 26 Input drivers can utilize the LED class to expose the individual player LEDs
 31 Good: "input*:*:player-{1,2,3,4,5}
 38 Legacy: "shift-key-light" (Motorola Droid 4, capslock)
 47 Legacy: "button-backlight" (Motorola Droid 4)
 [all …]
 
 | 
| /linux/Documentation/ABI/testing/ | 
| H A D | sysfs-platform-asus-wmi | 6 		Change CPU clock configuration (write-only).9 		    * 0 -> Super Performance Mode
 10 		    * 1 -> High Performance Mode
 11 		    * 2 -> Power Saving Mode
 47 			* 0 - normal,
 48 			* 1 - overboost,
 49 			* 2 - silent
 57 			* 0 - default,
 58 			* 1 - overboost,
 59 			* 2 - silent
 [all …]
 
 | 
| /linux/sound/hda/codecs/ | 
| H A D | generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */3  * Generic BIOS auto-parser helper functions for HD-audio
 16 /* table entry for multi-io paths */
 18 	hda_nid_t pin;		/* multi-io widget pin NID */
 20 	unsigned int ctl_in;	/* cached input-pin control value */
 25  * For output, stored in the order of DAC -> ... -> pin,
 26  * for input, pin -> ... -> ADC.
 30  * multi[] indicates whether it's a selector widget with multi-connectors
 48 	unsigned char multi[MAX_NID_PATH_DEPTH];  member
 56 /* mic/line-in auto switching entry */
 [all …]
 
 | 
| /linux/drivers/iio/health/ | 
| H A D | max30102.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * max30102.c - Support for MAX30102 heart rate and pulse oximeter sensor
 8  * Copyright (C) 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
 10  * 7-bit I2C chip address: 0x57
 70 #define MAX30102_REG_MODE_CONFIG_MODE_HR	0x02 /* red LED */
 71 #define MAX30102_REG_MODE_CONFIG_MODE_HR_SPO2	0x03 /* red + IR LED */
 72 #define MAX30102_REG_MODE_CONFIG_MODE_MULTI	0x07 /* multi-LED mode */
 76 #define MAX30102_REG_MODE_CONTROL_SLOT21	0x11 /* multi-LED control */
 110 	__be32 processed_buffer[3]; /* 3 x 18-bit (padded to 32-bits) */
 153 		.scan_index = -1,
 [all …]
 
 | 
| /linux/include/linux/ | 
| H A D | leds.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */3  * Driver model for leds and led triggers
 11 #include <dt-bindings/leds/common.h>
 29  * LED Core
 47  * struct led_lookup_data - represents a single LED lookup entry
 49  * @list: internal list of all LED lookup entries
 50  * @provider: name of led_classdev providing the LED
 51  * @dev_id: name of the device associated with this LED
 52  * @con_id: name of the LED from the device's point of view
 66 	 * with in-driver hard-coded LED names used as a fallback when
 [all …]
 
 |