Home
last modified time | relevance | path

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

12345678910>>...43

/openbmc/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 …]
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-bcm6328.yaml1 # 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 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 …]
/openbmc/linux/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/led-class-multicolor.h>
107 #define MT6370_VENDOR_ID_MASK GENMASK(7, 4)
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.
[all …]
/openbmc/linux/drivers/leds/flash/
H A Dleds-qcom-flash.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/led-class-flash.h>
14 #include <media/v4l2-flash-led-class.h>
32 #define FLASH_STS_3CH_BCL_IBAT BIT(7)
42 #define FLASH_TIMER_EN_BIT BIT(7)
105 REG_FIELD(0x08, 0, 7), /* status1 */
106 REG_FIELD(0x09, 0, 7), /* status2 */
107 REG_FIELD(0x0a, 0, 7), /* status3 */
108 REG_FIELD_ID(0x40, 0, 7, 3, 1), /* chan_timer */
110 REG_FIELD(0x46, 7, 7), /* module_en */
[all …]
H A Dleds-lm3601x.c1 // 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 …]
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ibm-blueridge.dts1 // 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 Daspeed-bmc-ibm-system1.dts1 // 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 …]
H A Daspeed-bmc-ibm-rainier.dts1 // 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 Daspeed-bmc-ibm-sbp1.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/i2c/i2c.h>
9 #include "aspeed-g6.dtsi"
13 compatible = "ibm,sbp1-bmc", "aspeed,ast2600";
16 stdout-path = &uart1;
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/linux-atm/linux-atm/
H A D0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch3 Date: Mon, 29 Aug 2022 16:36:21 -0700
6 Upstream-Status: Pending
7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 ---
9 src/led/address.c | 1 +
10 src/led/display.c | 1 +
17 diff --git a/src/led/address.c b/src/led/address.c
19 --- a/src/led/address.c
20 +++ b/src/led/address.c
21 @@ -31,6 +31,7 @@
[all …]
/openbmc/linux/arch/arm/boot/dts/intel/ixp/
H A Dintel-ixp42x-freecom-fsg-3.dts1 // 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 …]
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dventura-phosphor-multi-gpio-monitor.json8 "FALLING": ["leak-detect-assert@SmallComputeTray1.service"],
9 "RISING": ["leak-detect-deassert@SmallComputeTray1.service"]
19 "FALLING": ["leak-detect-assert@SmallComputeTray2.service"],
20 "RISING": ["leak-detect-deassert@SmallComputeTray2.service"]
30 "FALLING": ["leak-detect-assert@SmallComputeTray3.service"],
31 "RISING": ["leak-detect-deassert@SmallComputeTray3.service"]
41 "FALLING": ["leak-detect-assert@SmallComputeTray4.service"],
42 "RISING": ["leak-detect-deassert@SmallComputeTray4.service"]
52 "FALLING": ["leak-detect-assert@SmallComputeTray5.service"],
53 "RISING": ["leak-detect-deassert@SmallComputeTray5.service"]
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Domap4-droid4-xt894.dts1 // 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 …]
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 …]
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-nvme/
H A Dnvme_json_rewrite.sh6 if [ ! -d "/sys/class/gpio/gpio$1" ]; then
12 # 1-0024
15 # 1-0021
17 if [ -d "/sys/bus/i2c/drivers/pca953x/1-0024" ]; then
18 presentPinBase="$(cat /sys/bus/i2c/drivers/pca953x/1-0024/gpio/gpiochip*/base)"
27 if [ -d "/sys/bus/i2c/drivers/pca953x/1-0021" ]; then
28 PwrGoodPinBase="$(cat /sys/bus/i2c/drivers/pca953x/1-0021/gpio/gpiochip*/base)"
43 "NVMeDriveFaultLEDGroupPath": "/xyz/openbmc_project/led/groups/led_u2_0_fault",
44 "NVMeDriveLocateLEDGroupPath": "/xyz/openbmc_project/led/groups/led_u2_0_locate",
45 … "NVMeDriveLocateLEDControllerBusName": "xyz.openbmc_project.LED.Controller.led_u2_0_locate",
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/leds/
H A Dleds-aw2013.c1 // 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 …]
H A Dleds-max77650.c1 // 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 …]
/openbmc/linux/drivers/hid/
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 */
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 …]
/openbmc/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>
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 …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstm32mp157c-lxa-tac-gen2.dts1 // 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 …]
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm47081-buffalo-wzr-600dhp2.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 * DTS for Buffalo WZR-600DHP2
9 /dts-v1/;
12 #include "bcm5301x-nand-cs0-bch8.dtsi"
15 compatible = "buffalo,wzr-600dhp2", "brcm,bcm47081", "brcm,bcm4708";
16 model = "Buffalo WZR-600DHP2 (BCM47081)";
29 compatible = "spi-gpio";
30 num-chipselects = <1>;
31 sck-gpios = <&chipcommon 7 0>;
32 mosi-gpios = <&chipcommon 4 0>;
[all …]
H A Dbcm4708-smartrg-sr400ac.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
9 /dts-v1/;
12 #include "bcm5301x-nand-cs0-bch8.dtsi"
29 compatible = "gpio-leds";
31 led-power-white {
34 linux,default-trigger = "default-on";
37 led-power-amber {
42 led-usb2 {
45 trigger-sources = <&ohci_port2>, <&ehci_port2>;
46 linux,default-trigger = "usbport";
[all …]
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 …]

12345678910>>...43