Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/linux/Documentation/leds/
H A Dleds-class-flash.rst2 Flash LED handling under Linux
5 Some LED devices provide two modes - torch and flash. In the LED subsystem
6 those modes are supported by LED class (see Documentation/leds/leds-class.rst)
7 and LED Flash class respectively. The torch mode related features are enabled
11 In order to enable the support for flash LEDs CONFIG_LEDS_CLASS_FLASH symbol
12 must be defined in the kernel config. A LED Flash class driver must be
13 registered in the LED subsystem with led_classdev_flash_register function.
15 Following sysfs attributes are exposed for controlling flash LED devices:
16 (see Documentation/ABI/testing/sysfs-class-led-flash)
18 - flash_brightness
[all …]
H A Dleds-class-multicolor.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Multicolor LED handling under Linux
17 array. These files are children under the LED parent node created by the
18 led_class framework. The led_class framework is documented in led-class.rst
21 Each colored LED will be indexed under the multi_* files. The order of the
30 order for the color LED intensities to be updated.
34 root:/sys/class/leds/multicolor:status# ls -lR
35 -rw-r--r-- 1 root root 4096 Oct 19 16:16 brightness
36 -r--r--r-- 1 root root 4096 Oct 19 16:16 max_brightness
37 -r--r--r-- 1 root root 4096 Oct 19 16:16 multi_index
[all …]
H A Dleds-qcom-lpg.rst1 .. SPDX-License-Identifier: GPL-2.0
8 -----------
11 number of PWM channels, a programmable pattern lookup table and a RGB LED
22 In order to provide support for status notifications with the CPU subsystem in
30 /sys/class/leds/<led>/hw_pattern
31 --------------------------------
33 Specify a hardware pattern for a Qualcomm LPG LED.
35 The pattern is a series of brightness and hold-time pairs, with the hold-time
39 transitions expected by the leds-trigger-pattern format, each entry in the
40 pattern must be followed a zero-length entry of the same brightness.
[all …]
/openbmc/linux/Documentation/driver-api/gpio/
H A Dboard.rst7 Note that it only applies to the new descriptor-based interface. For a
8 description of the deprecated integer-based GPIO interface please refer to
20 -----------
26 <function>-gpios, where <function> is the function the driver will request
32 led-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>, /* red */
36 power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
39 Properties named <function>-gpio are also considered valid and old bindings use
44 "led" function, and GPIO 1 as the "power" GPIO::
48 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
49 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-ns2.txt1 Binding for dual-GPIO LED found on Network Space v2 (and parents).
4 - compatible: "lacie,ns2-leds".
6 Each LED is represented as a sub-node of the ns2-leds device.
8 Required sub-node properties:
9 - cmd-gpio: Command LED GPIO. See OF device-tree GPIO specification.
10 - slow-gpio: Slow LED GPIO. See OF device-tree GPIO specification.
11 - modes-map: A mapping between LED modes (off, on or SATA activity blinking) and
12 the corresponding cmd-gpio/slow-gpio values. All the GPIO values combinations
13 should be given in order to avoid having an unknown mode at driver probe time.
15 Optional sub-node properties:
[all …]
H A Dskyworks,aat1290.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
16 respectively. In order to add a capability of selecting the strobe signal
24 enset-gpios:
28 flen-gpios:
32 led:
37 led-max-microamp: true
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-led-multicolor2 What: /sys/class/leds/<led>/multi_index
7 The multi_index array, when read, will output the LED colors
12 Documentation/leds/leds-class-multicolor.rst.
14 What: /sys/class/leds/<led>/multi_intensity
19 This file contains array of integers. Order of components is
21 not exceed /sys/class/leds/<led>/max_brightness.
24 Documentation/leds/leds-class-multicolor.rst.
H A Dsysfs-class-scsi_host7 Storage Control Unit embeds up to two 4-port controllers in
8 a single PCI device. The controllers are enumerated in order
34 Contact: linux-ide@vger.kernel.org
60 a) It does not use host-initiated slumber mode, but it does
61 allow device-initiated slumber
68 Contact: linux-ide@vger.kernel.org
70 em_message: (RW) Enclosure management support. For the LED
71 protocol, writes and reads correspond to the LED message format
75 OFF it they wish to control the activity LED via the em_message
79 protocol that is being used by the driver (for eg. LED, SAF-TE,
[all …]
/openbmc/phosphor-led-manager/
H A DREADME.md1 # phosphor-led-manager
3 This project manages LED groups on dbus. Sometimes many LEDs must be driven
13 ### Configuration: LED Priority
15 Each LED can have "Priority" as "Blink", "Off" or "On". If this property is
16 defined, it should be defined on each instance of the LED in the config.
18 When multiple LED groups are asserted and contain the same LED, "Priority"
19 determines the state of the LED.
24 ## Configuration: LED Group Priority
26 Using LED Priority is fine for simple configurations, but when group state needs
39 So independent of the order that these groups are asserted, if both are
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/
H A Dmediatek,mt76.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Felix Fietkau <nbd@nbd.name>
12 - Lorenzo Bianconi <lorenzo@kernel.org>
13 - Ryder Lee <ryder.lee@mediatek.com>
23 - $ref: ieee80211.yaml#
28 - mediatek,mt76
29 - mediatek,mt7628-wmac
[all …]
/openbmc/linux/Documentation/admin-guide/media/
H A Dphilips.rst1 .. SPDX-License-Identifier: GPL-2.0
7 E-mail: webcam@smcc.demon.nl Last updated: 2004-01-19
30 * Samsung MPC-C10
31 * Samsung MPC-C30
33 * AME CU-001
34 * Visionite VCS-UM100
35 * Visionite VCS-UC300
46 the latter, since it makes troubleshooting a lot easier. The built-in
50 camera; some programs depend on a particular image-size or -format and
60 Specifies the desired framerate. Is an integer in the range of 4-30.
[all …]
/openbmc/linux/drivers/mfd/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 tristate "Active-semi ACT8945A"
50 Support for the ACT8945A PMIC from Active-semi. This device
51 features three step-down DC/DC converters and four low-dropout
67 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
70 called sun4i-gpadc.
101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
123 additional drivers must be enabled in order to use the
132 over at91-usart-serial driver and usart-spi-driver. Only one function
148 tristate "Atmel HLCDC (High-end LCD Controller)"
[all …]
/openbmc/linux/Documentation/devicetree/bindings/ata/
H A Dsata_highbank.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Andre Przywara <andre.przywara@arm.com>
19 const: calxeda,hb-ahci
27 dma-coherent: true
29 calxeda,pre-clocks:
35 calxeda,post-clocks:
41 calxeda,led-order:
43 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/openbmc/linux/arch/arm/boot/dts/broadcom/
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
11 * order.
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";
[all …]
/openbmc/phosphor-led-manager/manager/
H A Djson-config.hpp3 #include <phosphor-logging/lg2.hpp>
14 namespace led namespace
17 static constexpr auto confFileName = "led-group-config.json";
18 static constexpr auto confOverridePath = "/etc/phosphor-led-manager";
19 static constexpr auto confBasePath = "/usr/share/phosphor-led-manager";
31 * will watch entity-manager for the
34 * @param[in] bus - The D-Bus object
35 * @param[in] event - sd event handler
66 * @param[in] names - Vector of the confCompatible Property
68 * @return - True or False
[all …]
H A Dmanager.cpp5 #include <phosphor-logging/lg2.hpp>
7 #include <xyz/openbmc_project/Led/Physical/server.hpp>
14 namespace led namespace
17 // apply the led action to the map
44 -> std::map<LedName, Layout::LedAction> in getNewMapWithGroupPriorities()
51 // apply all led actions of that group to the map in getNewMapWithGroupPriorities()
52 for (const Layout::LedAction& action : it->actionSet) in getNewMapWithGroupPriorities()
67 // apply all led actions of that group to the map in getNewMapWithLEDPriorities()
68 for (const Layout::LedAction& action : it->actionSet) in getNewMapWithLEDPriorities()
90 if (it->priority != 0) in getNewMap()
[all …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xx-dhcom-picoitx.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pwm/pwm.h>
17 stdout-path = "serial0:115200n8";
20 led {
21 compatible = "gpio-leds";
23 led-0 {
24 label = "yellow:led";
26 default-state = "off";
47 * in order to turn on port power when USB bus is powered up, but so
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88x201x.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. *
35 * twice in order to get the right values. Future * revisions will fix
42 /* Setup the LED registers so we can turn on/off. in led_init()
52 u32 led = 0; in led_link() local
55 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, &led); in led_link()
58 led |= LINK_ENABLE_BIT; in led_link()
59 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
61 led &= ~LINK_ENABLE_BIT; in led_link()
62 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
[all …]
/openbmc/u-boot/board/mscc/ocelot/
H A Docelot.c1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 #include <led.h>
38 * not reset) (Order is important) in mscc_switch_reset()
61 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE; in board_early_init_r()
63 /* LED setup */ in board_early_init_r()
78 gd->board_type = BOARD_TYPE_PCB120; in do_board_detect()
80 gd->board_type = BOARD_TYPE_PCB123; in do_board_detect()
86 if (gd->board_type == BOARD_TYPE_PCB120 && in board_fit_config_name_match()
90 if (gd->board_type == BOARD_TYPE_PCB123 && in board_fit_config_name_match()
94 return -1; in board_fit_config_name_match()
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-devattr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 #include "pvrusb2-dvb.h"
35 /* Null-terminated array of I2C addresses to try in order
38 address of zero. If this is a null pointer or zero-length,
69 #define PVR2_IR_SCHEME_24XXX 1 /* FX2-controlled IR */
70 #define PVR2_IR_SCHEME_ZILOG 2 /* HVR-1950 style (must be taken out of reset) */
76 constraints). See the top of pvrusb2-hdw.c for where this is
115 interpreted by logic which must send commands to the chip-level
119 /* Indicates scheme for controlling device's LED (if any). The
120 driver will turn on the LED when streaming is underway. This
[all …]
/openbmc/linux/arch/mips/include/asm/mach-ath25/
H A Dath25_platform.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * This is board-specific data that is stored in a "fixed" location in flash.
10 * The main reason we need it is in order to extract the ethernet MAC
28 #define BD_SYSLED 0x00000020 /* System LED stuffed */
42 u16 sys_led_gpio; /* System LED GPIO pin */
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-d4xx.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _v4l2-meta-fmt-d4xx:
15 Intel D4xx (D435, D455 and others) cameras include per-frame metadata in their UVC
32 where all fields are in little endian order:
37 .. flat-table:: D4xx metadata
39 :header-rows: 1
40 :stub-columns: 0
42 * - **Field**
43 - **Description**
44 * - :cspan:`1` *Depth Control*
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.h1 /* Copyright 2008-2013 Broadcom Corporation
8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
83 #define SINGLE_MEDIA_DIRECT(params) (params->num_phys == 1)
85 #define SINGLE_MEDIA(params) (params->num_phys == 2)
87 #define DUAL_MEDIA(params) (params->num_phys == 3)
119 #define LINK_CONFIG_SIZE (MAX_PHYS - 1)
121 0 : (_phy_idx - 1))
157 /* No Over-Current detection */
226 /* Set link led mode (on/off/oper)*/
296 * operation, according to bits 29:28 -
[all …]
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dat91-sama5d27_wlsom1_ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_wlsom1_ek.dts - Device Tree file for SAMA5D27 WLSOM1 EK
9 /dts-v1/;
10 #include "at91-sama5d27_wlsom1.dtsi"
11 #include <dt-bindings/input/input.h>
15 …compatible = "microchip,sama5d27-wlsom1-ek", "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel…
26 stdout-path = "serial0:115200n8";
29 gpio-keys {
30 compatible = "gpio-keys";
32 pinctrl-names = "default";
[all …]
/openbmc/linux/drivers/parisc/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile PCI and non-PCI devices in PA-RISC machines
5 # Keep the order below, e.g.
6 # - ccio before any potential subdevices
7 # - gsc is required before lasi and wax
8 # - asp and wax before the EISA adapters for the IRQ regions
9 # - EISA must come before PCI to be sure it gets IRQ region
12 obj-$(CONFIG_IOSAPIC) += iosapic.o
13 obj-$(CONFIG_IOMMU_SBA) += sba_iommu.o
14 obj-$(CONFIG_PCI_LBA) += lba_pci.o
[all …]

12345678910>>...14