/Linux-v5.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 …]
|
/Linux-v5.10/Documentation/devicetree/bindings/leds/ |
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 | 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 | register-bit-led.txt | 5 single LED. The register bit LEDs appear as children to the 10 Each LED is represented as a sub-node of the syscon device. Each 11 node's name represents the name of the corresponding LED. 13 LED sub-node properties: 16 - compatible : must be "register-bit-led" 17 - offset : register offset to the register controlling this LED 18 - mask : bit mask for the bit controlling this LED in the register 22 - label : (optional) 24 - linux,default-trigger : (optional) 26 - default-state: (optional) The initial state of the LED [all …]
|
D | leds-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 14 Each LED is represented as a sub-node of the gpio-leds device. Each 15 node's name represents the name of the corresponding LED. 19 const: gpio-leds 22 # The first form is preferred, but fall back to just 'led' anywhere in the [all …]
|
D | leds-netxbig.txt | 5 - compatible: "lacie,netxbig-leds". 6 - gpio-ext: Phandle for the gpio-ext bus. 9 - timers: Timer array. Each timer entry is represented by three integers: 10 Mode (gpio-ext bus), delay_on and delay_off. 12 Each LED is represented as a sub-node of the netxbig-leds device. 14 Required sub-node properties: 15 - mode-addr: Mode register address on gpio-ext bus. 16 - mode-val: Mode to value mapping. Each entry is represented by two integers: 17 A mode and the corresponding value on the gpio-ext bus. 18 - bright-addr: Brightness register address on gpio-ext bus. [all …]
|
/Linux-v5.10/drivers/leds/ |
D | leds-aw2013.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Driver for Awinic AW2013 3-channel LED driver 23 /* LED channel enable register */ 27 /* LED channel control registers */ 29 #define AW2013_LCFG_IMAX_MASK (BIT(0) | BIT(1)) // Should be 0-3 34 /* LED channel PWM registers */ 37 /* LED channel timing registers */ 39 #define AW2013_LEDT0_T1(x) ((x) << 4) // Should be 0-7 40 #define AW2013_LEDT0_T2(x) (x) // Should be 0-5 43 #define AW2013_LEDT1_T3(x) ((x) << 4) // Should be 0-7 [all …]
|
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() 66 struct max77650_led *leds, *led; in max77650_led_probe() local 72 dev = &pdev->dev; in max77650_led_probe() 77 return -ENOMEM; in max77650_led_probe() 79 map = dev_get_regmap(dev->parent, NULL); in max77650_led_probe() [all …]
|
D | leds-lm3601x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Flash and torch driver for Texas Instruments LM3601X LED 4 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 9 #include <linux/led-class-flash.h> 25 #define LM3601X_SW_RESET BIT(7) 38 #define LM36010_BOOST_MODE_PASS BIT(7) 48 #define LM36010_OVP_FAULT BIT(7) 73 * struct lm3601x_led - 74 * @fled_cdev: flash LED class device pointer 78 * @led_name: LED label for the Torch or IR LED [all …]
|
D | leds-bcm6328.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c 59 * struct bcm6328_led - state container for bcm6328 based LEDs 60 * @cdev: LED class device for this LED 63 * @pin: LED pin number 66 * @active_low: LED is active low 98 * bits [31:0] -> LEDs 8-23 99 * bits [47:32] -> LEDs 0-7 100 * bits [63:48] -> unused 105 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift() [all …]
|
D | leds-pca963x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Peter Meerwald <p.meerwald@bct-electronic.com> 9 * Based on leds-pca955x.c 11 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62) 12 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.) 18 * in identical fashion. The delay_on/delay_off values of the last LED 22 * or by adding the 'nxp,hw-blink' property to the DTS. 36 /* LED select registers determine the source that drives LED outputs */ 37 #define PCA963X_LED_OFF 0x0 /* LED driver off */ 38 #define PCA963X_LED_ON 0x1 /* LED driver on */ [all …]
|
/Linux-v5.10/arch/mips/boot/dts/brcm/ |
D | bcm63268-comtrend-vr-3032u.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 compatible = "comtrend,vr-3032u", "brcm,bcm63268"; 8 model = "Comtrend VR-3032u"; 17 stdout-path = &uart0; 23 brcm,serial-leds; 24 brcm,serial-dat-low; 25 brcm,serial-shift-inv; 27 led@0 { 29 brcm,hardware-controlled; [all …]
|
/Linux-v5.10/drivers/hid/ |
D | hid-led.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Simple USB RGB LED driver 6 * Based on drivers/hid/hid-thingm.c and 16 #include "hid-ids.h" 32 /* R+2G+4B -> riso kagaku color index */ 40 [7] = 7 /* white */ 117 mutex_lock(&ldev->lock); in hidled_send() 123 memcpy(ldev->buf, buf, ldev->config->report_size); in hidled_send() 125 if (ldev->config->report_type == RAW_REQUEST) in hidled_send() 126 ret = hid_hw_raw_request(ldev->hdev, buf[0], ldev->buf, in hidled_send() [all …]
|
/Linux-v5.10/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. [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 20 is documented in [7]. 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 …]
|
/Linux-v5.10/arch/arm/mach-footbridge/ |
D | netwinder-hw.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * linux/arch/arm/mach-footbridge/netwinder-hw.c 20 #include <asm/mach-types.h> 101 wb977_device_select(7); in __gpio_modify_io() 219 * Initialise the Winbond W83977F Infra-Red device 237 * RX DMA - ISA DMA 0 in wb977_init_irda() 242 * TX DMA - Disable Tx DMA in wb977_init_irda() 267 current_gpio_io = -1; in wb977_init_gpio() 268 __gpio_modify_io(-1, GPIO_DONE | GPIO_WDTIMER); in wb977_init_gpio() 270 wb977_device_select(7); in wb977_init_gpio() [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | am571x-idk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include "dra7-mmc-iodelay.dtsi" 11 #include "dra72x-mmc-iodelay.dtsi" 12 #include "am57xx-idk-common.dtsi" 13 #include "dra7-ipu-dsp-common.dtsi" 17 compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7"; [all …]
|
D | imx27-phytec-phycore-rdk.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 #include "imx27-phytec-phycore-som.dtsi" 9 compatible = "phytec,imx27-pcm970", "phytec,imx27-pcm038", "fsl,imx27"; 12 stdout-path = &uart1; 16 model = "Sharp-LQ035Q7"; 17 bits-per-pixel = <16>; 20 display-timings { 21 native-mode = <&timing0>; 23 clock-frequency = <5500000>; 26 hback-porch = <5>; [all …]
|
D | armada-385-synology-ds116.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include "armada-385.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 14 compatible = "marvell,a385-gp", "marvell,armada385", "marvell,armada380"; 17 stdout-path = "serial0:115200n8"; 32 internal-regs { 34 pinctrl-names = "default"; 35 pinctrl-0 = <&i2c0_pins>; 37 clock-frequency = <100000>; [all …]
|
D | orion5x-netgear-wnr854t.dts | 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include "orion5x-mv88f5181.dtsi" 16 model = "Netgear WNR854-t"; 17 compatible = "netgear,wnr854t", "marvell,orion5x-88f5181", 29 stdout-path = "serial0:115200n8"; 38 gpio-keys { 39 compatible = "gpio-keys"; 40 pinctrl-0 = <&pmx_reset_button>; [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-class-led-driver-lm3533 | 1 What: /sys/class/leds/<led>/als_channel 7 ALS-current-control mode (1, 2), where: 14 What: /sys/class/leds/<led>/als_en 19 Enable ALS-current-control mode (0, 1). 21 What: /sys/class/leds/<led>/falltime 22 What: /sys/class/leds/<led>/risetime 27 Set the pattern generator fall and rise times (0..7), where: 37 7 16.78 s 40 What: /sys/class/leds/<led>/id 45 Get the id of this led (0..3). [all …]
|
/Linux-v5.10/drivers/iio/health/ |
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 48 #define MAX30102_REG_INT_STATUS_FIFO_RDY BIT(7) 54 #define MAX30102_REG_INT_ENABLE_FIFO_EN BIT(7) 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 */ 75 #define MAX30102_REG_MODE_CONFIG_PWR BIT(7) [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/amlogic/ |
D | meson-gxl-s905x-libretech-cc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s905x.dtsi" 16 compatible = "libretech,aml-s905x-cc", "amlogic,s905x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S905X-CC"; 25 dio2133: analog-amplifier { 26 compatible = "simple-audio-amplifier"; [all …]
|
/Linux-v5.10/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-cp110.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include "pinctrl-mvebu.h" 24 * - In Armada7K (single CP) almost all the MPPs are available (except the 26 * - In Armada8K (dual CP) the MPPs are split into 2 parts, MPPs 0-31 from 27 * CPS, and MPPs 32-62 from CPM, the below flags (V_ARMADA_8K_CPM, 48 MPP_FUNCTION(7, "mss_i2c", "sda"), 59 MPP_FUNCTION(7, "mss_i2c", "sck"), 71 MPP_FUNCTION(7, "i2c1", "sck"), 83 MPP_FUNCTION(7, "i2c1", "sda"), 95 MPP_FUNCTION(7, "pcie0", "clkreq"), [all …]
|
/Linux-v5.10/Documentation/leds/ |
D | leds-mlxcpld.rst | 5 Provide system LED support for the nex Mellanox systems: 10 ----------- 14 - mlxcpld:fan1:green 15 - mlxcpld:fan1:red 16 - mlxcpld:fan2:green 17 - mlxcpld:fan2:red 18 - mlxcpld:fan3:green 19 - mlxcpld:fan3:red 20 - mlxcpld:fan4:green 21 - mlxcpld:fan4:red [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl-mt7622.txt | 4 - compatible: Should be one of the following 5 "mediatek,mt7622-pinctrl" for MT7622 SoC 6 "mediatek,mt7629-pinctrl" for MT7629 SoC 7 - reg: offset and length of the pinctrl space 9 - gpio-controller: Marks the device node as a GPIO controller. 10 - #gpio-cells: Should be two. The first cell is the pin number and the 14 - interrupt-controller : Marks the device node as an interrupt controller 16 If the property interrupt-controller is defined, following property is required 17 - reg-names: A string describing the "reg" entries. Must contain "eint". 18 - interrupts : The interrupt output from the controller. [all …]
|