| /linux/Documentation/devicetree/bindings/leds/ |
| 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 | leds-bcm6358.txt | 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 23 LED sub-node required properties: 24 - reg : LED pin number (only LEDs 0 to 31 are valid). [all …]
|
| H A D | leds-pwm-multicolor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Multi-color LEDs connected to PWM 10 - Sven Schwermer <sven.schwermer@disruptive-technologies.com> 13 This driver combines several monochrome PWM LEDs into one multi-color 14 LED using the multicolor LED class. 18 const: pwm-leds-multicolor 20 multi-led: [all …]
|
| H A D | leds-aw2013.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-aw2013.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AWINIC AW2013 3-channel LED Driver 10 - Nikita Travkin <nikitos.tr@gmail.com> 13 The AW2013 is a 3-channel LED driver with I2C interface. It can control 14 LED brightness with PWM output. 25 description: Open-drain, low active interrupt pin "INTN". 26 Used to report completion of operations (power up, LED breath effects). [all …]
|
| /linux/arch/mips/boot/dts/brcm/ |
| H A 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 …]
|
| H A D | bcm6358-neufbox4-sercomm.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 compatible = "sfr,nb4-ser", "brcm,bcm6358"; 17 stdout-path = &uart0; 24 led@0 { 26 active-low; 27 label = "nb4-ser:white:alarm"; 29 led@2 { 31 active-low; 32 label = "nb4-ser:white:tv"; [all …]
|
| /linux/Documentation/devicetree/bindings/leds/irled/ |
| H A D | ir-spi-led.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/irled/ir-spi-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IR LED connected through SPI bus 10 - Sean Young <sean@mess.org> 13 IR LED switch is connected to the MOSI line of the SPI device and the data 17 - $ref: /schemas/spi/spi-peripheral-props.yaml# 21 const: ir-spi-led 26 duty-cycle: [all …]
|
| /linux/arch/arm64/boot/dts/broadcom/bcmbca/ |
| H A D | bcm4908-asus-gt-ac5300.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/leds/common.h> 10 compatible = "asus,gt-ac5300", "brcm,bcm4908", "brcm,bcmbca"; 11 model = "Asus GT-AC5300"; 18 gpio-keys-polled { 19 compatible = "gpio-keys-polled"; 20 poll-interval = <100>; 22 key-wifi { [all …]
|
| /linux/drivers/leds/ |
| H A D | leds-bcm6358.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for BCM6358 memory-mapped LEDs, based on leds-syscon.c 31 * struct bcm6358_led - state container for bcm6358 based LEDs 32 * @cdev: LED class device for this LED 35 * @pin: LED pin number 36 * @active_low: LED is active low 78 struct bcm6358_led *led = in bcm6358_led_set() local 82 spin_lock_irqsave(led->lock, flags); in bcm6358_led_set() 83 bcm6358_led_busy(led->mem); in bcm6358_led_set() 84 val = bcm6358_led_read(led->mem + BCM6358_REG_MODE); in bcm6358_led_set() [all …]
|
| H A D | leds-sc27xx-bltc.c | 1 // SPDX-License-Identifier: GPL-2.0 52 bool active; member 84 return leds->priv->base + SC27XX_LEDS_OFFSET * leds->line; in sc27xx_led_get_offset() 90 u32 ctrl_base = leds->priv->base + SC27XX_LEDS_CTRL; in sc27xx_led_enable() 91 u8 ctrl_shift = SC27XX_CTRL_SHIFT * leds->line; in sc27xx_led_enable() 92 struct regmap *regmap = leds->priv->regmap; in sc27xx_led_enable() 109 struct regmap *regmap = leds->priv->regmap; in sc27xx_led_disable() 110 u32 ctrl_base = leds->priv->base + SC27XX_LEDS_CTRL; in sc27xx_led_disable() 111 u8 ctrl_shift = SC27XX_CTRL_SHIFT * leds->line; in sc27xx_led_disable() 122 mutex_lock(&leds->priv->lock); in sc27xx_led_set() [all …]
|
| H A 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 …]
|
| H A D | leds-tlc591xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 /* LED Driver Output State, determine the source that drives LED outputs */ 34 #define LEDOUT_OFF 0x0 /* Output LOW */ 35 #define LEDOUT_ON 0x1 /* Output HI-Z */ 43 bool active; member 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 [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp133c-prihmb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 10 #include "stm32mp13-pinctrl.dtsi" 13 model = "Priva E-Measuringbox board"; 18 mdio-gpio0 = &mdio0; 27 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | stm32mp157c-lxa-mc1.dts | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */ 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 7 /dts-v1/; 10 #include "stm32mp15xx-osd32.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/pwm/pwm.h> 17 model = "Linux Automation MC-1 board"; 18 compatible = "lxa,stm32mp157c-mc1", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 28 compatible = "pwm-backlight"; [all …]
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | kirkwood-l-50.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Check Point L-50 Board Description 7 /dts-v1/; 10 #include "kirkwood-6281.dtsi" 13 model = "Check Point L-50"; 14 compatible = "checkpoint,l-50", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 23 stdout-path = &uart0; 27 pinctrl: pin-controller@10000 { 28 pinctrl-0 = <&pmx_led38 &pmx_sysrst &pmx_button29>; 29 pinctrl-names = "default"; [all …]
|
| H A D | dove-cm-a510.dtsi | 2 * Device Tree include for Compulab CM-A510 System-on-Module 6 * This file is dual-licensed: you can use it either under the terms 46 * The CM-A510 comes with several optional components: 66 * U2: 2 dual-role USB2.0 ports 70 * W: Broadcom BCM4319 802.11b/g/n (USI WM-N-BM-01 on SDIO1) 72 * GPIOs used on CM-A510: 73 * 1 GbE PHY reset (active low) 75 * 8 PowerOff (active low) 76 * 13 Touchscreen pen irq (active low) 77 * 65 System LED (active high) [all …]
|
| H A D | kirkwood-lsxl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "kirkwood-6281.dtsi" 8 stdout-path = &uart0; 12 pinctrl: pin-controller@10000 { 13 /* Non-default UART pins */ 14 pmx_uart0: pmx-uart0 { 18 pmx_power_hdd: pmx-power-hdd { 22 pmx_usb_vbus: pmx-usb-vbus { 26 pmx_fan_high: pmx-fan-high { 30 pmx_fan_low: pmx-fan-low { [all …]
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rv1109-relfor-saib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/input/input.h> 16 gpio-keys { 17 compatible = "gpio-keys"; 23 linux,input-type = <1>; 27 ir_receiver: ir-receiver { 28 compatible = "gpio-ir-receiver"; 30 pinctrl-names = "default"; [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | lm3630a_bl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Simple driver for Texas Instruments LM3630A LED Flash driver chip 37 *@leda_label : optional led a label. 38 *@leda_init_brt : led a init brightness. 4~255 39 *@leda_max_brt : led a max brightness. 4~255 40 *@leda_ctrl : led a disable, enable linear, enable exponential 41 *@ledb_label : optional led b label. 42 *@ledb_init_brt : led b init brightness. 4~255 43 *@ledb_max_brt : led b max brightness. 4~255 44 *@ledb_ctrl : led b disable, enable linear, enable exponential [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-ficus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 10 #include "rk3399-rock960.dtsi" 21 stdout-path = "serial2:1500000n8"; 24 clkin_gmac: external-gmac-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; 27 clock-output-names = "clkin_gmac"; 28 #clock-cells = <0>; 32 compatible = "gpio-leds"; [all …]
|
| /linux/Documentation/driver-api/gpio/ |
| H A D | intro.rst | 17 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 25 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 26 non-dedicated pin can be configured as a GPIO; and most chips have at least 31 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 36 - Output values are writable (high=1, low=0). Some chips also have 38 value might be driven, supporting "wire-OR" and similar schemes for the 41 - Input values are likewise readable (1, 0). Some chips support readback 42 of pins configured as "output", which is very useful in such "wire-OR" 44 input de-glitch/debounce logic, sometimes with software controls. 46 - Inputs can often be used as IRQ signals, often edge triggered but [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | brcm,nsp-gpio.txt | 4 - compatible: 5 Must be "brcm,nsp-gpio-a" 7 - reg: 11 - #gpio-cells: 14 bit[0]: polarity (0 for active high and 1 for active low) 16 - gpio-controller: 19 - ngpios: 23 - interrupts: 26 - interrupt-controller: 29 - gpio-ranges: [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx7d-flex-concentrator.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "imx7d-tqma7.dtsi" 14 /delete-node/ &ds1339; 18 compatible = "kam,imx7d-flex-concentrator", "fsl,imx7d"; 22 /* 1024 MB - TQMa7D board configuration */ 26 reg_usb_otg2_vbus: regulator-usb-otg2-vbus { 27 compatible = "regulator-fixed"; 28 regulator-name = "VBUS_USBOTG2"; 29 regulator-min-microvolt = <5000000>; [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-wacom | 4 Contact: linux-bluetooth@vger.kernel.org 12 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/led 14 Contact: linux-input@vger.kernel.org 25 Contact: linux-input@vger.kernel.org 27 <obsoleted by the LED class API now exported by the driver> 28 Writing to this file sets the status LED luminance (1..127) 35 Contact: linux-input@vger.kernel.org 37 <obsoleted by the LED class API now exported by the driver> 38 Writing to this file sets the status LED luminance (1..127) 44 Contact: linux-input@vger.kernel.org [all …]
|
| /linux/drivers/atm/ |
| H A D | idt77105.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* drivers/atm/idt77105.h - IDT77105 (PHY) declarations */ 19 #define IDT77105_LEDHEC 0x3 /* LED Driver & HEC Status/Control */ 20 #define IDT77105_CTRLO 0x4 /* Low Byte Counter Register */ 49 #define IDT77105_DIAG_MPCS 0x20 /* R/W, Multi-PHY config'n select */ 65 #define IDT77105_LEDHEC_TLS 0x02 /* R, Tx LED Status (1=lit) */ 66 #define IDT77105_LEDHEC_RLS 0x01 /* R, Rx LED Status (1=lit) */ 68 #define IDT77105_LEDHEC_RPW_1 0x00 /* RxRef active for 1 RxClk cycle */ 69 #define IDT77105_LEDHEC_RPW_2 0x08 /* RxRef active for 2 RxClk cycle */ 70 #define IDT77105_LEDHEC_RPW_4 0x10 /* RxRef active for 4 RxClk cycle */ [all …]
|