/openbmc/openbmc/meta-ibm/recipes-phosphor/leds/ |
H A D | phosphor-led-manager_%.bbappend | 3 SYSTEMD_SERVICE:${PN}:append:p10bmc = " obmc-led-create-virtual-leds@.service" 5 # Copies config file having arguments for led-set-all-groups-asserted.sh 6 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:p10bmc =" obmc/led/set-all/groups/config" 8 # Use the JSON configuration file at runtime than the static led.yaml 11 PACKAGECONFIG:append:p10bmc = " use-lamp-test monitor-operational-status persistent-led-asserted" 14 SRC_URI:append:p10bmc = " file://lamp-test-led-overrides.json" 19 mkdir -p $D$systemd_system_unitdir/multi-user.target.wants 20 …NK_FAULT="$D$systemd_system_unitdir/multi-user.target.wants/obmc-led-create-virtual-leds@sys-class… 21 TARGET_FAULT="../obmc-led-create-virtual-leds@.service" 22 ln -s $TARGET_FAULT $LINK_FAULT [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-class-multicolor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-class-multicolor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common properties for the multicolor LED class. 10 - Andrew Davis <afd@ti.com> 13 Bindings for multi color LEDs show how to describe current outputs of 14 either integrated multi-color LED elements (like RGB, RGBW, RGBWA-UV 15 etc.) or standalone LEDs, to achieve logically grouped multi-color LED 16 modules. This is achieved by adding multi-led nodes layer to the [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-lp50xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-lp50xx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LED driver for LP50XX RGB LED from Texas Instruments. 10 - Andrew Davis <afd@ti.com> 13 The LP50XX is multi-channel, I2C RGB LED Drivers that can group RGB LEDs into 14 a LED group or control them individually. 16 The difference in these RGB LED drivers is the number of supported RGB 27 - ti,lp5009 [all …]
|
H A D | leds-group-multicolor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-group-multicolor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Multi-color LED built with monochromatic LEDs 10 - Jean-Jacques Hiblot <jjhiblot@traphandler.com> 13 This driver combines several monochromatic LEDs into one multi-color 14 LED using the multicolor LED class. 18 const: leds-group-multicolor 23 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
H A D | cznic,turris-omnia-leds.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/cznic,turris-omnia-leds.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Behún <kabel@kernel.org> 15 microcontroller that communicates via the I2C bus. Each LED is described 20 const: cznic,turris-omnia-leds 26 "#address-cells": 29 "#size-cells": 33 "^multi-led@[0-9a-b]$": [all …]
|
H A D | leds-lp55xx.yaml | 1 # 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> 14 Bindings for the TI/National Semiconductor LP55xx and LP8501 multi channel 15 LED Drivers. 27 - national,lp5521 [all …]
|
H A D | leds-mt6360.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-mt6360.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LED driver for MT6360 PMIC from MediaTek Integrated. 10 - Gene Chen <gene_chen@richtek.com> 15 Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, 16 and 4-channel RGB LED support Register/Flash/Breath Mode 20 const: mediatek,mt6360-led 22 "#address-cells": [all …]
|
H A D | leds-qcom-lpg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 20 - enum: 21 - qcom,pm660l-lpg 22 - qcom,pm8150b-lpg 23 - qcom,pm8150l-lpg 24 - qcom,pm8350c-pwm [all …]
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/ |
H A D | phosphor-gpio-monitor_%.bbappend | 3 inherit obmc-phosphor-systemd systemd 6 file://backend-nic-driver-bind \ 7 file://catalina-gpio-monitor \ 8 file://prepare-serv-json \ 9 file://phosphor-multi-gpio-monitor.json \ 10 file://phosphor-multi-gpio-presence.json \ 11 file://phosphor-multi-gpio-monitor-evt.json \ 12 file://phosphor-multi-gpio-presence-evt.json \ 13 file://set-uart-select-led \ 20 SYSTEMD_SERVICE:${PN}-monitor += " \ [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-echo.dts | 1 // 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/linux/drivers/leds/rgb/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 tristate "LEDs group multi-color support" 11 different colors are physically grouped in a single multi-color LED 12 and driven by a controller that doesn't have multi-color support. 15 will be called leds-group-multicolor. 18 tristate "PWM driven multi-color LED Support" 25 will be called leds-pwm-multicolor. 28 tristate "LED support for Qualcomm LPG" 37 a LED, grouped to represent a RGB LED or exposed as PWM channels. 39 If compiled as a module, the module will be named leds-qcom-lpg. [all …]
|
H A D | leds-pwm-multicolor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PWM-based multi-color LED control 5 * Copyright 2022 Sven Schwermer <sven.schwermer@disruptive-technologies.com> 10 #include <linux/led-class-multicolor.h> 42 mutex_lock(&priv->lock); in led_pwm_mc_set() 44 for (i = 0; i < mc_cdev->num_colors; i++) { in led_pwm_mc_set() 45 duty = priv->leds[i].state.period; in led_pwm_mc_set() 46 duty *= mc_cdev->subled_info[i].brightness; in led_pwm_mc_set() 47 do_div(duty, cdev->max_brightness); in led_pwm_mc_set() 49 if (priv->leds[i].active_low) in led_pwm_mc_set() [all …]
|
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-phosphor/gpio/ |
H A D | phosphor-gpio-monitor_%.bbappend | 3 inherit obmc-phosphor-systemd systemd 5 SERVICE_LIST = "power-good-assert@.service \ 6 power-good-deassert@.service \ 7 critical-leak-detect-assert@.service \ 8 leak-detect-assert@.service \ 9 leak-detect-deassert@.service \ 10 rpu-ready-assert@.service \ 11 rpu-ready-deassert@.service \ 12 rack-level-leak@.service \ 13 led-blue-assert@.service \ [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-385-turris-omnia.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Copyright (C) 2016 Uwe Kleine-König <uwe@kleine-koenig.org> 8 * Schematic available at https://www.turris.cz/doc/_media/rtrom01-schema.pdf 11 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/leds/common.h> 16 #include "armada-385.dtsi" 20 compatible = "cznic,turris-omnia", "marvell,armada385", "marvell,armada380"; 23 stdout-path = &uart0; [all …]
|
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-ventura/plat-svc/files/ |
H A D | ventura-init-tray-sgpio-status | 8 systemctl stop phosphor-multi-gpio-monitor 13 # Control compute tray i blue light LED group 25 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 26 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 30 # Control nvs tray j blue light LED group 42 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/nvs""$… 43 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/nvs""$… 47 # Control compute tray i amber light LED group 59 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 60 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/ |
H A D | turris1x.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright 2013 - 2022 CZ.NIC z.s.p.o. (http://www.nic.cz/) 8 * and available at: https://docs.turris.cz/hw/turris-1x/turris-1x/ 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/leds/common.h> 14 /include/ "fsl/p2020si-pre.dtsi" 41 gpio-controller@18 { 45 #gpio-cells = <2>; 46 gpio-controller; [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-lp55xx-common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Derived from leds-lp5521.c, leds-lp5523.c 15 #include <linux/led-class-multicolor.h> 99 * @set_led_current : LED current set function 112 /* set LED brightness */ 113 int (*brightness_fn)(struct lp55xx_led *led); 115 /* set multicolor LED brightness */ 116 int (*multicolor_brightness_fn)(struct lp55xx_led *led); 119 void (*set_led_current) (struct lp55xx_led *led, u8 led_current); 124 /* used for running firmware LED patterns */ [all …]
|
/openbmc/phosphor-buttons/ |
H A D | README.md | 1 # phosphor-buttons 3 Phosphor-buttons has a collection of IO event handler interfaces for physical 8 its associated IO for event changes and emits signals that the button-handler 22 - Short press: Do a host power off 23 - Long press, as determined by the 'long-press-time-ms' meson option: Do a 28 The 'power-button-profile' meson option can be used to select custom power 33 - host_then_chassis_poweroff: When power is on, short presses are ignored and a 38 ### Multi-Host Buttons 40 See [this section below](#group-gpio-config). 46 - If 'reset-button-do-warm-reboot' meson option is set to enabled, does warm [all …]
|
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-ncplite/leds/ncplite-led/ |
H A D | ncplite-led.service | 2 Description=NCPLite Front Panel LED Monitor 6 Restart=on-failure 8 ExecStart=@LIBEXECDIR@/ncplite-led/ncplite-led.sh 9 SyslogIdentifier=ncplite-led 12 WantedBy=multi-user.target
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/ |
H A D | boot-status-led.service | 2 Description=Boot Status LED Manager 3 After=xyz.openbmc_project.LED.GroupManager.service 4 Wants=xyz.openbmc_project.LED.GroupManager.service 7 ExecStart=/usr/bin/boot-status-led.sh 9 Restart=on-failure 12 WantedBy=multi-user.target
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/leds/ |
H A D | phosphor-led-manager_%.bbappend | 1 SYSTEMD_SERVICE:${PN}-faultmonitor:remove = "obmc-fru-fault-monitor.service" 2 SYSTEMD_LINK:${PN}:remove = "../obmc-led-group-start@.service:multi-user.target.wants/obmc-led-grou… 5 SYSTEMD_OVERRIDE:${PN}:remove = "bmc_booted.conf:obmc-led-group-start@bmc_booted.service.d/bmc_boot… 8 FAN_OK_START_INSTFMT="obmc-led-group-start@.service:obmc-led-group-start@fan{0}_ok.service" 11 FAN_FAIL_START_INSTFMT="obmc-led-group-start@.service:obmc-led-group-start@fan{0}_fail.service" 14 FAN_OK_STOP_INSTFMT="obmc-led-group-stop@.service:obmc-led-group-stop@fan{0}_ok.service" 17 FAN_FAIL_STOP_INSTFMT="obmc-led-group-stop@.service:obmc-led-group-stop@fan{0}_fail.service"
|
/openbmc/linux/Documentation/sound/hd-audio/ |
H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
/openbmc/phosphor-led-sysfs/systemd/system/ |
H A D | phosphor-ledcontroller.service | 2 Description=Phosphor Sysfs LED Controller 6 ExecStart=/usr/libexec/phosphor-led-sysfs/phosphor-ledcontroller 8 BusName=xyz.openbmc_project.LED.Controller 11 WantedBy=multi-user.target
|