/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-echo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /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 | onnn,ncp5623.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: ON Semiconductor NCP5623 multi-LED Driver 10 - Abdel Alkuor <alkuor@gmail.com> 13 NCP5623 Triple Output I2C Controlled LED Driver. 14 https://www.onsemi.com/pdf/datasheet/ncp5623-d.pdf 19 - onnn,ncp5623 24 multi-led: 26 $ref: leds-class-multicolor.yaml# [all …]
|
H A D | leds-lp50xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-lp50xx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LED driver for LP50XX RGB LED from Texas Instruments. 10 - Andrew Davis <afd@ti.com> 13 The LP50XX is multi-channel, I2C RGB LED Drivers that can group RGB LEDs into 14 a LED group or control them individually. 16 The difference in these RGB LED drivers is the number of supported RGB 27 - ti,lp5009 [all …]
|
H A D | leds-group-multicolor.yaml | 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 LEDs 10 - Jean-Jacques Hiblot <jjhiblot@traphandler.com> 13 This driver combines several monochromatic LEDs into one multi-color 14 LED using the multicolor LED class. 18 const: leds-group-multicolor 23 $ref: /schemas/types.yaml#/definitions/phandle-array [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-Clause 3 --- 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.0 6 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-ncp5623.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 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.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> 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/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/linux/Documentation/sound/hd-audio/ |
H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 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/sparc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "64-bit kernel" if "$(ARCH)" = "sparc" 10 Say yes to build a 64-bit kernel - formerly known as sparc64 11 Say no to build a 32-bit kernel - formerly known as sparc 155 bool "Symmetric multi-processing support" 161 If you say N here, the kernel will run on uni- and multiprocessor 171 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO 226 bool "Support for hot-pluggable CPUs" 238 tristate "UltraSPARC-III Memory Controller driver" 242 This adds a driver for the UltraSPARC-III memory controller. [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-fuji.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 /dts-v1/; 6 #include <dt-bindings/leds/common.h> 7 #include "ast2600-facebook-netbmc-common.dtsi" 11 compatible = "facebook,fuji-bmc", "aspeed,ast2600"; 15 * PCA9548 (2-0070) provides 8 channels connecting to 28 * PCA9548 (8-0070) provides 8 channels connecting to 41 * PCA9548 (11-0077) provides 8 channels connecting to 54 * PCA9548 (24-0071) provides 8 channels connecting to 55 * PDB-Left. [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 …]
|
/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/drivers/iio/health/ |
H A D | max30102.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * 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 71 #define MAX30102_REG_MODE_CONFIG_MODE_HR 0x02 /* red LED */ 72 #define MAX30102_REG_MODE_CONFIG_MODE_HR_SPO2 0x03 /* red + IR LED */ 73 #define MAX30102_REG_MODE_CONFIG_MODE_MULTI 0x07 /* multi-LED mode */ 77 #define MAX30102_REG_MODE_CONTROL_SLOT21 0x11 /* multi-LED control */ 111 __be32 processed_buffer[3]; /* 3 x 18-bit (padded to 32-bits) */ 154 .scan_index = -1, [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/pci/hda/ |
H A D | hda_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 …]
|