Home
last modified time | relevance | path

Searched +full:led +full:- +full:8 (Results 1 – 25 of 1019) sorted by relevance

12345678910>>...41

/linux/Documentation/devicetree/bindings/leds/
H A Dleds-lp55xx.yaml1 # 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 Dregister-bit-led.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/register-bit-led.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
14 bits in a certain register can turn on/off a single LED. The register bit LEDs
20 - $ref: /schemas/leds/common.yaml#
25 The unit-address is in the form of @<reg addr>,<bit offset>
26 pattern: '^led@[0-9a-f]+,[0-9a-f]{1,2}$'
29 const: register-bit-led
[all …]
H A Dleds-lm3532.txt1 * Texas Instruments - lm3532 White LED driver with ambient light sensing
4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is
5 programmable over an I2C-compatible interface and has independent
7 method allows for different LED currents in each current sink thus allowing
11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear
16 - compatible : "ti,lm3532"
17 - reg : I2C slave address
18 - #address-cells : 1
19 - #size-cells : 0
22 - enable-gpios : gpio pin to enable (active high)/disable the device.
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-echo.dts1 // 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/sound/usb/caiaq/
H A Dcontrol.c1 // 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/drivers/hid/
H A Dhid-picolcd_leds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2010-2012 by Bruno Prémont <bonbons@linux-vserver.org> *
11 #include <linux/hid-debug.h>
13 #include "hid-ids.h"
29 #include "hid-picolcd.h"
37 if (!data->led[0]) in picolcd_leds_set()
39 report = picolcd_out_report(REPORT_LED_STATE, data->hdev); in picolcd_leds_set()
40 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_leds_set()
43 spin_lock_irqsave(&data->lock, flags); in picolcd_leds_set()
44 hid_set_field(report->field[0], 0, data->led_state); in picolcd_leds_set()
[all …]
H A Dhid-led.c1 // 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 */
46 __u8 data[8];
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/Documentation/firmware-guide/acpi/dsd/
H A Dleds.rst1 .. 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/drivers/leds/
H A Dleds-lp50xx.c1 // SPDX-License-Identifier: GPL-2.0
2 // TI LP50XX LED chip family driver
3 // Copyright (C) 2018-20 Texas Instruments Incorporated - https://www.ti.com/
17 #include <linux/led-class-multicolor.h>
54 /* There are 3 LED outputs per bank */
60 #define LP5024_MAX_LED_MODULES 8
132 .reg_bits = 8,
133 .val_bits = 8,
142 .reg_bits = 8,
143 .val_bits = 8,
[all …]
H A Dleds-bcm6328.c1 // 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
104 if (pin < 8) in bcm6328_pin2shift()
[all …]
H A Dleds-tlc591xx.c1 // SPDX-License-Identifier: GPL-2.0-only
33 /* LED Driver Output State, determine the source that drives LED outputs */
35 #define LEDOUT_ON 0x1 /* Output HI-Z */
66 .max_leds = 8,
86 tlc591xx_set_ledout(struct tlc591xx_priv *priv, struct tlc591xx_led *led, in tlc591xx_set_ledout() argument
89 unsigned int i = (led->led_no % 4) * 2; in tlc591xx_set_ledout()
91 unsigned int addr = priv->reg_ledout_offset + (led->led_no >> 2); in tlc591xx_set_ledout()
95 return regmap_update_bits(priv->regmap, addr, mask, val); in tlc591xx_set_ledout()
99 tlc591xx_set_pwm(struct tlc591xx_priv *priv, struct tlc591xx_led *led, in tlc591xx_set_pwm() argument
102 u8 pwm = TLC591XX_REG_PWM(led->led_no); in tlc591xx_set_pwm()
[all …]
H A Dleds-lm3532.c1 // SPDX-License-Identifier: GPL-2.0
2 // TI LM3532 LED driver
3 // Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
16 #define LM3532_NAME "lm3532-led"
86 #define LM3532_BRT_VAL_ADJUST 8
89 #define LM3532_NUM_RAMP_VALS 8
90 #define LM3532_NUM_AVG_VALS 8
123 * @led_dev: led class device
125 * @control_bank: Control bank the LED is associated to
126 * @mode: Mode of the LED string
[all …]
H A Dleds-pca955x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2007-2008 Extreme Engineering Solutions, Inc.
5 * Author: Nate Case <ncase@xes-inc.com>
7 * LED driver for various PCA955x I2C LED drivers
11 * Device Description 7-bit slave address
12 * ------ ----------- -------------------
13 * PCA9550 2-bit driver 0x60 .. 0x61
14 * PCA9551 8-bit driver 0x60 .. 0x67
15 * PCA9552 16-bit driver 0x60 .. 0x67
16 * PCA9553/01 4-bit driver 0x62
[all …]
H A Dleds-lp5569.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/platform_data/leds-lp55xx.h>
18 #include <dt-bindings/leds/leds-lp55xx.h>
20 #include "leds-lp55xx-common.h"
120 /* Precompiled pattern per ENGINE setting LED MUX start and stop addresses */ in lp5569_init_program_engine()
140 /* Write precompiled pattern for LED MUX address space for each ENGINE */ in lp5569_init_program_engine()
142 chip->engine_idx = i; in lp5569_init_program_engine()
147 pattern[i - 1][j]); in lp5569_init_program_engine()
161 dev_err(&chip->cl->dev, in lp5569_init_program_engine()
162 "could not configure LED engine, status = 0x%.2x\n", in lp5569_init_program_engine()
[all …]
/linux/arch/arm/boot/dts/st/
H A Dste-href.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/leds/common.h>
8 #include "ste-href-family-pinctrl.dtsi"
17 compatible = "simple-battery";
18 battery-type = "lithium-ion-polymer";
21 thermal-zones {
22 battery-thermal {
24 polling-delay = <0>;
[all …]
/linux/drivers/media/dvb-frontends/
H A Dau8522_common.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Auvitek AU8522 QAM/8VSB demodulator driver
7 Copyright (C) 2005-2008 Auvitek International, Ltd.
29 /* 16 bit registers, 8 bit values */
33 u8 buf[] = { (reg >> 8) | 0x80, reg & 0xff, data }; in au8522_writereg()
35 struct i2c_msg msg = { .addr = state->config.demod_address, in au8522_writereg()
38 ret = i2c_transfer(state->i2c, &msg, 1); in au8522_writereg()
44 return (ret != 1) ? -1 : 0; in au8522_writereg()
51 u8 b0[] = { (reg >> 8) | 0x40, reg & 0xff }; in au8522_readreg()
55 { .addr = state->config.demod_address, .flags = 0, in au8522_readreg()
[all …]
/linux/drivers/hid/usbhid/
H A Dusbkbd.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1999-2001 Vojtech Pavlik
11 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
12 * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
38 4, 5, 6, 7, 8, 9, 10, 11, 28, 1, 14, 15, 57, 12, 13, 26,
56 * struct usb_kbd - state of each attached keyboard
64 * @led: URB for sending LEDs (e.g. numlock, ...)
65 * @newleds: data that will be sent with the @led URB representing which LEDs
71 * @cr: Control request for @led URB
72 * @leds: Buffer for the @led URB
[all …]
/linux/arch/arm64/boot/dts/arm/
H A Djuno-motherboard.dtsi4 * Copyright (c) 2013-2014 ARM Ltd
11 mb_clk24mhz: clock-24000000 {
12 compatible = "fixed-clock";
13 #clock-cells = <0>;
14 clock-frequency = <24000000>;
15 clock-output-names = "juno_mb:clk24mhz";
18 mb_clk25mhz: clock-25000000 {
19 compatible = "fixed-clock";
20 #clock-cells = <0>;
21 clock-frequency = <25000000>;
[all …]
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm958625-meraki-kingpin.dtsi1 // 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 {
25 compatible = "gpio-leds";
27 led-0 {
28 /* green:lan1-left */
30 function-enumerator = <0>;
[all …]
H A Dbcm47094-linksys-panamera.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
9 #include "bcm5301x-nand-cs0-bch8.dtsi"
30 gpio-keys {
31 compatible = "gpio-keys";
33 button-wps {
39 button-rfkill {
45 button-reset {
53 compatible = "gpio-leds";
55 led-wps {
[all …]
/linux/arch/arm/mach-footbridge/
H A Dnetwinder-hw.c1 // SPDX-License-Identifier: GPL-2.0
3 * linux/arch/arm/mach-footbridge/netwinder-hw.c
20 #include <asm/mach-types.h>
55 outb(val >> 8, 0x371); in wb977_ww()
85 outb(new_gpio >> 8, GP2_IO_BASE); in nw_gpio_modify_op()
110 wb977_device_select(8); in __gpio_modify_io()
134 return inb(GP1_IO_BASE) | inb(GP2_IO_BASE) << 8; in nw_gpio_read()
208 * KBC 8MHz in wb977_init_keyboard()
219 * Initialise the Winbond W83977F Infra-Red device
237 * RX DMA - ISA DMA 0 in wb977_init_irda()
[all …]
/linux/arch/mips/boot/dts/brcm/
H A Dbcm63268-comtrend-vr-3032u.dts1 // 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/drivers/parisc/
H A Dled.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Chassis LCD/LED driver for HP-PARISC workstations
8 * (c) Copyright 2000-2023 Helge Deller <deller@gmx.de>
32 #include <asm/led.h>
39 static unsigned char lastleds; /* LED state from most recent update */
43 static unsigned char lcd_no_led_support; /* KittyHawk doesn't support LED on its LCD */
47 unsigned char on; /* value for turning LED on */
48 unsigned char off; /* value for turning LED off */
53 lcd_cmd_reg_addr needs to be 64bit aligned on 64bit PA2.0-machines */
57 unsigned long lcd_cmd_reg_addr; /* ptr to LCD cmd-register & data ptr for LED */
[all …]
/linux/arch/arm/boot/dts/arm/
H A Darm-realview-eb.dtsi23 #include <dt-bindings/interrupt-controller/irq.h>
24 #include <dt-bindings/gpio/gpio.h>
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "arm,realview-eb";
48 vmmc: regulator-vmmc {
49 compatible = "regulator-fixed";
50 regulator-name = "vmmc";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
[all …]
H A Dversatile-ab.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
6 compatible = "arm,versatile-ab";
7 #address-cells = <1>;
8 #size-cells = <1>;
9 interrupt-parent = <&vic>;
19 stdout-path = &uart0;
27 xtal24mhz: clock-24000000 {
28 #clock-cells = <0>;
29 compatible = "fixed-clock";
[all …]

12345678910>>...41