Home
last modified time | relevance | path

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

12345678910>>...13

/linux/arch/arm/boot/dts/microchip/
H A Dat91sam9g25-gardena-smart-gateway.dts1 // SPDX-License-Identifier: GPL-2.0+
8 /dts-v1/;
12 #include <dt-bindings/input/input.h>
16 compatible = "gardena,smart-gateway-at91sam", "atmel,at91sam9g25", "atmel,at91sam9x5",
23 gpio-keys {
24 compatible = "gpio-keys";
38 compatible = "gpio-leds";
40 led-power-blue {
43 default-state = "off";
46 led-power-green {
[all …]
H A Dat91-sama5d4_ma5d4evk.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
7 #include "at91-sama5d4_ma5d4.dtsi"
14 stdout-path = "serial3:115200n8";
19 atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&pinctrl_usba_vbus>;
26 num-ports = <3>;
27 atmel,vbus-gpio = <0
42 hlcdc-display-controller {
[all …]
H A Dat91-kizbox.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-kizbox.dts - Device Tree file for Overkiz Kizbox board
5 * Copyright (C) 2012-2014 Boris BREZILLON <b.brezillon@overkiz.com>
6 * 2014-2015 Gaël PORTAY <g.portay@overkiz.com>
8 /dts-v1/;
10 #include <dt-bindings/pwm/pwm.h>
18 stdout-path = &dbgu;
27 clock-frequency = <18432000>;
31 gpio-keys {
32 compatible = "gpio-keys";
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam572x-idk-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include "am57xx-idk-common.dtsi"
9 #include "dra74-ipu-dsp-common.dtsi"
17 reserved-memory {
18 #address-cells = <2>;
19 #size-cells = <2>;
22 ipu2_memory_region: ipu2-memory@95800000 {
[all …]
H A Dam571x-idk.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dra7-mmc-iodelay.dtsi"
11 #include "dra72x-mmc-iodelay.dtsi"
12 #include "am57xx-idk-common.dtsi"
13 #include "dra7-ipu-dsp-common.dtsi"
17 compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
[all …]
H A Domap5-uevm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
7 #include "omap5-board-common.dtsi"
11 compatible = "ti,omap5-uevm", "ti,omap5";
18 reserved-memory {
19 #address-cells = <2>;
20 #size-cells = <2>;
23 dsp_memory_region: dsp-memory@95000000 {
24 compatible = "shared-dma-pool";
[all …]
H A Domap3-overo-palo43-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "omap3-overo-common-peripherals.dtsi"
11 #include "omap3-overo-common-lcd43.dtsi"
13 #include <dt-bindings/input/input.h>
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&led_pins>;
20 led-heartbeat {
23 linux,default-trigger = "heartbeat";
25 led-gpio22 {
[all …]
H A Domap3-overo-palo35-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "omap3-overo-common-peripherals.dtsi"
11 #include "omap3-overo-common-lcd35.dtsi"
13 #include <dt-bindings/input/input.h>
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&led_pins>;
20 led-heartbeat {
23 linux,default-trigger = "heartbeat";
25 led-gpio22 {
[all …]
H A Domap3-overo-gallop43-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "omap3-overo-common-peripherals.dtsi"
11 #include "omap3-overo-common-lcd43.dtsi"
13 #include <dt-bindings/input/input.h>
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&led_pins>;
20 led-heartbeat {
23 linux,default-trigger = "heartbeat";
25 led-gpio22 {
[all …]
H A Domap3-overo-chestnut43-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "omap3-overo-common-peripherals.dtsi"
11 #include "omap3-overo-common-lcd43.dtsi"
13 #include <dt-bindings/input/input.h>
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&led_pins>;
20 led-heartbeat {
23 linux,default-trigger = "heartbeat";
25 led-gpio22 {
[all …]
H A Domap3-overo-summit-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "omap3-overo-common-peripherals.dtsi"
11 #include "omap3-overo-common-dvi.dtsi"
15 compatible = "gpio-leds";
16 pinctrl-names = "default";
17 pinctrl-0 = <&led_pins>;
18 led-heartbeat {
21 linux,default-trigger = "heartbeat";
/linux/Documentation/devicetree/bindings/leds/
H A Dregulator-led.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/regulator-led.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
20 - $ref: common.yaml#
24 pattern: '^led.*$'
27 const: regulator-led
29 vled-supply:
31 The regulator controlling the current to the LED.
[all …]
H A Dpanasonic,an30259a.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Panasonic AN30259A 3-channel LED controller
10 - Iskren Chernev <me@iskren.info>
13 The AN30259A is a LED controller capable of driving three LEDs independently.
27 "#address-cells":
30 "#size-cells":
34 "^led@[1-3]$":
43 - compatible
[all …]
/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-wpcm450-supermicro-x9sci-ln4f.dts1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 /dts-v1/;
9 #include "nuvoton-wpcm450.dtsi"
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/gpio/gpio.h>
15 model = "Supermicro X9SCi-LN4F BMC";
16 compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450";
24 stdout-path = "serial0:115200n8";
32 gpio-keys {
33 compatible = "gpio-keys";
[all …]
/linux/arch/sh/drivers/
H A Dheartbeat.c1 // SPDX-License-Identifier: GPL-2.0
3 * Generic heartbeat driver for regular LED banks
5 * Copyright (C) 2007 - 2010 Paul Mundt
8 * be independently controlled (either via a pre-defined hardware
9 * function or via the LED class, if desired -- the hardware tends to
10 * encapsulate some of the same "triggers" that the LED class supports,
13 * Additionally, most of these boards also have a LED bank that we've
15 * handled by this driver, rather than giving each LED bit position its
25 #include <asm/heartbeat.h>
27 #define DRV_NAME "heartbeat"
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
7 config HEARTBEAT config
8 bool "Heartbeat LED"
10 Use the power-on LED on your machine as a load meter. The exact
11 behavior is platform-dependent, but normally the flash frequency is
12 a hyperbolic function of the 5-minute load average.
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-seeed-npi-dev-board.dtsi1 // SPDX-License-Identifier: GPL-2.0
7 #include <dt-bindings/gpio/gpio.h>
11 stdout-path = &uart1;
14 gpio_buttons: gpio-keys {
15 compatible = "gpio-keys";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_button>;
19 button-0 {
23 wakeup-source;
27 gpio-leds {
[all …]
H A Dimx7d-flex-concentrator.dts1 // 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/arch/arm/boot/dts/nxp/mxs/
H A Dimx28-sps1.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
11 compatible = "schulercontrol,imx28-sps1", "fsl,imx28";
18 reg_usb0_vbus: regulator-0 {
19 compatible = "regulator-fixed";
20 regulator-name = "usb0_vbus";
21 regulator-min-microvolt = <5000000>;
22 regulator-max-microvolt = <5000000>;
27 compatible = "gpio-leds";
30 led-1 {
[all …]
/linux/arch/arm/boot/dts/intel/socfpga/
H A Dsocfpga_cyclone5_socrates.dts1 // SPDX-License-Identifier: GPL-2.0+
10 compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga";
18 stdout-path = "serial0:115200n8";
27 leds: gpio-leds {
32 phy-mode = "rgmii";
54 compatible = "gpio-leds";
57 label = "led:green:heartbeat";
59 linux,default-trigger = "heartbeat";
63 label = "led:green:D7";
68 label = "led:green:D8";
[all …]
/linux/arch/m68k/
H A DKconfig.devices1 # SPDX-License-Identifier: GPL-2.0
11 config HEARTBEAT config
12 bool "Use power LED as a heartbeat" if AMIGA || APOLLO || ATARI || Q40
15 Use the power-on LED on your machine as a load meter. The exact
16 behavior is platform-dependent, but normally the flash frequency is
17 a hyperbolic function of the 5-minute load average.
19 # We have a dedicated heartbeat LED. :-)
102 If you want to use your Amiga's built-in serial port in Linux,
/linux/drivers/leds/trigger/
H A Dledtrig-heartbeat.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * LED Heartbeat Trigger
7 * Based on Richard Purdie's ledtrig-timer.c and some arch's
41 led_cdev = heartbeat_data->led_cdev; in led_heartbeat_function()
48 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_heartbeat_function()
49 led_cdev->blink_brightness = led_cdev->new_blink_brightness; in led_heartbeat_function()
51 /* acts like an actual heart beat -- ie thump-thump-pause... */ in led_heartbeat_function()
52 switch (heartbeat_data->phase) { in led_heartbeat_function()
56 * heartbeat period length in dependency of the in led_heartbeat_function()
58 * f(0)=1260, f(1)=860, f(5)=510, f(inf)->300. in led_heartbeat_function()
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos54xx-odroidxu-leds.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel Odroid XU/XU3 LED device tree source
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/leds/common.h>
15 led-controller-1 {
16 compatible = "pwm-leds";
18 led-1 {
23 pwm-names = "pwm1";
25 * Green LED is much brighter than the others
28 max-brightness = <127>;
[all …]
/linux/Documentation/leds/
H A Dleds-blinkm.rst5 The leds-blinkm driver supports the devices of the BlinkM family.
7 They are RGB-LED modules driven by a (AT)tiny microcontroller and
10 daisy-chain up to 127 BlinkMs on an I2C bus.
16 The interface this driver provides is 3-fold:
18 a) LED multicolor class interface for use with triggers
23 blinkm-<i2c-bus-nr>-<i2c-device-nr>:rgb:indicator
25 $ ls -h /sys/class/leds/blinkm-1-9:rgb:indicator
40 b) LED class interface for use with triggers
45 blinkm-<i2c-bus-nr>-<i2c-device-nr>-<color>
47 $ ls -h /sys/class/leds/blinkm-6-*
[all …]
/linux/arch/parisc/include/asm/
H A Dled.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #define LED7 0x80 /* top (or furthest right) LED */
12 #define LED0 0x01 /* bottom (or furthest left) LED */
17 #define LED_HEARTBEAT LED3 /* heartbeat */
20 #define DISPLAY_MODEL_LCD 0 /* KittyHawk LED or LCD */
21 #define DISPLAY_MODEL_NONE 1 /* no LED or LCD */
22 #define DISPLAY_MODEL_LASI 2 /* LASI style 8 bit LED */
23 #define DISPLAY_MODEL_OLD_ASP 0x7F /* faked: ASP style 8 x 1 bit LED (only very old ASP versions) */

12345678910>>...13