Home
last modified time | relevance | path

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

12345678910>>...49

/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,armada-375-pinctrl.txt3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding
7 - compatible: "marvell,88f6720-pinctrl"
8 - reg: register specifier of MPP registers
16 mpp0 0 gpio, dev(ad2), spi0(cs1), spi1(cs1)
17 mpp1 1 gpio, dev(ad3), spi0(mosi), spi1(mosi)
18 mpp2 2 gpio, dev(ad4), ptp(evreq), led(c0), audio(sdi)
19 mpp3 3 gpio, dev(ad5), ptp(trig), led(p3), audio(mclk)
20 mpp4 4 gpio, dev(ad6), spi0(miso), spi1(miso)
21 mpp5 5 gpio, dev(ad7), spi0(cs2), spi1(cs2)
22 mpp6 6 gpio, dev(ad0), led(p1), audio(lrclk)
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-iomega_ix2_200.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
5 #include "kirkwood-6281.dtsi"
8 model = "Iomega StorCenter ix2-200";
9 compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";
18 stdout-path = &uart0;
22 pinctrl: pin-controller@10000 {
23 pinctrl-0 = < &pmx_led_sata_brt_ctrl_1
33 pinctrl-names = "default";
35 pmx_button_reset: pmx-button-reset {
[all …]
H A Dkirkwood-nsa310.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "kirkwood-nsa3x0-common.dtsi"
7 compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
16 stdout-path = &uart0;
20 pinctrl: pin-controller@10000 {
21 pinctrl-0 = <&pmx_unknown>;
22 pinctrl-names = "default";
24 pmx_led_esata_green: pmx-led-esata-green {
26 marvell,function = "gpio";
[all …]
H A Dkirkwood-nsa325.dts1 // SPDX-License-Identifier: GPL-2.0+
10 /dts-v1/;
12 #include "kirkwood-nsa3x0-common.dtsi"
16 compatible = "zyxel,nsa325", "marvell,kirkwood-88f6282", "marvell,kirkwood";
25 stdout-path = &uart0;
29 pinctrl: pin-controller@10000 {
30 pinctrl-names = "default";
32 pmx_led_hdd2_green: pmx-led-hdd2-green {
34 marvell,function = "gpio";
37 pmx_led_hdd2_red: pmx-led-hdd2-red {
[all …]
H A Dkirkwood-nsa320.dts1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (c) 2014, Adam Baker <linux@baker-net.org.uk>
9 /dts-v1/;
11 #include "kirkwood-nsa3x0-common.dtsi"
15 compatible = "zyxel,nsa320", "marvell,kirkwood-88f6281", "marvell,kirkwood";
24 stdout-path = &uart0;
28 pinctrl: pin-controller@10000 {
29 pinctrl-names = "default";
32 pmx_sata0: pmx-sata0 {
37 pmx_sata1: pmx-sata1 {
[all …]
H A Dkirkwood-nsa310a.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "kirkwood-nsa3x0-common.dtsi"
8 * not have the red USB Led.
12 compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
21 stdout-path = &uart0;
25 pinctrl: pin-controller@10000 {
26 pinctrl-names = "default";
28 pmx_led_esata_green: pmx-led-esata-green {
30 marvell,function = "gpio";
[all …]
H A Dkirkwood-synology.dtsi1 // SPDX-License-Identifier: GPL-2.0
12 pinctrl: pin-controller@10000 {
13 pmx_alarmled_12: pmx-alarmled-12 {
15 marvell,function = "gpio";
18 pmx_fanctrl_15: pmx-fanctrl-15 {
20 marvell,function = "gpio";
23 pmx_fanctrl_16: pmx-fanctrl-16 {
25 marvell,function = "gpio";
28 pmx_fanctrl_17: pmx-fanctrl-17 {
30 marvell,function = "gpio";
[all …]
H A Dkirkwood-iconnect.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
5 #include "kirkwood-6281.dtsi"
9 compatible = "iom,iconnect-1.1", "iom,iconnect", "marvell,kirkwood-88f6281", "marvell,kirkwood";
18 stdout-path = &uart0;
19 linux,initrd-start = <0x4500040>;
20 linux,initrd-end = <0x4800000>;
24 pinctrl: pin-controller@10000 {
25 pmx_button_reset: pmx-button-reset {
27 marvell,function = "gpio";
[all …]
H A Dkirkwood-dir665.dts1 // SPDX-License-Identifier: GPL-2.0
7 /dts-v1/;
10 #include "kirkwood-6281.dtsi"
13 model = "D-Link DIR-665";
14 compatible = "dlink,dir-665", "marvell,kirkwood-88f6281", "marvell,kirkwood";
23 stdout-path = &uart0;
27 pinctrl: pin-controller@10000 {
28 pinctrl-0 =< &pmx_led_usb
35 pinctrl-names = "default";
37 pmx_led_usb: pmx-led-usb {
[all …]
H A Dkirkwood-linkstation-6282.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree common file for kirkwood-6282 based Buffalo Linkstation
10 #include "kirkwood-6282.dtsi"
11 #include "kirkwood-linkstation.dtsi"
15 pinctrl: pin-controller@10000 {
16 pmx_power_hdd0: pmx-power-hdd0 {
18 marvell,function = "gpio";
20 pmx_usb_vbus: pmx-usb-vbus {
22 marvell,function = "gpio";
24 pmx_fan_high: pmx-fan-high {
[all …]
H A Dkirkwood-linkstation-duo-6281.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree common file for kirkwood-6281 based 2-Bay Buffalo Linkstation
10 #include "kirkwood-6281.dtsi"
11 #include "kirkwood-linkstation.dtsi"
15 pinctrl: pin-controller@10000 {
16 pmx_power_hdd0: pmx-power-hdd0 {
18 marvell,function = "gpio";
20 pmx_power_hdd1: pmx-power-hdd1 {
22 marvell,function = "gpio";
24 pmx_usb_vbus: pmx-usb-vbus {
[all …]
H A Dkirkwood-goflexnet.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
5 #include "kirkwood-6281.dtsi"
9 compatible = "seagate,goflexnet", "marvell,kirkwood-88f6281", "marvell,kirkwood";
18 stdout-path = &uart0;
22 pinctrl: pin-controller@10000 {
23 pmx_usb_power_enable: pmx-usb-power-enable {
25 marvell,function = "gpio";
27 pmx_led_right_cap_0: pmx-led_right_cap_0 {
29 marvell,function = "gpio";
[all …]
H A Dkirkwood-lsxl.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include "kirkwood-6281.dtsi"
8 stdout-path = &uart0;
12 pinctrl: pin-controller@10000 {
13 /* Non-default UART pins */
14 pmx_uart0: pmx-uart0 {
18 pmx_power_hdd: pmx-power-hdd {
22 pmx_usb_vbus: pmx-usb-vbus {
24 marvell,function = "gpio";
26 pmx_fan_high: pmx-fan-high {
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A Dgpio.c2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
20 GPIO Functions
29 * DOC: GPIO/LED functions
31 * Here we control the 6 bidirectional GPIO pins provided by the hw.
32 * We can set a GPIO pin to be an input or an output pin on GPIO control
33 * register and then read or set its status from GPIO data input/output
36 * We also control the two LED pins provided by the hw, LED_0 is our
37 * "power" LED and LED_1 is our "network activity" LED but many scenarios
39 * GPIO pins, we handle them through the LED subsystem on led.c
[all …]
/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-armada-375.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 #include "pinctrl-mvebu.h"
22 MPP_FUNCTION(0x0, "gpio", NULL),
28 MPP_FUNCTION(0x0, "gpio", NULL),
34 MPP_FUNCTION(0x0, "gpio", NULL),
37 MPP_FUNCTION(0x3, "led", "c0"),
42 MPP_FUNCTION(0x0, "gpio", NULL),
45 MPP_FUNCTION(0x3, "led", "p3"),
50 MPP_FUNCTION(0x0, "gpio", NULL),
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ibm-rainier.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
12 compatible = "ibm,rainier-bmc", "aspeed,ast2600";
34 stdout-path = &uart5;
43 reserved-memory {
44 #address-cells = <1>;
[all …]
H A Daspeed-bmc-ibm-system1.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
12 compatible = "ibm,system1-bmc", "aspeed,ast2600";
74 stdout-path = "uart5:115200n8";
82 reserved-memory {
83 #address-cells = <1>;
[all …]
/linux/drivers/leds/blink/
H A Dleds-lgm-sso.c1 // SPDX-License-Identifier: GPL-2.0
3 * Intel Lightning Mountain SoC LED Serial Shift Output Controller driver
10 #include <linux/gpio/consumer.h>
11 #include <linux/gpio/driver.h>
23 #define SSO_DEV_NAME "lgm-sso"
55 #define DATA_CLK_EDGE 0 /* 0-rising, 1-falling */
63 * SW - Software has to update the SWU bit
64 * GPTC - General Purpose timer is used as clock source
65 * FPID - Divided FSC clock (FPID) is used as clock source
141 struct sso_gpio gpio; member
[all …]
/linux/drivers/leds/
H A Dleds-pca9532.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pca9532.c - 16-bit Led dimmer
18 #include <linux/leds-pca9532.h>
19 #include <linux/gpio/driver.h>
27 #define LED_REG(m, led) (PCA9532_REG_OFFSET(m) + 0x5 + (led >> 2)) argument
28 #define LED_NUM(led) (led & 0x3) argument
29 #define LED_SHIFT(led) (LED_NUM(led) * 2) argument
30 #define LED_MASK(led) (0x3 << LED_SHIFT(led)) argument
48 struct gpio_chip gpio; member
108 .name = "leds-pca953x",
[all …]
H A Dleds-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/gpio.h>
13 #include <linux/gpio/consumer.h>
49 if (led_dat->blinking) { in gpio_led_set()
50 led_dat->platform_gpio_blink_set(led_dat->gpiod, level, in gpio_led_set()
52 led_dat->blinking = 0; in gpio_led_set()
54 if (led_dat->can_sleep) in gpio_led_set()
55 gpiod_set_value_cansleep(led_dat->gpiod, level); in gpio_led_set()
57 gpiod_set_value(led_dat->gpiod, level); in gpio_led_set()
73 led_dat->blinking = 1; in gpio_blink_set()
[all …]
/linux/drivers/leds/trigger/
H A Dledtrig-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ledtrig-gio.c - LED Trigger Based on GPIO events
12 #include <linux/gpio/consumer.h>
19 struct led_classdev *led; member
20 unsigned desired_brightness; /* desired brightness when led is on */
21 struct gpio_desc *gpiod; /* gpio that triggers the led */
26 struct led_classdev *led = _led; in gpio_trig_irq() local
27 struct gpio_trig_data *gpio_data = led_get_trigger_data(led); in gpio_trig_irq()
30 tmp = gpiod_get_value_cansleep(gpio_data->gpiod); in gpio_trig_irq()
32 if (gpio_data->desired_brightness) in gpio_trig_irq()
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LEDs connected to GPIO lines
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
14 Each LED is represented as a sub-node of the gpio-leds device. Each
15 node's name represents the name of the corresponding LED.
19 const: gpio-leds
[all …]
H A Dti,tca6507.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TCA6507 LED and GPIO controller
10 - NeilBrown <neilb@suse.de>
13 The TCA6507 is a programmable LED controller connected via I2C that can drive
25 "#address-cells":
28 "#size-cells":
31 gpio-controller: true
33 "#gpio-cells":
[all …]
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
15 Optional sub-node properties:
16 - label: Name for this LED. If omitted, the label is taken from the node name.
[all …]
H A Dleds-lgm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lgm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Intel Lightning Mountain (LGM) SoC LED Serial Shift Output (SSO) Controller driver
10 - Zhu, Yi Xin <Yixin.zhu@intel.com>
11 - Amireddy Mallikarjuna reddy <mallikarjunax.reddy@intel.com>
15 const: intel,lgm-ssoled
23 clock-names:
25 - const: sso
[all …]

12345678910>>...49