/openbmc/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 | qcom,spmi-flash-led.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/qcom,spmi-flash-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Flash LED device inside Qualcomm Technologies, Inc. PMICs 10 - Fenglin Wu <quic_fenglinw@quicinc.com> 13 Flash LED controller is present inside some Qualcomm Technologies, Inc. PMICs. 14 The flash LED module can have different number of LED channels supported 24 - enum: 25 - qcom,pm6150l-flash-led [all …]
|
H A D | leds-lm3697.txt | 1 * Texas Instruments - LM3697 Highly Efficient White LED Driver 3 The LM3697 11-bit LED driver provides high- 5 LED strings while delivering up to 90% efficiency. 10 - compatible: 12 - reg : I2C slave address 13 - #address-cells : 1 14 - #size-cells : 0 17 - enable-gpios : GPIO pin to enable/disable the device 18 - vled-supply : LED supply 21 - reg : 0 - LED is Controlled by bank A [all …]
|
H A D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 16 There are two LED outputs available - FLED1 and FLED2. Each of them can 17 control a separate LED or they can be connected together to double the 18 maximum current for a single connected LED. One LED is represented by one 26 const: maxim,max77693-led 28 maxim,boost-mode: 33 case both current sources are used. [all …]
|
H A D | leds-lm3532.txt | 1 * 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 …]
|
H A D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 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 …]
|
H A D | leds-lm36274.txt | 1 * Texas Instruments LM36274 4-Channel LCD Backlight Driver w/Integrated Bias 3 The LM36274 is an integrated four-channel WLED driver and LCD bias supply. 4 The backlight boost provides the power to bias four parallel LED strings with 5 up to 29V total output voltage. The 11-bit LED current is programmable via 9 Documentation/devicetree/bindings/mfd/ti-lmu.txt 12 Documentation/devicetree/bindings/regulator/lm363x-regulator.txt 15 - compatible: 16 "ti,lm36274-backlight" 17 - reg : 0 18 - #address-cells : 1 [all …]
|
/openbmc/phosphor-led-manager/manager/ |
H A D | meson.build | 1 sources = [ variable 3 'led-main.cpp', 7 'config-validator.cpp', 10 if get_option('use-json').disabled() 12 'led-gen.hpp', 16 '-i', 18 '-o', 21 output: 'led-gen.hpp', 23 sources += [led_gen_hpp] 26 if get_option('use-lamp-test').allowed() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ti-lmu.txt | 6 ------ --------------------------------- 9 LM3633 Backlight, LED and fault monitor 14 - compatible: Should be one of: 20 - reg: I2C slave address. 28 - enable-gpios: A GPIO specifier for hardware enable pin. 29 - ramp-up-us: Current ramping from one brightness level to 31 Range from 2048 us - 117.44 s 32 - ramp-down-us: Current ramping from one brightness level to 34 Range from 2048 us - 117.44 s 35 - ti,brightness-resolution - This determines whether to use 8 bit brightness [all …]
|
H A D | mediatek,mt6370.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 MT6370 is a highly-integrated smart power management IC, which includes a 14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C & 15 Power Delivery (PD) controller, dual flash LED current sources, a RGB LED 26 wakeup-source: true 31 interrupt-controller: true 33 "#interrupt-cells": [all …]
|
/openbmc/linux/drivers/leds/flash/ |
H A D | leds-mt6370-flash.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/led-class-flash.h> 22 #include <media/v4l2-flash-led-class.h> 43 #define MT6370_FLCSEN_MASK(_id) BIT(MT6370_LED_FLASH2 - (_id)) 89 struct mt6370_led *led = to_mt6370_led(lcdev, flash.led_cdev); in mt6370_torch_brightness_set() local 90 struct mt6370_priv *priv = led->priv; in mt6370_torch_brightness_set() 91 u32 led_enable_mask = led->led_no == MT6370_LED_JOINT ? MT6370_FLCSEN_MASK_ALL : in mt6370_torch_brightness_set() 92 MT6370_FLCSEN_MASK(led->led_no); in mt6370_torch_brightness_set() 98 mutex_lock(&priv->lock); in mt6370_torch_brightness_set() 104 if (priv->fled_strobe_used) { in mt6370_torch_brightness_set() [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm4708-smartrg-sr400ac.dts | 1 // 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 D | bcm47081-tplink-archer-c5-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "tplink,archer-c5-v2", "brcm,bcm47081", "brcm,bcm4708"; 12 model = "TP-LINK Archer C5 V2"; 24 compatible = "gpio-leds"; 26 led-2ghz { 31 led-lan { 36 led-usb2-port1 { 37 label = "bcm53xx:green:usb2-port1"; 39 trigger-sources = <&ohci_port1>, <&ehci_port1>; [all …]
|
H A D | bcm4709-tplink-archer-c9-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "tplink,archer-c9-v1", "brcm,bcm4709", "brcm,bcm4708"; 12 model = "TP-LINK Archer C9 V1"; 24 compatible = "gpio-leds"; 26 led-lan { 31 led-wps { 36 led-2ghz { 41 led-5ghz { 46 led-usb3 { [all …]
|
H A D | bcm47094-asus-rt-ac3100.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 #include "bcm5301x-nand-cs0-bch8.dtsi" 26 compatible = "gpio-leds"; 28 led-power { 31 linux,default-trigger = "default-on"; 34 led-wan-red { 39 led-lan { 44 led-usb2 { 47 trigger-sources = <&ehci_port2>; 48 linux,default-trigger = "usbport"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | lm3630a-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/lm3630a-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI LM3630A High-Efficiency Dual-String White LED 10 - Lee Jones <lee@kernel.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 15 The LM3630A is a current-mode boost converter which supplies the power and 26 '#address-cells': [all …]
|
H A D | arcxcnn_bl.txt | 1 Binding for ArcticSand arc2c0608 LED driver 4 - compatible: should be "arc,arc2c0608" 5 - reg: slave address 8 - default-brightness: brightness value on boot, value from: 0-4095 9 - label: The name of the backlight device 11 - led-sources: List of enabled channels from 0 to 5. 14 - arc,led-config-0: setting for register ILED_CONFIG_0 15 - arc,led-config-1: setting for register ILED_CONFIG_1 16 - arc,dim-freq: PWM mode frequence setting (bits [3:0] used) 17 - arc,comp-config: setting for register CONFIG_COMP [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/video/backlight/ |
H A D | arcxcnn_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 * @leden : initial LED string enables, upper bit is global on/off 48 #define ARCXCNN_CMD_OVP_MASK 0x0C /* --- Over Voltage Threshold */ 62 #define ARCXCNN_LEDEN 0x06 /* LED Enable Register */ 63 #define ARCXCNN_LEDEN_ISETEXT 0x80 /* Full-scale current set extern */ 64 #define ARCXCNN_LEDEN_MASK 0x3F /* LED string enables mask */ 65 #define ARCXCNN_LEDEN_BITS 0x06 /* Bits of LED string enables */ 73 #define ARCXCNN_WLED_ISET_LSB 0x07 /* LED ISET LSB (in upper nibble) */ 75 #define ARCXCNN_WLED_ISET_MSB 0x08 /* LED ISET MSB (8 bits) */ 99 ret = i2c_smbus_read_byte_data(lp->client, reg); in arcxcnn_update_field() [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-lm36274.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // TI LM36274 LED chip family driver 3 // Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ 9 #include <linux/leds-ti-lmu-common.h> 15 #include <linux/mfd/ti-lmu.h> 16 #include <linux/mfd/ti-lmu-register.h> 26 * @led_dev: led class device 30 * @led_sources: The LED strings supported in this array 31 * @num_leds: Number of LED strings are supported in this array 49 return ti_lmu_common_set_brightness(&chip->lmu_data, brt_val); in lm36274_brightness_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-lm3697.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // TI LM3697 LED chip family driver 3 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 15 #include <linux/leds-ti-lmu-common.h> 47 * struct lm3697_led - 48 * @hvled_strings: Array of LED strings associated with a control bank 49 * @label: LED label 50 * @led_dev: LED class device 53 * @control_bank: Control bank the LED is associated to. 0 is control bank A 55 * @enabled: LED brightness level (or LED_OFF) [all …]
|
/openbmc/phosphor-led-sysfs/ |
H A D | meson.build | 2 'phosphor-ledcontroller', 15 phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces') 16 phosphor_logging_dep = dependency('phosphor-logging') 34 ['udev' / 'rules.d' / '70-leds.rules'], 40 ['systemd' / 'system' / 'phosphor-ledcontroller.service'], 44 ['systemd' / 'system' / 'sysfs-led@.service'], 48 dbus = dependency('dbus-1') 51 'dbus-1' / 'system-services' / 'xyz.openbmc_project.LED.Controller.service', 56 sources = [ variable 64 'phosphor-ledcontroller', [all …]
|
/openbmc/linux/arch/arm64/boot/dts/broadcom/bcmbca/ |
H A D | bcm4906-netgear-r8000p.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> 19 compatible = "gpio-leds"; 21 led-power-white { 27 led-power-amber { 33 led-wps { 39 led-2ghz { 45 led-5ghz-1 { [all …]
|
H A D | bcm4906-tplink-archer-c2300-v1.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 = "tplink,archer-c2300-v1", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca"; 11 model = "TP-Link Archer C2300 V1"; 19 compatible = "gpio-leds"; 21 led-power { 27 led-2ghz { 33 led-5ghz { [all …]
|