Home
last modified time | relevance | path

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

12345678910>>...12

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/
H A Dleds-class-multicolor.yaml1 # 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 - Dan Murphy <dmurphy@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 Dleds-lp50xx.yaml1 # 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 - Dan Murphy <dmurphy@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 Dcznic,turris-omnia-leds.yaml1 # 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 <marek.behun@nic.cz>
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 Dleds-lp55xx.yaml1 # 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 Dleds-pm8058.txt1 Qualcomm PM8058 LED driver
3 The Qualcomm PM8058 is a multi-functional device which contains
4 an LED driver block for up to six LEDs: three normal LEDs, two
5 "flash" LEDs and one "keypad backlight" LED. The names are
6 quoted because sometimes these LED drivers are used for wildly
8 are more of a suggestion than a hard-wired usecase.
10 Hardware-wise the different LEDs support slightly different
12 do they support external triggers. They are just powerful LED
17 mfd/qcom-pm8xxx.txt.
19 Each LED is represented as a sub-node of the syscon device. Each
[all …]
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-lp55xx-common.h1 /* 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 …]
/OK3568_Linux_fs/kernel/Documentation/sound/hd-audio/
H A Dmodels.rst2 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 …]
/OK3568_Linux_fs/u-boot/board/iomega/iconnect/
H A Diconnect.c2 * Copyright (C) 2009-2012
6 * SPDX-License-Identifier: GPL-2.0+
23 * the below configuration configures mainly initial LED status in board_early_init_f()
29 /* Multi-Purpose Pins Functionality configuration */ in board_early_init_f()
72 MPP41_GPIO, /* LED brightness */ in board_early_init_f()
73 MPP42_GPIO, /* LED power (blue) */ in board_early_init_f()
74 MPP43_GPIO, /* LED power (red) */ in board_early_init_f()
75 MPP44_GPIO, /* LED USB 1 */ in board_early_init_f()
76 MPP45_GPIO, /* LED USB 2 */ in board_early_init_f()
77 MPP46_GPIO, /* LED USB 3 */ in board_early_init_f()
[all …]
/OK3568_Linux_fs/kernel/drivers/leds/trigger/
H A Dledtrig-multi-control.c2 * LED Kernel Multi-Control Trigger
4 * Control multi leds at one time using ioctl from userspace.
6 * Copyright 2017 Allen Zhang <zwp@rock-chips.com>
8 * Based on Richard Purdie's ledtrig-timer.c.
25 #include "../leds-multi.h"
65 "default-on",
78 u64 ret_bitmap = bitmap & (bits(led_num) - 1); in multi_ctrl_calc_next_scroll_bitmap()
80 if (bitmap > (bits(led_num) - 1)) in multi_ctrl_calc_next_scroll_bitmap()
95 if (!multi_ctrl_scroll_info->data_valid) { in multi_ctrl_scroll_work_fn()
96 update_bits = bits(led_num) - 1; in multi_ctrl_scroll_work_fn()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "64-bit kernel" if "$(ARCH)" = "sparc"
10 Say yes to build a 64-bit kernel - formerly known as sparc64
11 Say no to build a 32-bit kernel - formerly known as sparc
164 bool "Symmetric multi-processing support"
170 If you say N here, the kernel will run on uni- and multiprocessor
180 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
233 bool "Support for hot-pluggable CPUs"
245 tristate "UltraSPARC-III Memory Controller driver"
249 This adds a driver for the UltraSPARC-III memory controller.
[all …]
/OK3568_Linux_fs/u-boot/board/raidsonic/ib62x0/
H A Dib62x0.c2 * Copyright (C) 2011-2012
7 * SPDX-License-Identifier: GPL-2.0+
25 * the below configuration configures mainly initial LED status in board_early_init_f()
33 /* Multi-Purpose Pins Functionality configuration */ in board_early_init_f()
50 MPP22_GPIO, /* Power LED red */ in board_early_init_f()
52 MPP25_GPIO, /* Power LED green */ in board_early_init_f()
53 MPP27_GPIO, /* USB transfer LED */ in board_early_init_f()
65 gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100; in board_init()
/OK3568_Linux_fs/kernel/Documentation/leds/
H A Dwell-known-leds.txt1 -*- org -*-
4 userland. LED devices have one problem there, and that is naming of
6 just know right "name" for given LED function, but situation got more
17 Notice there's a list of functions in include/dt-bindings/leds/common.h .
24 player. For example, a game controller with 4 LEDs, may be programmed with "x---"
25 to indicate player 1, "-x--" to indicate player 2 etcetera where "x" means on.
26 Input drivers can utilize the LED class to expose the individual player LEDs
31 Good: "input*:*:player-{1,2,3,4,5}
38 Legacy: "shift-key-light" (Motorola Droid 4, capslock)
47 Legacy: "button-backlight" (Motorola Droid 4)
[all …]
/OK3568_Linux_fs/u-boot/board/d-link/dns325/
H A Ddns325.c8 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
10 * SPDX-License-Identifier: GPL-2.0+
30 /* Multi-Purpose Pins Functionality configuration */ in board_early_init_f()
52 MPP20_SATA1_ACTn, /* sata1(left) status led */ in board_early_init_f()
53 MPP21_SATA0_ACTn, /* sata0(right) status led */ in board_early_init_f()
58 MPP26_GPIO, /* power led */ in board_early_init_f()
59 MPP27_GPIO, /* sata0(right) error led */ in board_early_init_f()
60 MPP28_GPIO, /* sata1(left) error led */ in board_early_init_f()
61 MPP29_GPIO, /* usb error led */ in board_early_init_f()
75 MPP43_GPIO, /* usb status led */ in board_early_init_f()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dusb251xb.txt1 Microchip USB 2.0 Hi-Speed Hub Controller
4 Hi-Speed Controller.
7 - compatible : Should be "microchip,usb251xb" or one of the specific types:
11 - reg : I2C address on the selected bus (default is <0x2C>)
14 - reset-gpios : Should specify the gpio for hub reset
15 - vdd-supply : Should specify the phandle to the regulator supplying vdd
16 - skip-config : Skip Hub configuration, but only send the USB-Attach command
17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
[all …]
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A Dintel-xway.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (C) 2016 Hauke Mehrtens <hauke@hauke-m.de>
14 #define XWAY_MDIO_LED 0x1B /* led control */
27 #define XWAY_MDIO_INIT_WOL BIT(15) /* Wake-On-LAN */
31 #define XWAY_MDIO_INIT_ANE BIT(11) /* Auto-Neg error */
32 #define XWAY_MDIO_INIT_ANC BIT(10) /* Auto-Neg complete */
33 #define XWAY_MDIO_INIT_ADSC BIT(5) /* Link auto-downspeed detect */
42 #define ADVERTISED_MPD BIT(10) /* Multi-port device */
44 /* LED Configuration */
65 /* LED Configuration */
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Dmfd.txt1 Multi-Function Devices (MFD)
4 more than one non-unique yet varying hardware functionality.
8 - A mixed signal ASIC on an external bus, sometimes a PMIC (Power Management
10 silicon) that handles analog drivers for things like audio amplifiers, LED
14 - A range of memory registers containing "miscellaneous system registers" also
20 - compatible : "simple-mfd" - this signifies that the operating system should
22 "simple-bus" indicates when to see subnodes as children for a simple
23 memory-mapped bus. For more complex devices, when the nexus driver has to
28 - ranges: Describes the address mapping relationship to the parent. Should set
32 - #address-cells: Specifies the number of cells used to represent physical base
[all …]
H A Dmax77693.txt1 Maxim MAX77693 multi-function device
4 - PMIC,
5 - CHARGER,
6 - LED,
7 - MUIC,
8 - HAPTIC
14 - compatible : Must be "maxim,max77693".
15 - reg : Specifies the i2c slave address of PMIC block.
16 - interrupts : This i2c device has an IRQ line connected to the main SoC.
19 - regulators : The regulators of max77693 have to be instantiated under subnode
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/health/
H A Dmax30102.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max30102.c - Support for MAX30102 heart rate and pulse oximeter sensor
8 * Copyright (C) 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
10 * 7-bit I2C chip address: 0x57
71 #define MAX30102_REG_MODE_CONFIG_MODE_HR 0x02 /* red LED */
72 #define MAX30102_REG_MODE_CONFIG_MODE_HR_SPO2 0x03 /* red + IR LED */
73 #define MAX30102_REG_MODE_CONFIG_MODE_MULTI 0x07 /* multi-LED mode */
77 #define MAX30102_REG_MODE_CONTROL_SLOT21 0x11 /* multi-LED control */
111 __be32 processed_buffer[3]; /* 3 x 18-bit (padded to 32-bits) */
154 .scan_index = -1,
[all …]
/OK3568_Linux_fs/u-boot/board/zyxel/nsa310s/
H A Dnsa310s.c6 * SPDX-License-Identifier: GPL-2.0+
24 * the below configuration configures mainly initial LED status in board_early_init_f()
30 /* Multi-Purpose Pins Functionality configuration */ in board_early_init_f()
77 gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100; in board_init()
111 * and has an MCU attached to the LED[2] via tristate interrupt in reset_phy()
114 /* switch to LED register page */ in reset_phy()
116 /* read out LED polarity register */ in reset_phy()
118 /* clear 4, set 5 - LED2 low, tri-state */ in reset_phy()
121 /* write back LED polarity register */ in reset_phy()
126 /* set PHY back to auto-negotiation mode */ in reset_phy()
/OK3568_Linux_fs/u-boot/board/Marvell/dreamplug/
H A Ddreamplug.c3 * Jason Cooper <u-boot@lakedaemon.net>
7 * Written-by: Siddarth Gore <gores@marvell.com>
9 * SPDX-License-Identifier: GPL-2.0+
26 * the below configuration configures mainly initial LED status in board_early_init_f()
32 /* Multi-Purpose Pins Functionality configuration */ in board_early_init_f()
70 MPP36_GPIO, /* 7 external GPIO pins (36 - 45) */ in board_early_init_f()
81 MPP47_GPIO, /* Bluetooth LED */ in board_early_init_f()
82 MPP48_GPIO, /* Wifi LED */ in board_early_init_f()
83 MPP49_GPIO, /* Wifi AP LED */ in board_early_init_f()
93 gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100; in board_init()
/OK3568_Linux_fs/kernel/drivers/mfd/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 tristate "Active-semi ACT8945A"
49 Support for the ACT8945A PMIC from Active-semi. This device
50 features three step-down DC/DC converters and four low-dropout
66 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
69 called sun4i-gpadc.
88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
119 over at91-usart-serial driver and usart-spi-driver. Only one function
135 tristate "Atmel HLCDC (High-end LCD Controller)"
172 tristate "X-Powers AC100"
[all …]
/OK3568_Linux_fs/u-boot/board/cloudengines/pogo_e02/
H A Dpogo_e02.c8 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
10 * SPDX-License-Identifier: GPL-2.0+
27 * the below configuration configures mainly initial LED status in board_early_init_f()
33 /* Multi-Purpose Pins Functionality configuration */ in board_early_init_f()
56 MPP48_GPIO, /* LED green */ in board_early_init_f()
57 MPP49_GPIO, /* LED orange */ in board_early_init_f()
67 gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100; in board_init()
/OK3568_Linux_fs/u-boot/arch/arm/mach-uniphier/
H A DKconfig92 Say Y to use the on-board UART, Ether, LED devices.
112 bool "Enable dump command of DDR Multi PHY parameters"
116 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
117 training; it is useful for the evaluation of DDR Multi PHY training.
/OK3568_Linux_fs/external/xserver/xkb/
H A Dxkbout.c28 #include <dix-config.h>
62 if (xkb->names != NULL) in WriteXKBVModDecl()
63 vmodNames = xkb->names->vmods; in WriteXKBVModDecl()
75 (xkb->server) && (xkb->server->vmods[i] != XkbNoModifierMask)) { in WriteXKBVModDecl()
78 XkbModMaskText(xkb->server->vmods[i], XkbXKBFile)); in WriteXKBVModDecl()
82 XkbModMaskText(xkb->server->vmods[i], XkbXKBFile)); in WriteXKBVModDecl()
114 if ((!xkb) || (!xkb->names) || (!xkb->names->keys)) { in XkbWriteXKBKeycodes()
118 kcName = xkb->names->keycodes; in XkbWriteXKBKeycodes()
124 fprintf(file, " minimum = %d;\n", xkb->min_key_code); in XkbWriteXKBKeycodes()
125 fprintf(file, " maximum = %d;\n", xkb->max_key_code); in XkbWriteXKBKeycodes()
[all …]
/OK3568_Linux_fs/u-boot/board/LaCie/netspace_v2/
H A Dnetspace_v2.c7 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
9 * SPDX-License-Identifier: GPL-2.0+
14 #include <asm/mach-types.h>
31 /* Multi-Purpose Pins Functionality configuration */ in board_early_init_f()
45 MPP12_GPO, /* Red led */ in board_early_init_f()
57 MPP26_GPIO, /* USB vbus-in detection */ in board_early_init_f()
58 MPP28_GPIO, /* USB enable vbus-out */ in board_early_init_f()
59 MPP29_GPIO, /* Blue led (slow register) */ in board_early_init_f()
60 MPP30_GPIO, /* Blue led (command register) */ in board_early_init_f()
74 gd->bd->bi_arch_number = CONFIG_MACH_TYPE; in board_init()
[all …]

12345678910>>...12