/Linux-v5.10/Documentation/devicetree/bindings/leds/ |
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. 6 See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 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. [all …]
|
D | leds-bcm6328.txt | 1 LEDs connected to Broadcom BCM6328 controller 4 In these SoCs it's possible to control LEDs both as GPIOs or by hardware. 5 However, on some devices there are Serial LEDs (LEDs connected to a 74x164 7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 9 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and 10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 17 registers you have some limited control over rerouting the LEDs (as 18 explained later in brcm,link-signal-sources). Even if a LED is hardware 21 reason, hardware controlled LEDs aren't registered as LED class devices. 24 - compatible : should be "brcm,bcm6328-leds". [all …]
|
D | leds-pwm.txt | 4 - compatible : should be "pwm-leds". 6 Each LED is represented as a sub-node of the pwm-leds device. Each 9 LED sub-node properties: 10 - pwms : PWM property to point to the PWM device (phandle)/port (id) and to 12 - pwm-names : (optional) Name to be used by the PWM subsystem for the PWM device 13 For the pwms and pwm-names property please refer to: 15 - max-brightness : Maximum brightness possible for the LED 16 - active-low : (optional) For PWMs where the LED is wired to supply 18 - label : (optional) 19 see Documentation/devicetree/bindings/leds/common.txt [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | lpc3250-ea3250.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 20 gpio-keys { 21 compatible = "gpio-keys"; 85 leds { 86 compatible = "gpio-leds"; 88 /* LEDs on OEM Board */ 91 gpios = <&gpio 5 14 1>; /* GPO_P3 14, GPIO 93, active low */ 92 linux,default-trigger = "timer"; 93 default-state = "off"; [all …]
|
D | dove-cm-a510.dtsi | 2 * Device Tree include for Compulab CM-A510 System-on-Module 6 * This file is dual-licensed: you can use it either under the terms 46 * The CM-A510 comes with several optional components: 66 * U2: 2 dual-role USB2.0 ports 70 * W: Broadcom BCM4319 802.11b/g/n (USI WM-N-BM-01 on SDIO1) 72 * GPIOs used on CM-A510: 73 * 1 GbE PHY reset (active low) 75 * 8 PowerOff (active low) 76 * 13 Touchscreen pen irq (active low) 77 * 65 System LED (active high) [all …]
|
D | armada-385-clearfog-gtr.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Rabeeh Khoury <rabeeh@solid-run.com>, based on Russell King clearfog work 9 SERDES mapping - 10 0. SATA1 on CON18, or optionally mini PCIe CON3 - PCIe0 12 2. SATA0 on CON17, or optionally mini PCIe CON4 - PCIe1 14 4. mini PCIe CON2 - PCIe2 17 USB 2.0 mapping - 18 0. USB 2.0 - 0 USB pins header CON12 19 1. USB 2.0 - 1 mini PCIe CON2 20 2. USB 2.0 - 2 to USB 3.0 connector (used with SERDES #3) [all …]
|
D | sun8i-s3-pinecube.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR X11) 6 /dts-v1/; 7 #include "sun8i-v3.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "pine64,pinecube", "sochip,s3", "allwinner,sun8i-v3"; 20 stdout-path = "serial0:115200n8"; 23 leds { 24 compatible = "gpio-leds"; 38 compatible = "regulator-fixed"; [all …]
|
D | sunxi-libretech-all-h3-cc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 16 stdout-path = "serial0:115200n8"; 20 compatible = "hdmi-connector"; 25 remote-endpoint = <&hdmi_out_con>; 30 leds { 31 compatible = "gpio-leds"; 36 default-state = "on"; [all …]
|
D | stm32mp157c-lxa-mc1.dts | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */ 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 7 /dts-v1/; 10 #include "stm32mp15xx-osd32.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/pwm/pwm.h> 17 model = "Linux Automation MC-1 board"; 18 compatible = "lxa,stm32mp157c-mc1", "st,stm32mp157"; 28 compatible = "pwm-backlight"; [all …]
|
D | stih410-b2260.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 12 compatible = "st,stih410-b2260", "st,stih410"; 16 stdout-path = &uart1; 29 leds { 30 compatible = "gpio-leds"; 34 linux,default-trigger = "heartbeat"; 35 default-state = "off"; 41 default-state = "off"; [all …]
|
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 …]
|
D | sun8i-h2-plus-bananapi-m2-zero.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Based on sun8i-h3-bananapi-m2-plus.dts, which is: 6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org> 9 /dts-v1/; 10 #include "sun8i-h3.dtsi" 11 #include "sunxi-common-regulators.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 17 model = "Banana Pi BPI-M2-Zero"; 18 compatible = "sinovoip,bpi-m2-zero", "allwinner,sun8i-h2-plus"; [all …]
|
/Linux-v5.10/drivers/leds/ |
D | leds-sc27xx-bltc.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <linux/leds.h> 52 bool active; member 56 struct sc27xx_led leds[SC27XX_LEDS_MAX]; member 82 static u32 sc27xx_led_get_offset(struct sc27xx_led *leds) in sc27xx_led_get_offset() argument 84 return leds->priv->base + SC27XX_LEDS_OFFSET * leds->line; in sc27xx_led_get_offset() 87 static int sc27xx_led_enable(struct sc27xx_led *leds, enum led_brightness value) in sc27xx_led_enable() argument 89 u32 base = sc27xx_led_get_offset(leds); in sc27xx_led_enable() 90 u32 ctrl_base = leds->priv->base + SC27XX_LEDS_CTRL; in sc27xx_led_enable() 91 u8 ctrl_shift = SC27XX_CTRL_SHIFT * leds->line; in sc27xx_led_enable() [all …]
|
D | leds-bcm6358.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for BCM6358 memory-mapped LEDs, based on leds-syscon.c 9 #include <linux/leds.h> 31 * struct bcm6358_led - state container for bcm6358 based LEDs 36 * @active_low: LED is active low 82 spin_lock_irqsave(led->lock, flags); in bcm6358_led_set() 83 bcm6358_led_busy(led->mem); in bcm6358_led_set() 84 val = bcm6358_led_read(led->mem + BCM6358_REG_MODE); in bcm6358_led_set() 85 if ((led->active_low && value == LED_OFF) || in bcm6358_led_set() 86 (!led->active_low && value != LED_OFF)) in bcm6358_led_set() [all …]
|
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 66 * @active_low: LED is active low 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 [all …]
|
D | leds-tlc591xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/leds.h> 35 #define LEDOUT_OFF 0x0 /* Output LOW */ 36 #define LEDOUT_ON 0x1 /* Output HI-Z */ 44 bool active; member 51 struct tlc591xx_led leds[TLC591XX_MAX_LEDS]; member 90 unsigned int i = (led->led_no % 4) * 2; in tlc591xx_set_ledout() 92 unsigned int addr = priv->reg_ledout_offset + (led->led_no >> 2); in tlc591xx_set_ledout() 96 return regmap_update_bits(priv->regmap, addr, mask, val); in tlc591xx_set_ledout() 103 u8 pwm = TLC591XX_REG_PWM(led->led_no); in tlc591xx_set_pwm() [all …]
|
D | leds-pwm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/leds-pwm.c 9 * based on leds-gpio.c by Raphael Assenat <raph@8d.com> 16 #include <linux/leds.h> 36 struct led_pwm_data leds[]; member 44 unsigned int max = led_dat->cdev.max_brightness; in led_pwm_set() 45 unsigned long long duty = led_dat->pwmstate.period; in led_pwm_set() 50 if (led_dat->active_low) in led_pwm_set() 51 duty = led_dat->pwmstate.period - duty; in led_pwm_set() 53 led_dat->pwmstate.duty_cycle = duty; in led_pwm_set() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/net/ |
D | allwinner,sun8i-a83t-emac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/allwinner,sun8i-a83t-emac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 - const: allwinner,sun8i-a83t-emac 17 - const: allwinner,sun8i-h3-emac 18 - const: allwinner,sun8i-r40-emac 19 - const: allwinner,sun8i-v3s-emac [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/gpio/ |
D | gpio_lpc32xx.txt | 4 - compatible: must be "nxp,lpc3220-gpio" 5 - reg: Physical base address and length of the controller's registers. 6 - gpio-controller: Marks the device node as a GPIO controller. 7 - #gpio-cells: Should be 3: 17 - bit 0 specifies polarity (0 for normal, 1 for inverted) 18 - reg: Index of the GPIO group 23 compatible = "nxp,lpc3220-gpio"; 25 gpio-controller; 26 #gpio-cells = <3>; /* bank, pin, flags */ 29 leds { [all …]
|
/Linux-v5.10/arch/mips/boot/dts/brcm/ |
D | bcm63268-comtrend-vr-3032u.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 compatible = "comtrend,vr-3032u", "brcm,bcm63268"; 8 model = "Comtrend VR-3032u"; 17 stdout-path = &uart0; 23 brcm,serial-leds; 24 brcm,serial-dat-low; 25 brcm,serial-shift-inv; 29 brcm,hardware-controlled; 30 brcm,link-signal-sources = <0>; [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | max77650.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MAX77650 ultra low-power PMIC from Maxim Integrated. 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 13 MAX77650 is an ultra-low power PMIC providing battery charging and power 14 supply for low-power IoT and wearable applications. 16 The GPIO-controller module is represented as part of the top-level PMIC 19 For device-tree bindings of other sub-modules (regulator, power supply, 20 LEDs and onkey) refer to the binding documents under the respective [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-driver-wacom | 4 Contact: linux-bluetooth@vger.kernel.org 14 Contact: linux-input@vger.kernel.org 16 Attribute group for control of the status LEDs and the OLEDs. 18 and XL (with LEDs and OLEDs), Intuos 4 WL, Intuos 5 (LEDs only), 19 Intuos Pro (LEDs only) and Cintiq 21UX2 and Cintiq 24HD 20 (LEDs only). Therefore its presence implicitly signifies the 21 presence of said LEDs and OLEDs on the tablet device. 25 Contact: linux-input@vger.kernel.org 35 Contact: linux-input@vger.kernel.org 44 Contact: linux-input@vger.kernel.org [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/rockchip/ |
D | rk3399-ficus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 10 #include "rk3399-rock960.dtsi" 17 stdout-path = "serial2:1500000n8"; 20 clkin_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 clock-frequency = <125000000>; 23 clock-output-names = "clkin_gmac"; 24 #clock-cells = <0>; 27 leds { [all …]
|
D | rk3368-r88.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 15 stdout-path = "serial2:115200n8"; 23 emmc_pwrseq: emmc-pwrseq { 24 compatible = "mmc-pwrseq-emmc"; 25 pinctrl-0 = <&emmc_reset>; 26 pinctrl-names = "default"; 27 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>; 30 keys: gpio-keys { [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/freescale/ |
D | imx8mm-var-som-symphony.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "imx8mm-var-som.dtsi" 11 model = "Variscite VAR-SOM-MX8MM Symphony evaluation board"; 12 compatible = "variscite,var-som-mx8mm-symphony", "variscite,var-som-mx8mm", "fsl,imx8mm"; 14 reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 15 compatible = "regulator-fixed"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 18 regulator-name = "VSD_3V3"; [all …]
|