| /kernel/linux/linux-6.6/sound/usb/caiaq/ |
| D | control.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_info() 25 int pos = kcontrol->private_value; in control_info() 29 uinfo->count = 1; in control_info() 32 switch (cdev->chip.usb_id) { in control_info() 37 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info() 38 uinfo->value.integer.min = 0; in control_info() 39 uinfo->value.integer.max = 2; in control_info() 54 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info() 55 uinfo->value.integer.min = 0; in control_info() [all …]
|
| /kernel/linux/linux-5.10/sound/usb/caiaq/ |
| D | control.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_info() 25 int pos = kcontrol->private_value; in control_info() 29 uinfo->count = 1; in control_info() 32 switch (cdev->chip.usb_id) { in control_info() 37 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info() 38 uinfo->value.integer.min = 0; in control_info() 39 uinfo->value.integer.max = 2; in control_info() 54 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info() 55 uinfo->value.integer.min = 0; in control_info() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
| 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> 15 LED Drivers. 27 - national,lp5521 28 - national,lp5523 [all …]
|
| D | leds-bcm6328.txt | 7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 13 BCM6328 LED controller has a HWDIS register, which controls whether a LED 16 is usually 1:1 for hardware to LED signals, but through the activity/link 18 explained later in brcm,link-signal-sources). Even if a LED is hardware 21 reason, hardware controlled LEDs aren't registered as LED class devices. 24 - compatible : should be "brcm,bcm6328-leds". 25 - #address-cells : must be 1. 26 - #size-cells : must be 0. 27 - reg : BCM6328 LED controller address and size. [all …]
|
| D | ti,tca6507.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TCA6507 LED and GPIO controller 10 - NeilBrown <neilb@suse.de> 13 The TCA6507 is a programmable LED controller connected via I2C that can drive 25 "#address-cells": 28 "#size-cells": 31 gpio-controller: true 33 "#gpio-cells": [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/ |
| 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> 15 LED Drivers. 27 - national,lp5521 28 - national,lp5523 [all …]
|
| D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 17 as spi-gpio. See 21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 24 BCM6328 LED controller has a HWDIS register, which controls whether a LED 27 is usually 1:1 for hardware to LED signals, but through the activity/link 29 explained later in brcm,link-signal-sources). Even if a LED is hardware [all …]
|
| D | ti,tca6507.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TCA6507 LED and GPIO controller 10 - NeilBrown <neilb@suse.de> 13 The TCA6507 is a programmable LED controller connected via I2C that can drive 25 "#address-cells": 28 "#size-cells": 31 gpio-controller: true 33 "#gpio-cells": [all …]
|
| D | issi,is31fl319x.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: ISSI LED Controllers for IS31FL319{0,1,3,6,9} 10 - Vincent Knecht <vincent.knecht@mailoo.org> 13 The IS31FL319X are LED controllers with I2C interface. 14 Previously known as Si-En SN319{0,1,3,6,9}. 26 - issi,is31fl3190 27 - issi,is31fl3191 28 - issi,is31fl3193 [all …]
|
| D | awinic,aw200xx.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: AWINIC AW200XX LED 10 - Martin Kurbanov <mmkurbanov@sberdevices.ru> 14 It is a 3x12/6x9/6x12 matrix LED programmed via 19 aw20036 - https://www.awinic.com/en/productDetail/AW20036QNR#tech-docs 20 aw20054 - https://www.awinic.com/en/productDetail/AW20054QNR#tech-docs 21 aw20072 - https://www.awinic.com/en/productDetail/AW20072QNR#tech-docs 26 - awinic,aw20036 [all …]
|
| /kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/dsd/ |
| D | leds.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Individual LEDs are described by hierarchical data extension [6] nodes under the 9 device node, the LED driver chip. The "reg" property in the LED specific nodes 10 tells the numerical ID of each individual LED output to which the LEDs are 11 connected. [3] The hierarchical data nodes are named "led@X", where X is the 12 number of the LED output. 14 Referring to LEDs in Device tree is documented in [4], in "flash-leds" property 19 mechanism on ACPI is not possible. A mechanism to refer to non-device ACPI nodes 23 combination of the LED driver device reference and an integer argument, 24 referring to the "reg" property of the relevant LED, is used to identify [all …]
|
| /kernel/linux/linux-6.6/Documentation/firmware-guide/acpi/dsd/ |
| D | leds.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 device node, the LED driver chip. The "reg" property in the LED specific nodes 10 tells the numerical ID of each individual LED output to which the LEDs are 11 connected. [leds] The hierarchical data nodes are named "led@X", where X is the 12 number of the LED output. 14 Referring to LEDs in Device tree is documented in [video-interfaces], in 15 "flash-leds" property documentation. In short, LEDs are directly referred to by 20 the same mechanism on ACPI is not possible. A mechanism to refer to non-device 21 ACPI nodes is documented in [data-node-ref]. 24 combination of the LED driver device reference and an integer argument, [all …]
|
| /kernel/linux/linux-5.10/Documentation/sound/hd-audio/ |
| 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 15 6stack 16 6-jack in back, 2-jack in front 17 6stack-digout [all …]
|
| /kernel/linux/linux-6.6/Documentation/sound/hd-audio/ |
| 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 15 6stack 16 6-jack in back, 2-jack in front 17 6stack-digout [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/ |
| D | aspeed-bmc-ibm-rainier.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,rainier-bmc", "aspeed,ast2600"; 34 stdout-path = &uart5; 43 reserved-memory { 44 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-is31fl319x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2015-16 Golden Delicious Computers 7 * LED driver for the IS31FL319{0,1,3,6,9} to drive 1, 3, 6 or 9 light 92 .num_leds = 6, 105 { .compatible = "si-en,sn3199", .data = &is31fl3199_cdef, }, 113 struct is31fl319x_led *led = container_of(cdev, struct is31fl319x_led, in is31fl319x_brightness_set() local 115 struct is31fl319x_chip *is31 = led->chip; in is31fl319x_brightness_set() 116 int chan = led - is31->leds; in is31fl319x_brightness_set() 121 dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness); in is31fl319x_brightness_set() 123 mutex_lock(&is31->lock); in is31fl319x_brightness_set() [all …]
|
| D | leds-lm3692x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // TI LM3692x LED chip family driver 3 // Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/ 56 #define LM3692X_BRHT_MODE_MULTI_RAMP BIT(6) 57 #define LM3692X_BRHT_MODE_RAMP_MULTI (BIT(5) | BIT(6)) 71 #define LM3692X_PWM_SAMP_4MHZ BIT(6) 83 #define LM3692X_BOOST_SW_NO_SHIFT BIT(6) 99 * struct lm3692x_led - 100 * @lock - Lock for reading/writing the device 101 * @client - Pointer to the I2C client [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/intel/ixp/ |
| D | intel-ixp42x-freecom-fsg-3.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for the Freecom FSG-3 router. 8 /dts-v1/; 10 #include "intel-ixp42x.dtsi" 11 #include <dt-bindings/input/input.h> 14 model = "Freecom FSG-3"; 15 compatible = "freecom,fsg-3", "intel,ixp42x"; 16 #address-cells = <1>; 17 #size-cells = <1>; 28 stdout-path = "uart0:115200n8"; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/qca/ |
| D | qca8k-leds.c | 1 // SPDX-License-Identifier: GPL-2.0 26 reg_info->reg = QCA8K_LED_CTRL_REG(led_num); in qca8k_get_enable_led_reg() 27 reg_info->shift = QCA8K_LED_PHY0123_CONTROL_RULE_SHIFT; in qca8k_get_enable_led_reg() 33 reg_info->reg = QCA8K_LED_CTRL3_REG; in qca8k_get_enable_led_reg() 34 reg_info->shift = QCA8K_LED_PHY123_PATTERN_EN_SHIFT(port_num, led_num); in qca8k_get_enable_led_reg() 37 reg_info->reg = QCA8K_LED_CTRL_REG(led_num); in qca8k_get_enable_led_reg() 38 reg_info->shift = QCA8K_LED_PHY4_CONTROL_RULE_SHIFT; in qca8k_get_enable_led_reg() 41 return -EINVAL; in qca8k_get_enable_led_reg() 50 reg_info->reg = QCA8K_LED_CTRL_REG(led_num); in qca8k_get_control_led_reg() 52 /* 6 total control rule: in qca8k_get_control_led_reg() [all …]
|
| /kernel/linux/linux-6.6/drivers/leds/rgb/ |
| D | leds-mt6370-rgb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/led-class-multicolor.h> 110 #define MT6370_CHEN_BIT(id) BIT(MT6370_LED_ISNK4 - id) 113 #define MT6370_PWM_DUTY (BIT(5) - 1) 114 #define MT6372_PWM_DUTY (BIT(8) - 1) 118 * If the color of the LED in DT is set to 119 * - 'LED_COLOR_ID_RGB' 120 * - 'LED_COLOR_ID_MULTI' 123 * If so, this LED will choose 'struct led_classdev_mc mc' to use. 125 * 'MT6370_LED_ISNK1' ~ 'MT6370_LED_ISNK4', then this LED will choose [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | stm32mp157c-lxa-tac-gen2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 8 /dts-v1/; 11 #include "stm32mp15xc-lxa-tac.dtsi" 15 compatible = "lxa,stm32mp157c-tac-gen2", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 18 compatible = "pwm-backlight"; 19 power-supply = <&v3v3>; 21 brightness-levels = <0 31 63 95 127 159 191 223 255>; 22 default-brightness-level = <7>; 26 reg_iobus_12v: regulator-iobus-12v { [all …]
|
| /kernel/linux/linux-6.6/drivers/leds/flash/ |
| D | leds-qcom-flash.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/led-class-flash.h> 14 #include <media/v4l2-flash-led-class.h> 31 #define FLASH_STS_3CH_BOB_ILIM_S2 BIT(6) 40 #define FLASH_STS_4CHG_BOB_THM_OVERLOAD BIT(6) 43 #define FLASH_TIMER_VAL_MASK GENMASK(6, 0) 109 REG_FIELD_ID(0x43, 0, 6, 3, 1), /* itarget */ 118 REG_FIELD(0x07, 0, 6), /* status2 */ 121 REG_FIELD_ID(0x42, 0, 6, 4, 1), /* itarget */ 124 REG_FIELD_ID(0x4a, 0, 6, 4, 1), /* chan_strobe */ [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/ |
| D | omap4-droid4-xt894.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-common.dtsi" 8 compatible = "gpio-keys"; 14 linux,can-disable; 16 debounce-interval = <10>; 25 interrupts-extended = <&omap4_pmx_core 0xd6>; 27 linux,input-type = <EV_SW>; 29 linux,can-disable; 31 debounce-interval = <10>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/broadcom/ |
| D | bcm958625-meraki-kingpin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> 8 #include "bcm958625-meraki-mx6x-common.dtsi" 13 compatible = "gpio-keys-polled"; 15 poll-interval = <20>; 17 button-reset { 20 gpios = <&gpioa 6 GPIO_ACTIVE_LOW>; 25 compatible = "gpio-leds"; 27 led-0 { 28 /* green:lan1-left */ [all …]
|
| /kernel/linux/linux-6.6/drivers/leds/ |
| D | leds-lm3692x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // TI LM3692x LED chip family driver 3 // Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/ 55 #define LM3692X_BRHT_MODE_MULTI_RAMP BIT(6) 56 #define LM3692X_BRHT_MODE_RAMP_MULTI (BIT(5) | BIT(6)) 70 #define LM3692X_PWM_SAMP_4MHZ BIT(6) 82 #define LM3692X_BOOST_SW_NO_SHIFT BIT(6) 101 * @led_dev: LED class device pointer 104 * @regulator: LED supply regulator pointer 105 * @led_enable: LED sync to be enabled [all …]
|