/linux-5.10/Documentation/devicetree/bindings/leds/ |
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-5.10/arch/arm/boot/dts/ |
D | socfpga_cyclone5_chameleon96.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 14 compatible = "novtech,chameleon96", "altr,socfpga-cyclone5", "altr,socfpga"; 18 stdout-path = "serial0:115200n8"; 27 regulator_3_3v: 3-3-v-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "3.3V"; 30 regulator-min-microvolt = <3300000>; 31 regulator-max-microvolt = <3300000>; 35 compatible = "gpio-leds"; [all …]
|
D | bcm53016-meraki-mr32.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright (C) 2018-2020 Christian Lamparter <chunkeey@gmail.com> 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 #include <dt-bindings/leds/common.h> 33 compatible = "gpio-leds"; 39 panic-indicator; 49 compatible = "gpio-keys"; 50 #address-cells = <1>; 51 #size-cells = <0>; [all …]
|
D | imx50-kobo-aura.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 // The Kobo Aura e-book reader, model N514. The mainboard is marked as E606F0B. 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 15 stdout-path = "serial1:115200n8"; 23 gpio-leds { 24 compatible = "gpio-leds"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_leds>; 31 panic-indicator; [all …]
|
D | imx7d-meerkat96.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 /dts-v1/; 12 compatible = "novtech,imx7d-meerkat96", "fsl,imx7d"; 15 stdout-path = &uart6; 23 reg_wlreg_on: regulator-wlreg-on { 24 compatible = "regulator-fixed"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_wlreg_on>; 27 regulator-name = "wlreg_on"; 28 regulator-min-microvolt = <3300000>; [all …]
|
D | stm32mp157a-stinger96.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/mfd/st,stpmic1.h> 24 stdout-path = "serial1:115200n8"; 33 compatible = "gpio-leds"; 38 linux,default-trigger = "heartbeat"; 39 default-state = "off"; [all …]
|
D | rk3288-firefly-reload.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include "rk3288-firefly-reload-core.dtsi" 11 model = "Firefly-RK3288-reload"; 12 compatible = "firefly,firefly-rk3288-reload", "rockchip,rk3288"; 14 adc-keys { 15 compatible = "adc-keys"; 16 io-channels = <&saradc 1>; 17 io-channel-names = "buttons"; 18 keyup-threshold-microvolt = <1800000>; [all …]
|
D | stm32mp15xx-dhcor-avenger96.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved 9 #include "stm32mp15xx-dhcor-io1v8.dtsi" 22 cec_clock: clk-cec-fixed { 23 #clock-cells = <0>; 24 compatible = "fixed-clock"; 25 clock-frequency = <24000000>; 29 stdout-path = "serial0:115200n8"; 32 hdmi-out { 33 compatible = "hdmi-connector"; [all …]
|
/linux-5.10/include/dt-bindings/leds/ |
D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 40 /* Obsolete equivalent: "shift-key-light" */ 56 Obsolete equivalents: "status-led:{red,green,blue}" (Motorola Droid 4), 71 #define LED_FUNCTION_DISK_ACTIVITY "disk-activity" 72 #define LED_FUNCTION_DISK_ERR "disk-err" 73 #define LED_FUNCTION_DISK_READ "disk-read" 74 #define LED_FUNCTION_DISK_WRITE "disk-write" 78 #define LED_FUNCTION_INDICATOR "indicator" 82 #define LED_FUNCTION_PANIC "panic"
|
/linux-5.10/arch/arm64/boot/dts/rockchip/ |
D | rk3399-rock960.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include "rk3399-rock960.dtsi" 14 stdout-path = "serial2:1500000n8"; 18 compatible = "gpio-leds"; 19 pinctrl-names = "default"; 20 pinctrl-0 = <&user_led1_pin>, <&user_led2_pin>, 24 user_led1: led-1 { 27 linux,default-trigger = "heartbeat"; 30 user_led2: led-2 { [all …]
|
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>; 28 compatible = "gpio-leds"; [all …]
|
D | rk3368-lion.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 11 stdout-path = "serial0:115200n8"; 14 ext_gmac: gmac-clk { 15 compatible = "fixed-clock"; 16 clock-frequency = <125000000>; 17 clock-output-names = "ext_gmac"; 18 #clock-cells = <0>; 22 compatible = "i2c-mux-gpio"; 23 #address-cells = <1>; [all …]
|
/linux-5.10/arch/arm64/boot/dts/hisilicon/ |
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 …]
|
/linux-5.10/arch/arm64/boot/dts/freescale/ |
D | imx8qxp-ai_ml.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 7 /dts-v1/; 13 compatible = "einfochips,imx8qxp-ai_ml", "fsl,imx8qxp"; 22 stdout-path = &adma_lpuart2; 31 compatible = "gpio-leds"; 32 pinctrl-names = "default"; 33 pinctrl-0 = <&pinctrl_leds>; 35 user-led1 { 38 linux,default-trigger = "heartbeat"; 41 user-led2 { [all …]
|
/linux-5.10/arch/arm64/boot/dts/amlogic/ |
D | meson-gxm-rbox-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2016-2017 Andreas Färber 5 * Based on nexbox-a1: 14 /dts-v1/; 16 #include "meson-gxm.dtsi" 19 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; 20 model = "R-Box Pro"; 28 stdout-path = "serial0:115200n8"; 37 compatible = "gpio-leds"; 39 led-blue { [all …]
|
D | meson-gxbb-vega-s95.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-gxbb.dtsi" 9 compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb"; 17 stdout-path = "serial0:115200n8"; 21 compatible = "gpio-leds"; 23 led-blue { 24 label = "vega-s95:blue:on"; 26 default-state = "on"; 27 panic-indicator; 31 usb_pwr: regulator-usb-pwrs { [all …]
|
D | meson-gxbb-wetek.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "meson-gxbb.dtsi" 17 stdout-path = "serial0:115200n8"; 26 compatible = "gpio-leds"; 28 led-system { 29 label = "wetek-play:system-status"; 31 default-state = "on"; 32 panic-indicator; 36 usb_pwr: regulator-usb-pwrs { 37 compatible = "regulator-fixed"; [all …]
|
D | meson-gxl-s905x-libretech-cc-v2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s905x.dtsi" 16 compatible = "libretech,aml-s905x-cc-v2", "amlogic,s905x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S905X-CC V2"; 27 stdout-path = "serial0:115200n8"; [all …]
|
D | meson-gxl-s905x-libretech-cc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s905x.dtsi" 16 compatible = "libretech,aml-s905x-cc", "amlogic,s905x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S905X-CC"; 25 dio2133: analog-amplifier { 26 compatible = "simple-audio-amplifier"; [all …]
|
D | meson-gxbb-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 21 stdout-path = "serial0:115200n8"; 30 compatible = "gpio-leds"; 32 led-stat { 33 label = "nanopi-k2:blue:stat"; 35 default-state = "on"; [all …]
|
D | meson-gx-libretech-pc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 /* Libretech Amlogic GX PC form factor - AKA: Tartiflette */ 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/sound/meson-aiu.h> 14 adc-keys { 15 compatible = "adc-keys"; 16 io-channels = <&saradc 0>; 17 io-channel-names = "buttons"; 18 keyup-threshold-microvolt = <1800000>; [all …]
|
/linux-5.10/arch/powerpc/kernel/ |
D | rtas.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 63 * If non-NULL, this gets called when the kernel terminates. 93 * are designed only for very early low-level debugging, which 94 * is why the token is hard-coded to 10. 114 while (width-- > 0) in call_rtas_display_status_delay() 125 if (width--) { in call_rtas_display_status_delay() 170 return -1; in udbg_rtascon_getc_poll() 173 return -1; in udbg_rtascon_getc_poll() 182 while ((c = udbg_rtascon_getc_poll()) == -1) in udbg_rtascon_getc() 217 "ibm,display-line-length", NULL))) in rtas_progress() [all …]
|
/linux-5.10/arch/powerpc/include/asm/ |
D | rtas.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <asm/rtas-types.h> 19 #define RTAS_UNKNOWN_SERVICE (-1) 26 #define RTAS_NOT_SUSPENDABLE -9004 27 #define RTAS_BUSY -2 /* RTAS Busy */ 33 * an RTAS token for the given string (e.g. "event-scan"). 42 * may be safely used for one-shot calls to RTAS. 122 /* RTAS check-exception vector offset */ 127 return (elog->byte1 & 0xE0) >> 5; in rtas_error_severity() 132 return (elog->byte1 & 0x18) >> 3; in rtas_error_disposition() [all …]
|
/linux-5.10/arch/powerpc/boot/dts/ |
D | wii.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2008-2009 The GameCube Linux Team 10 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 15 * This is commented-out for now. 25 #address-cells = <1>; 26 #size-cells = <1>; 29 bootargs = "root=/dev/mmcblk0p2 rootwait udbg-immortal"; 34 reg = <0x00000000 0x01800000 /* MEM1 24MB 1T-SRAM */ [all …]
|
/linux-5.10/drivers/leds/ |
D | leds-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 45 if (led_dat->blinking) { in gpio_led_set() 46 led_dat->platform_gpio_blink_set(led_dat->gpiod, level, in gpio_led_set() 48 led_dat->blinking = 0; in gpio_led_set() 50 if (led_dat->can_sleep) in gpio_led_set() 51 gpiod_set_value_cansleep(led_dat->gpiod, level); in gpio_led_set() 53 gpiod_set_value(led_dat->gpiod, level); in gpio_led_set() 69 led_dat->blinking = 1; in gpio_blink_set() 70 return led_dat->platform_gpio_blink_set(led_dat->gpiod, GPIO_LED_BLINK, in gpio_blink_set() 81 led_dat->cdev.default_trigger = template->default_trigger; in create_gpio_led() [all …]
|