Home
last modified time | relevance | path

Searched +full:trigger +full:- +full:sources (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm4708-smartrg-sr400ac.dts1 // 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 Dbcm47081-tplink-archer-c5-v2.dts1 // 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 Dbcm4709-tplink-archer-c9-v1.dts1 // 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 Dbcm47094-asus-rt-ac3100.dtsi1 // 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 …]
H A Dbcm47094-dlink-dir-890l.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Device tree for D-Link DIR-890L
4 * D-Link calls this board "WRGAC36"
5 * this router has the same looks and form factor as D-Link DIR-885L.
7 * Some differences from DIR-885L include a separate USB2 port, separate LEDs
13 * Based on the device tree for DIR-885L
18 /dts-v1/;
21 #include "bcm5301x-nand-cs0-bch1.dtsi"
24 compatible = "dlink,dir-890l", "brcm,bcm47094", "brcm,bcm4708";
25 model = "D-Link DIR-890L";
[all …]
H A Dbcm47094-linksys-panamera.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
9 #include "bcm5301x-nand-cs0-bch8.dtsi"
30 gpio-keys {
31 compatible = "gpio-keys";
33 button-wps {
39 button-rfkill {
45 button-reset {
53 compatible = "gpio-leds";
55 led-wps {
[all …]
H A Dbcm47081-luxul-xwr-1200.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
9 #include "bcm5301x-nand-cs0-bch4.dtsi"
12 compatible = "luxul,xwr-1200-v1", "brcm,bcm47081", "brcm,bcm4708";
13 model = "Luxul XWR-1200 V1";
29 #nvmem-cell-cells = <1>;
34 compatible = "gpio-leds";
36 led-power {
39 linux,default-trigger = "default-on";
42 led-lan3 {
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-lm3697.txt1 * Texas Instruments - LM3697 Highly Efficient White LED Driver
3 The LM3697 11-bit LED driver provides high-
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
22 1 - LED is Controlled by bank B
[all …]
H A Dcommon.yaml1 # 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>
25 led-sources:
30 $ref: /schemas/types.yaml#/definitions/uint32-array
35 from the header include/dt-bindings/leds/common.h. If there is no
42 the header include/dt-bindings/leds/common.h. If there is no matching
48 function-enumerator:
[all …]
H A Dleds-lm36274.txt1 * 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.
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
19 - #size-cells : 0
[all …]
H A Dtrigger-source.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/trigger-source.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Trigger source providers
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
14 Each trigger source provider should be represented by a device tree node. It
18 '#trigger-source-cells':
20 Number of cells in a source trigger. Typically 0 for nodes of simple
[all …]
H A Dleds-lm3532.txt1 * 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
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.
23 - ramp-up-us - The Run time ramp rates/step are from one current
[all …]
/openbmc/linux/drivers/usb/core/
H A Dledtrig-usbport.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB port LED trigger
38 * usbport_trig_usb_dev_observed - Check if dev is connected to observed port
45 if (!usb_dev->parent) in usbport_trig_usb_dev_observed()
48 list_for_each_entry(port, &usbport_data->ports, list) { in usbport_trig_usb_dev_observed()
49 if (usb_dev->parent == port->hub && in usbport_trig_usb_dev_observed()
50 usb_dev->portnum == port->portnum) in usbport_trig_usb_dev_observed()
51 return port->observed; in usbport_trig_usb_dev_observed()
62 usbport_data->count++; in usbport_trig_usb_dev_check()
68 * usbport_trig_update_count - Recalculate amount of connected matching devices
[all …]
/openbmc/linux/drivers/power/reset/
H A Datc260x-poweroff.c1 // SPDX-License-Identifier: GPL-2.0+
31 /* S4-Deep Sleep Mode is NOT available for WALL/USB power */ in atc2603c_do_poweroff()
34 dev_info(pwrc->dev, "Enabling S4-Deep Sleep Mode"); in atc2603c_do_poweroff()
37 /* Update wakeup sources */ in atc2603c_do_poweroff()
42 ret = regmap_update_bits(pwrc->regmap, ATC2603C_PMU_SYS_CTL0, in atc2603c_do_poweroff()
45 dev_warn(pwrc->dev, "failed to write SYS_CTL0: %d\n", ret); in atc2603c_do_poweroff()
50 ret = regmap_update_bits(pwrc->regmap, ATC2603C_PMU_SYS_CTL3, reg_mask, in atc2603c_do_poweroff()
53 dev_err(pwrc->dev, "failed to write SYS_CTL3: %d\n", ret); in atc2603c_do_poweroff()
57 /* Trigger poweroff / restart sequence */ in atc2603c_do_poweroff()
62 ret = regmap_update_bits(pwrc->regmap, in atc2603c_do_poweroff()
[all …]
/openbmc/debug-trigger/
H A DREADME.md1 # BMC Debug Trigger
3 `debug-trigger` listens for an external signal that the BMC is in some way
7 ## Trigger sources
9 `debug-trigger` implements a simple protocol over an LPC KCS device as its
10 trigger source.
14 `debug-trigger` implements a single action once the trigger event is received,
15 which is to crash the kernel via `/proc/sysrq-trigger`. For systems with kdump
/openbmc/linux/include/uapi/linux/
H A Dcomedi.h1 /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */
6 * COMEDI - Linux Control and Measurement Device Interface
7 * Copyright (C) 1998-2001 David A. Schleef <ds@schleef.org>
32 * NOTE: 'comedi_config --init-data' is deprecated
40 /* length of nth chunk of firmware data -*/
78 /* counters -- these are arbitrary values */
120 /* try to use a real-time interrupt while performing command */
123 /* wake up on end-of-scan events */
154 /* trigger sources */
159 #define TRIG_NONE 0x00000001 /* never trigger */
[all …]
/openbmc/linux/arch/arm64/boot/dts/broadcom/bcmbca/
H A Dbcm4906-netgear-r8000p.dts1 // 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 Dbcm4906-tplink-archer-c2300-v1.dts1 // 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 …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-stm325 The STM32 ADC can be configured to use external trigger sources
7 conversions on external trigger by either:
9 - "rising-edge"
10 - "falling-edge"
11 - "both-edges".
13 Reading returns current trigger polarity.
15 Writing value before enabling conversions sets trigger polarity.
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_pfvf.c1 // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
55 u32 sources, disabled, pending; in adf_gen4_disable_pending_vf2pf_interrupts() local
57 /* Get the interrupt sources triggered by VFs */ in adf_gen4_disable_pending_vf2pf_interrupts()
58 sources = ADF_CSR_RD(pmisc_addr, ADF_4XXX_VM2PF_SOU); in adf_gen4_disable_pending_vf2pf_interrupts()
59 if (!sources) in adf_gen4_disable_pending_vf2pf_interrupts()
65 pending = sources & ~disabled; in adf_gen4_disable_pending_vf2pf_interrupts()
70 * just disable the requested sources, as this would lead to missed in adf_gen4_disable_pending_vf2pf_interrupts()
72 * To work around it, disable all and re-enable only the sources that in adf_gen4_disable_pending_vf2pf_interrupts()
73 * are not in vf_mask and were not already disabled. Re-enabling will in adf_gen4_disable_pending_vf2pf_interrupts()
74 * trigger a new interrupt for the sources that have changed in the in adf_gen4_disable_pending_vf2pf_interrupts()
[all …]
/openbmc/linux/Documentation/timers/
H A Dtimekeeping.rst2 Clock sources, Clock events, sched_clock() and delay timers
10 If you grep through the kernel source you will find a number of architecture-
11 specific implementations of clock sources, clockevents and several likewise
12 architecture-specific overrides of the sched_clock() function and some
17 on this timeline, providing facilities such as high-resolution timers.
22 Clock sources
23 -------------
31 n bits which count from 0 to (2^n)-1 and then wraps around to 0 and start over.
36 shall be as stable and correct as possible as compared to a real-world wall
46 When the wall-clock accuracy of the clock source isn't satisfactory, there
[all …]
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-c200-v1.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2021-2022 Pawel Dembicki <paweldembicki@gmail.com>
7 /dts-v1/;
10 #include "kirkwood-6281.dtsi"
11 #include <dt-bindings/leds/common.h>
15 compatible = "ctera,c200-v1", "marvell,kirkwood-88f6281", "marvell,kirkwood";
19 stdout-path = &uart0;
28 compatible = "gpio-keys";
29 pinctrl-0 = <&pmx_buttons>;
30 pinctrl-names = "default";
[all …]
H A Dkirkwood-l-50.dts1 // 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 …]
/openbmc/linux/Documentation/iio/
H A Diio_configfs.rst8 Configfs is a filesystem-based manager of kernel objects. IIO uses some
24 $ mount -t configfs none /config
38 trigger types. A new trigger type is usually implemented as a separate
42 * drivers/iio/trigger/iio-trig-sample.c
43 * sample kernel module implementing a new trigger type
51 * This allocates and registers an IIO trigger plus other
52 * trigger type specific initialization.
69 .name = "trig-sample",
76 Each trigger type has its own directory under /config/iio/triggers. Loading
77 iio-trig-sample module will create 'trig-sample' trigger type directory
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/
H A Darcxcnn_bl.txt4 - 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
18 - arc,filter-config: setting for register FILTER_CONFIG
[all …]

12345678910>>...15