/linux/sound/usb/caiaq/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/leds/ |
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> 15 LED Drivers. 27 - national,lp5521 28 - national,lp5523 [all …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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> 13 It is a matrix LED driver programmed via an I2C interface. Devices have 16 - AW20036 (3x12) 36 LEDs 17 - AW20054 (6x9) 54 LEDs 18 - AW20072 (6x12) 72 LEDs 19 - AW20108 (9x12) 108 LEDs [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ibm-blueridge.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include <dt-bindings/gpio/aspeed-gpio.h> 6 #include <dt-bindings/i2c/i2c.h> 7 #include <dt-bindings/leds/leds-pca955x.h> 8 #include "aspeed-g6.dtsi" 9 #include "ibm-power11-quad.dtsi" 13 compatible = "ibm,blueridge-bmc", "aspeed,ast2600"; 35 stdout-path = &uart5; 43 reserved-memory { [all …]
|
H A 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 …]
|
H A D | aspeed-bmc-ibm-system1.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,system1-bmc", "aspeed,ast2600"; 74 stdout-path = "uart5:115200n8"; 82 reserved-memory { 83 #address-cells = <1>; [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 15 6stack 16 6-jack in back, 2-jack in front 17 6stack-digout [all …]
|
/linux/Documentation/firmware-guide/acpi/dsd/ |
H A 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 …]
|
/linux/arch/arm/boot/dts/intel/ixp/ |
H A 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 …]
|
/linux/drivers/leds/rgb/ |
H A 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 …]
|
/linux/arch/arm/boot/dts/st/ |
H A 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 …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap4-droid4-xt894.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-xt8xx.dtsi" 11 stdout-path = &uart3; 20 compatible = "gpio-keys"; 26 linux,can-disable; 28 debounce-interval = <10>; 37 interrupts-extended = <&omap4_pmx_core 0xd6>; 39 linux,input-type = <EV_SW>; 41 linux,can-disable; [all …]
|
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/drivers/leds/ |
H A 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 …]
|
H A 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 129 return true; /* always write-through */ in is31fl3190_volatile_reg() 161 return true; /* always write-through */ in is31fl3196_volatile_reg() 176 { IS31FL3196_PWM(6), 0x00 }, 195 struct is31fl319x_led *led = container_of(cdev, struct is31fl319x_led, cdev); in is31fl3190_brightness_set() local 196 struct is31fl319x_chip *is31 = led->chip; in is31fl3190_brightness_set() 197 int chan = led - is31->leds; in is31fl3190_brightness_set() 202 dev_dbg(&is31->client->dev, "channel %d: %d\n", chan, brightness); in is31fl3190_brightness_set() [all …]
|
H A D | leds-max77650.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // LED driver for MAXIM 77650/77651 charger/power-supply. 21 #define MAX77650_LED_EN_MASK GENMASK(7, 6) 28 #define MAX77650_LED_ENABLE GENMASK(7, 6) 50 struct max77650_led *led = max77650_to_led(cdev); in max77650_led_brightness_set() local 60 return regmap_update_bits(led->map, led->regA, mask, val); in max77650_led_brightness_set() 65 struct max77650_led *leds, *led; in max77650_led_probe() local 71 dev = &pdev->dev; in max77650_led_probe() 76 return -ENOMEM; in max77650_led_probe() 78 map = dev_get_regmap(dev->parent, NULL); in max77650_led_probe() [all …]
|
H A D | leds-aw200xx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Awinic AW20036/AW20054/AW20072/AW20108 LED driver 23 #define AW200XX_DIM_MAX (BIT(6) - 1) 24 #define AW200XX_FADE_MAX (BIT(8) - 1) 34 #define AW200XX_PAGE_MASK (GENMASK(7, 6) | GENMASK(2, 0)) 36 #define AW200XX_NUM_PAGES 6 41 AW200XX_REG(AW200XX_NUM_PAGES - 1, AW200XX_PAGE_SIZE - 1) 76 ((x) + (((x) / (columns)) * (AW200XX_DSIZE_COLUMNS_MAX - (columns)))) 130 struct aw200xx_led *led = container_of(cdev, struct aw200xx_led, cdev); in dim_show() local 131 int dim = led->dim; in dim_show() [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A 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 …]
|
/linux/drivers/leds/flash/ |
H A 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> 34 #define FLASH_STS_3CH_BOB_ILIM_S2 BIT(6) 43 #define FLASH_STS_4CHG_BOB_THM_OVERLOAD BIT(6) 46 #define FLASH_TIMER_VAL_MASK GENMASK(6, 0) 125 REG_FIELD_ID(0x43, 0, 6, 3, 1), /* itarget */ 137 REG_FIELD(0x07, 0, 6), /* status2 */ 140 REG_FIELD_ID(0x42, 0, 6, 4, 1), /* itarget */ 143 REG_FIELD_ID(0x4a, 0, 6, 4, 1), /* chan_strobe */ [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | mc13xxx.txt | 4 - compatible : Should be "fsl,mc13783" or "fsl,mc13892" 7 - fsl,mc13xxx-uses-adc : Indicate the ADC is being used 8 - fsl,mc13xxx-uses-codec : Indicate the Audio Codec is being used 9 - fsl,mc13xxx-uses-rtc : Indicate the RTC is being used 10 - fsl,mc13xxx-uses-touch : Indicate the touchscreen controller is being used 12 Sub-nodes: 13 - codec: Contain the Audio Codec node. 14 - adc-port: Contain PMIC SSI port number used for ADC. 15 - dac-port: Contain PMIC SSI port number used for DAC. 16 - leds : Contain the led nodes and initial register values in property [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-synology.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 pinctrl: pin-controller@10000 { 13 pmx_alarmled_12: pmx-alarmled-12 { 18 pmx_fanctrl_15: pmx-fanctrl-15 { 23 pmx_fanctrl_16: pmx-fanctrl-16 { 28 pmx_fanctrl_17: pmx-fanctrl-17 { 33 pmx_fanalarm_18: pmx-fanalarm-18 { 38 pmx_hddled_20: pmx-hddled-20 { 43 pmx_hddled_21: pmx-hddled-21 { 48 pmx_hddled_22: pmx-hddled-22 { [all …]
|
/linux/sound/core/ |
H A D | control_led.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * LED state routines for driver control interface 14 MODULE_DESCRIPTION("ALSA control interface to LED trigger code."); 17 #define MAX_LED (((SNDRV_CTL_ELEM_ACCESS_MIC_LED - SNDRV_CTL_ELEM_ACCESS_SPK_LED) \ 33 struct snd_ctl_led *led; member 60 .group = (SNDRV_CTL_ELEM_ACCESS_SPK_LED >> SNDRV_CTL_ELEM_ACCESS_LED_SHIFT) - 141 struct snd_ctl_led *led; snd_ctl_led_set_state() local 293 struct snd_ctl_led *led; snd_ctl_led_clean() local 307 struct snd_ctl_led *led; snd_ctl_led_reset() local 382 struct snd_ctl_led *led = container_of(dev, struct snd_ctl_led, dev); mode_show() local 398 struct snd_ctl_led *led = container_of(dev, struct snd_ctl_led, dev); mode_store() local 426 struct snd_ctl_led *led = container_of(dev, struct snd_ctl_led, dev); brightness_show() local 651 struct snd_ctl_led *led; snd_ctl_led_sysfs_add() local 688 struct snd_ctl_led *led; snd_ctl_led_sysfs_remove() local 716 struct snd_ctl_led *led; snd_ctl_led_init() local 754 struct snd_ctl_led *led; snd_ctl_led_exit() local [all...] |