| /linux/Documentation/devicetree/bindings/trigger-source/ |
| H A D | gpio-trigger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/trigger-source/gpio-trigger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic trigger source using GPIO 9 description: A GPIO used as a trigger source. 12 - Jonathan Santos <Jonathan.Santos@analog.com> 16 const: gpio-trigger 18 '#trigger-source-cells': 23 description: GPIO to be used as a trigger source. [all …]
|
| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A D | ltc2952-poweroff.txt | 3 This chip is used to externally trigger a system shut down. Once the trigger has 9 - compatible: Must contain: "lltc,ltc2952" 10 - watchdog-gpios: phandle + gpio-specifier for the GPIO connected to the 12 - kill-gpios: phandle + gpio-specifier for the GPIO connected to the 16 - trigger-gpios: phandle + gpio-specifier for the GPIO connected to the 17 chip's trigger line. If this property is not set, the 18 trigger function is ignored and the chip is kept alive 20 - trigger-delay-ms The number of milliseconds to wait after trigger line 29 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 30 trigger-delay-ms = <2000>; [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap5-uevm.dts | 1 // 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 …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm47081-luxul-xwr-1200.dts | 1 // 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 …]
|
| H A D | bcm4708-buffalo-wzr-1750dhp.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WZR-1750DHP 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "buffalo,wzr-1750dhp", "brcm,bcm4708"; 16 model = "Buffalo WZR-1750DHP (BCM4708)"; 29 compatible = "spi-gpio"; 30 num-chipselects = <1>; 31 sck-gpios = <&chipcommon 7 0>; 32 mosi-gpios = <&chipcommon 4 0>; [all …]
|
| H A D | bcm4708-buffalo-wzr-1166dhp-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WZR-1166DHP and WZR-1166DHP2 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 #include <dt-bindings/leds/common.h> 17 compatible = "spi-gpio"; 18 num-chipselects = <1>; 19 sck-gpios = <&chipcommon 7 0>; 20 mosi-gpios = <&chipcommon 4 0>; 21 cs-gpios = <&chipcommon 6 0>; 22 #address-cells = <1>; [all …]
|
| H A D | bcm4709-tplink-archer-c9-v1.dts | 1 // 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 D | bcm47081-tplink-archer-c5-v2.dts | 1 // 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 D | bcm4708-netgear-r6250.dts | 5 * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de> 10 /dts-v1/; 13 #include "bcm5301x-nand-cs0-bch8.dtsi" 16 compatible = "netgear,r6250-v1", "brcm,bcm4708"; 30 compatible = "gpio-leds"; 32 led-logo { 35 linux,default-trigger = "default-on"; 38 led-power0 { 41 linux,default-trigger = "default-on"; 44 led-power1 { [all …]
|
| H A D | bcm4708-smartrg-sr400ac.dts | 1 // 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 D | bcm47081-buffalo-wzr-900dhp.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WZR-900DHP 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "buffalo,wzr-900dhp", "brcm,bcm47081", "brcm,bcm4708"; 16 model = "Buffalo WZR-900DHP (BCM47081)"; 29 compatible = "spi-gpio"; 30 num-chipselects = <1>; 31 sck-gpios = <&chipcommon 7 0>; 32 mosi-gpios = <&chipcommon 4 0>; [all …]
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | kirkwood-l-50.dts | 1 // 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 …]
|
| H A D | kirkwood-c200-v1.dts | 1 // 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 …]
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hi3798cv200-poplar.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd. 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 12 #include "poplar-pinctrl.dtsi" 16 compatible = "hisilicon,hi3798cv200-poplar", "hisilicon,hi3798cv200"; 24 stdout-path = "serial0:115200n8"; 33 compatible = "gpio-leds"; 35 user-led0 { 38 linux,default-trigger = "heartbeat"; [all …]
|
| H A D | hi6220-hikey.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "hikey-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220"; 26 stdout-path = "serial3:115200n8"; 32 * 0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using 33 * 0x05f0,1000 - 0x05f0,1fff: Reboot reason 34 * 0x06df,f000 - 0x06df,ffff: Mailbox message data 35 * 0x0740,f000 - 0x0740,ffff: MCU firmware section [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | adi,adp5585.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 19 - items: 20 - enum: 21 - adi,adp5585-00 # Default 22 - adi,adp5585-01 # 11 GPIOs 23 - adi,adp5585-02 # No pull-up resistors by default on special pins 24 - adi,adp5585-03 # Alternate I2C address [all …]
|
| /linux/drivers/power/reset/ |
| H A D | ltc2952-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maintainer: René Moll <linux@r-moll.nl> 8 * ---------------------------------------- 9 * - Description 10 * ---------------------------------------- 18 * ---------------------------------------- 19 * - GPIO 20 * ---------------------------------------- 23 * - trigger (input) 24 * A level change indicates the shut-down trigger. If it's state reverts [all …]
|
| /linux/drivers/leds/trigger/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "LED Trigger support" 6 This option enables trigger support for the leds class. 13 tristate "LED Timer Trigger" 18 For more details read Documentation/leds/leds-class.rst. 23 tristate "LED One-shot Trigger" 25 This allows LEDs to blink in one-shot pulses with parameters 36 bool "LED Disk Trigger" 43 bool "LED MTD (NAND/NOR) Trigger" 50 tristate "LED Heartbeat Trigger" [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-timberdale.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Timberdale FPGA GPIO driver 9 * Timberdale FPGA GPIO 13 #include <linux/gpio/driver.h> 20 #define DRIVER_NAME "timb-gpio" 36 struct gpio_chip gpio; member 41 static int timbgpio_update_bit(struct gpio_chip *gpio, unsigned index, in timbgpio_update_bit() argument 44 struct timbgpio *tgpio = gpiochip_get_data(gpio); in timbgpio_update_bit() 48 spin_lock_irqsave(&tgpio->lock, flags); in timbgpio_update_bit() 49 reg = ioread32(tgpio->membase + offset); in timbgpio_update_bit() [all …]
|
| H A D | gpio-davinci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * TI DaVinci GPIO Support 5 * Copyright (c) 2006-2007 David Brownell 10 #include <linux/gpio/driver.h> 44 #define BINTEN 0x8 /* GPIO Interrupt Per-Bank Enable Register */ 58 /* Serialize access to GPIO registers */ 67 static inline u32 __gpio_mask(unsigned gpio) in __gpio_mask() argument 69 return 1 << (gpio % 32); in __gpio_mask() 74 /*--------------------------------------------------------------------------*/ 76 /* board setup code *MUST* setup pinmux and enable the GPIO clock. */ [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mp-skov-revc-bd500.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 /dts-v1/; 5 #include "imx8mp-skov-reva.dtsi" 8 model = "SKOV IMX8MP CPU revC - bd500"; 9 compatible = "skov,imx8mp-skov-revc-bd500", "fsl,imx8mp"; 12 led_system_red: led-3 { 17 default-state = "off"; 20 led_system_green: led-4 { 24 default-state = "on"; 27 led_lan1_red: led-5 { [all …]
|
| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | common.yaml | 1 # 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 …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-ficus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 10 #include "rk3399-rock960.dtsi" 21 stdout-path = "serial2:1500000n8"; 24 clkin_gmac: external-gmac-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; 27 clock-output-names = "clkin_gmac"; 28 #clock-cells = <0>; 32 compatible = "gpio-leds"; [all …]
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | sprd,gpio-eic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/gpio/sprd,gpio-eic.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Orson Zhai <orsonzhai@gmail.com> 12 - Baolin Wang <baolin.wang7@gmail.com> 13 - Chunyan Zhang <zhang.lyra@gmail.com> 19 controller contains 4 sub-modules, i.e. EIC-debounce, EIC-latch, EIC-async and 20 EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub- 23 The EIC-debounce sub-module provides up to 8 source input signal [all …]
|
| /linux/drivers/pinctrl/samsung/ |
| H A D | pinctrl-s3c64xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // S3C64xx specific support for pinctrl-samsung driver. 7 // Based on pinctrl-exynos.c, please see the file for original copyrights. 11 // external gpio and wakeup interrupt support. 24 #include "pinctrl-samsung.h" 31 /* External GPIO and wakeup interrupt related definitions */ 57 /* S3C64xx specific external interrupt trigger types */ 116 .eint_mask = (1 << (pins)) - 1, \ 140 .eint_mask = (1 << (pins)) - 1, \ 194 .eint_mask = (1 << (pins)) - 1, \ [all …]
|