/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LEDs connected to Broadcom BCM6328 controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 14 In these SoCs it's possible to control LEDs both as GPIOs or by hardware. 15 However, on some devices there are Serial LEDs (LEDs connected to a 74x164 17 as spi-gpio. See 20 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and [all …]
|
H A D | leds-bcm63138.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm63138.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom's BCM63138 LEDs controller 10 - Rafał Miłecki <rafal@milecki.pl> 13 This LEDs controller was first used on BCM63138 and later reused on BCM4908, 16 It supports up to 32 LEDs that can be connected parallelly or serially. It 19 Binding serially connected LEDs isn't documented yet. 24 - items: [all …]
|
H A D | leds-bcm6358.txt | 1 LEDs connected to Broadcom BCM6358 controller 4 In these SoCs there are Serial LEDs (LEDs connected to a 74x164 controller), 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. [all …]
|
H A D | allwinner,sun50i-a100-ledc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/allwinner,sun50i-a100-ledc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Samuel Holland <samuel@sholland.org> 13 The LED controller found in Allwinner sunxi SoCs uses a one-wire serial 14 interface to drive up to 1024 RGB LEDs. 19 - const: allwinner,sun50i-a100-ledc 20 - items: 21 - enum: [all …]
|
H A D | leds-lgm.yaml | 1 # 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 …]
|
/linux/drivers/leds/ |
H A D | leds-bcm6328.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c 9 #include <linux/leds.h> 59 * struct bcm6328_led - state container for bcm6328 based LEDs 64 * @blink_leds: blinking LEDs 97 * LEDMode 64 bits / 24 LEDs 98 * bits [31:0] -> LEDs 8-23 99 * bits [47:32] -> LEDs 0-7 100 * bits [63:48] -> unused 105 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift() [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-foxg20.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-foxg20.dts - Device Tree file for Acme Systems FoxG20 board 9 /dts-v1/; 26 clock-frequency = <32768>; 30 clock-frequency = <18432000>; 38 compatible = "atmel,tcb-timer"; 43 compatible = "atmel,tcb-timer"; 49 atmel,vbus-gpio = <&pioC 6 GPIO_ACTIVE_HIGH>; 54 pinctrl-0 = < 58 pinctrl-names = "default"; [all …]
|
H A D | usb_a9g20-dab-mmx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board 5 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 11 usart1: serial@fffb4000 { 15 usart3: serial@fffd0000 { 21 i2c-gpio@0 { 25 leds { 26 compatible = "gpio-leds"; 67 compatible = "gpio-keys"; 68 #address-cells = <1>; [all …]
|
H A D | at91-qil_a9260.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * at91-qil_a9260.dts - Device Tree file for Calao QIL A9260 board 5 * Copyright (C) 2011-2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 7 /dts-v1/; 11 compatible = "calao,qil-a9260", "atmel,at91sam9260", "atmel,at91sam9"; 23 clock-frequency = <32768>; 27 clock-frequency = <12000000>; 35 compatible = "atmel,tcb-timer"; 40 compatible = "atmel,tcb-timer"; 46 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | at91-sama5d27_som1_ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27-SOM1-EK board 10 /dts-v1/; 11 #include "at91-sama5d27_som1.dtsi" 12 #include <dt-bindings/mfd/atmel-flexcom.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 18 …compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "… 29 stdout-path = "serial0:115200n8"; 34 atmel,vbus-gpio = <&pioA PIN_PD20 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | at91-vinco.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * 2015 Gregory CLEMENT <gregory.clement@free-electrons.com> 9 /dts-v1/; 17 stdout-path = "serial0:115200n8"; 26 clock-frequency = <32768>; 30 clock-frequency = <12000000>; 42 pinctrl-names = "default"; 43 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 46 vqmmc-supply = <&vcc_3v3_reg>; 47 vmmc-supply = <&vcc_3v3_reg>; [all …]
|
H A D | at91-sama5d4_ma5d4evk.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 7 #include "at91-sama5d4_ma5d4.dtsi" 14 stdout-path = "serial3:115200n8"; 19 atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_usba_vbus>; 26 num-ports = <3>; 27 atmel,vbus-gpio = <0 42 hlcdc-display-controller { [all …]
|
/linux/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 /dts-v1/; 9 #include "nuvoton-wpcm450.dtsi" 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/gpio/gpio.h> 15 model = "Supermicro X9SCi-LN4F BMC"; 16 compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450"; 24 stdout-path = "serial0:115200n8"; 32 gpio-keys { 33 compatible = "gpio-keys"; [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-dns320.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "kirkwood-dnskw.dtsi" 7 model = "D-Link DNS-320 NAS (Rev A1)"; 8 …compatible = "dlink,dns-320-a1", "dlink,dns-320", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281"… 17 stdout-path = &uart0; 20 gpio-leds { 21 compatible = "gpio-leds"; 22 pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_320 25 pinctrl-names = "default"; [all …]
|
H A D | kirkwood-openblocks_a6.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include "kirkwood-6282.dtsi" 9 compatible = "plathome,openblocks-a6", "marvell,kirkwood-88f6283", "marvell,kirkwood"; 18 stdout-path = &uart0; 22 serial@12000 { 26 serial@12100 { 31 nr-ports = <1>; 44 pinctrl: pin-controller@10000 { 45 pinctrl-0 = <&pmx_dip_switches>; [all …]
|
/linux/drivers/leds/blink/ |
H A D | Kconfig | 13 If compiled as module it will be called leds-bcm63138. 20 This option enables support for LEDs connected to GPIO lines on 22 gateway-on-a-chip SoC to be shipped on mid and high end home 25 These LEDs are driven by a Serial Shift Output (SSO) controller. 26 The driver supports hardware blinking and the LEDs can be configured 31 will be called leds-lgm-sso.
|
H A D | leds-bcm63138.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/leds.h> 20 #define BCM63138_LED_MASK ((1 << BCM63138_LED_BITS) - 1) /* 0xf */ 40 #define BCM63138_POWER_LUT_BASE0 0x34 /* -> b0 */ 59 struct bcm63138_leds *leds; member 69 static void bcm63138_leds_write(struct bcm63138_leds *leds, unsigned int reg, in bcm63138_leds_write() argument 72 writel(data, leds->base + reg); in bcm63138_leds_write() 75 static unsigned long bcm63138_leds_read(struct bcm63138_leds *leds, in bcm63138_leds_read() argument 78 return readl(leds->base + reg); in bcm63138_leds_read() 81 static void bcm63138_leds_update_bits(struct bcm63138_leds *leds, in bcm63138_leds_update_bits() argument [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stihxxx-b2120.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/clock/stih407-clks.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/media/c8sectpfe.h> 10 leds { 11 compatible = "gpio-leds"; 12 led-red { 15 linux,default-trigger = "heartbeat"; 17 led-green { 19 default-state = "off"; [all …]
|
/linux/drivers/leds/trigger/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 This option enables trigger support for the leds class. 7 These triggers allow kernel events to drive the LEDs and can 15 This allows LEDs to be controlled by a programmable timer 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 39 This allows LEDs to be controlled by disk activity. 46 This allows LEDs to be controlled by MTD activity. 52 This allows LEDs to be controlled by a CPU load average. [all …]
|
/linux/arch/arm/boot/dts/sunplus/ |
H A D | sunplus-sp7021.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/sunplus,sp7021-clkc.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/reset/sunplus,sp7021-reset.h> 11 #include <dt-bindings/pinctrl/sppctl-sp7021.h> 12 #include <dt-bindings/gpio/gpio.h> 22 compatible = "fixed-clock"; 23 #clock-cells = <0>; 24 clock-frequency = <XTAL>; 25 clock-output-names = "extclk"; [all …]
|
/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx23-olinuxino.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 14 compatible = "olimex,imx23-olinuxino", "fsl,imx23"; 22 apbh-bus@80000000 { 24 compatible = "fsl,imx23-mmc"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_sck_cfg>; 27 bus-width = <4>; 28 broken-cd; [all …]
|
/linux/drivers/hid/ |
H A D | wacom_sys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * USB Wacom tablet support - system specific code 25 } while ((retval == -ETIMEDOUT || retval == -EAGAIN) && --retries); in wacom_get_report() 42 } while ((retval == -ETIMEDOUT || retval == -EAGAIN) && --retries); in wacom_set_report() 89 struct wacom_wac *wacom_wac = &wacom->wacom_wac; in wacom_wac_pen_serial_enforce() 90 struct wacom_features *features = &wacom_wac->features; in wacom_wac_pen_serial_enforce() 95 if (wacom_wac->serial[0] || !(features->quirks & WACOM_QUIRK_TOOLSERIAL)) in wacom_wac_pen_serial_enforce() 98 /* Queue events which have invalid tool type or serial number */ in wacom_wac_pen_serial_enforce() 99 for (i = 0; i < report->maxfield; i++) { in wacom_wac_pen_serial_enforce() 100 for (j = 0; j < report->field[i]->maxusage; j++) { in wacom_wac_pen_serial_enforce() [all …]
|
/linux/arch/mips/boot/dts/cavium-octeon/ |
H A D | dlink_dsr-500n.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device tree source for D-Link DSR-500N. 8 /include/ "dlink_dsr-500n-1000n.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 model = "dlink,dsr-500n"; 13 compatible = "dlink,dsr-500n", "cavium,octeon-3860"; 16 uart0: serial@1180000000800 { 17 clock-frequency = <300000000>; 21 leds { 22 compatible = "gpio-leds"; [all …]
|
H A D | dlink_dsr-1000n.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device tree source for D-Link DSR-1000N. 8 /include/ "dlink_dsr-500n-1000n.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 model = "dlink,dsr-1000n"; 15 uart0: serial@1180000000800 { 16 clock-frequency = <500000000>; 20 leds { 21 compatible = "gpio-leds"; 23 led-usb1 { [all …]
|
/linux/Documentation/networking/ |
H A D | 6pack.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 This is the 6pack-mini-HOWTO, written by 11 :Internet: ajk@comnets.uni-bremen.de 12 :AMPR-net: dg3kq@db0pra.ampr.org 21 the TNC over a serial line. It can be used as an alternative to KISS. 25 - The PC is given full control over the radio 35 This kind of real-time control is especially important to supply several 39 - Each packet transferred over the serial line is supplied with a checksum, 40 so it is easy to detect errors due to problems on the serial line. 60 db0bm.automation.fh-aachen.de. In the directory /incoming/dg3kq, [all …]
|