/linux-6.14.4/arch/arm/boot/dts/broadcom/ |
D | bcm6846-genexis-xg6846b.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 22 stdout-path = "serial0:115200n8"; 31 reserved-memory { 32 #address-cells = <1>; 33 #size-cells = <1>; 36 secondary-boot@0 { [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/leds/ |
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 <[email protected]> 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 …]
|
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 …]
|
D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <[email protected]> 11 - Pavel Machek <[email protected]> 14 LED and flash LED devices provide the same basic functionality as current 15 regulators, but extended with LED and flash LED specific features like 18 Many LED devices expose more than one current output that can be connected 19 to one or more discrete LED component. Since the arrangement of connections 20 can influence the way of the LED device initialization, the LED components [all …]
|
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 …]
|
/linux-6.14.4/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 …]
|
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-6.14.4/arch/arm64/boot/dts/broadcom/bcmbca/ |
D | bcm4906-zyxel-ex3510b.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> 11 model = "Zyxel EX3510-B"; 18 gpio-keys-polled { 19 compatible = "gpio-keys-polled"; 20 poll-interval = <100>; 22 key-wps { 28 key-reset { [all …]
|
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-6.14.4/Documentation/devicetree/bindings/leds/irled/ |
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 <[email protected]> 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-6.14.4/arch/riscv/boot/dts/sifive/ |
D | hifive-unleashed-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2018-2019 SiFive, Inc */ 4 #include "fu540-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pwm/pwm.h> 14 compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000", 18 stdout-path = "serial0"; 22 timebase-frequency = <RTCCLK_FREQ>; 31 #clock-cells = <0>; [all …]
|
D | hifive-unmatched-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 #include "fu740-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pwm/pwm.h> 15 compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000", 19 stdout-path = "serial0"; 23 timebase-frequency = <RTCCLK_FREQ>; 32 #clock-cells = <0>; [all …]
|
/linux-6.14.4/Documentation/driver-api/gpio/ |
D | board.rst | 14 ----------- 20 <function>-gpios, where <function> is the function the driver will request 26 led-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>, /* red */ 30 power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 33 Properties named <function>-gpio are also considered valid and old bindings use 38 "led" function, and GPIO 1 as the "power" GPIO:: 42 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH); 43 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH); 44 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH); 48 The led GPIOs will be active high, while the power GPIO will be active low (i.e. [all …]
|
/linux-6.14.4/arch/arm/boot/dts/st/ |
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 …]
|
D | stm32mp153c-lxa-tac-gen3.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,stm32mp153c-tac-gen3", "oct,stm32mp153x-osd32", "st,stm32mp153"; 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 …]
|
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 …]
|
D | stih410-b2260.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 12 compatible = "st,stih410-b2260", "st,stih410"; 15 stdout-path = &uart1; 29 compatible = "gpio-leds"; 30 led-user-green-1 { 33 linux,default-trigger = "heartbeat"; 34 default-state = "off"; 37 led-user-green-2 { [all …]
|
/linux-6.14.4/drivers/leds/ |
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 …]
|
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 …]
|
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-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-6.14.4/arch/arm/boot/dts/marvell/ |
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 …]
|
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 …]
|
/linux-6.14.4/include/linux/platform_data/ |
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-6.14.4/arch/arm/boot/dts/rockchip/ |
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 …]
|