/linux/Documentation/driver-api/usb/ |
H A D | power-management.rst | 1 .. _usb-power-management: 7 :Date: Last-updated: February 2014 11 --------- 13 * What is Remote Wakeup? 17 * Changing the default idle-delay time 31 ------------------------- 35 component is ``suspended`` it is in a nonfunctional low-power state; it 37 ``resumed`` (returned to a functional full-power state) when the kernel 66 What is Remote Wakeup? 67 ---------------------- [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-matrix-keypad.txt | 6 keypad can sense a key-press and key-release by means of GPIO lines and 10 - compatible: Should be "gpio-matrix-keypad" 11 - row-gpios: List of gpios used as row lines. The gpio specifier 14 - col-gpios: List of gpios used as column lines. The gpio specifier 17 - linux,keymap: The definition can be found at 18 bindings/input/matrix-keymap.txt 21 - linux,no-autorepeat: do no enable autorepeat feature. 22 - wakeup-source: use any event on keypad as wakeup event. 23 (Legacy property supported: "linux,wakeup") 24 - debounce-delay-ms: debounce interval in milliseconds [all …]
|
H A D | nvidia,tegra20-kbc.txt | 7 - compatible: "nvidia,tegra20-kbc" 8 - reg: Register base address of KBC. 9 - interrupts: Interrupt number for the KBC. 10 - nvidia,kbc-row-pins: The KBC pins which are configured as row. This is an 12 - nvidia,kbc-col-pins: The KBC pins which are configured as column. This is an 14 - linux,keymap: The keymap for keys as described in the binding document 15 devicetree/bindings/input/matrix-keymap.txt. 16 - clocks: Must contain one entry, for the module clock. 17 See ../clocks/clock-bindings.txt for details. 18 - resets: Must contain an entry for each entry in reset-names. [all …]
|
H A D | qcom,pm8921-keypad.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/qcom,pm8921-keypad.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 13 - $ref: input.yaml# 14 - $ref: matrix-keymap.yaml# 19 - qcom,pm8058-keypad 20 - qcom,pm8921-keypad 27 - description: key sense [all …]
|
/linux/drivers/base/power/ |
H A D | sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * control - Report/change current runtime PM setting of the device 30 * wakeup - Report/change current wakeup option for device 32 * Some devices support "wakeup" events, which are hardware signals 34 * devices have one of three values for the sysfs power/wakeup file: 38 * + "\n" for temporary or permanent inability to issue wakeup. 42 * Familiar examples of devices that can issue wakeup events include 44 * "Wake-On-LAN" Ethernet links, GPIO lines, and more. Some events 47 * Some wakeup events use normal IRQ lines; other use special out 51 * wakeup signaling as part of changing device power states, respecting [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8173-elm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/regulator/dlg,da9211-regulator.h> 9 #include <dt-bindings/gpio/gpio.h> 25 compatible = "pwm-backlight"; 27 power-supply = <&bl_fixed_reg>; 28 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&panel_backlight_en_pins>; [all …]
|
H A D | mt8183-kukui-jacuzzi-pico6.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "mt8183-kukui-jacuzzi.dtsi" 8 #include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" 12 chassis-type = "convertible"; 13 compatible = "google,pico-sku2", "google,pico", "mediatek,mt8183"; 15 bt_wakeup: bt-wakeup { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&bt_pins_wakeup>; [all …]
|
H A D | mt8186-corsola.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 /dts-v1/; 7 #include <dt-bindings/pinctrl/mt8186-pinfunc.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h> 26 stdout-path = "serial0:115200n8"; 35 backlight_lcd0: backlight-lcd0 { 36 compatible = "pwm-backlight"; [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | atmel,sama5d2-shdwc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/atmel,sama5d2-shdwc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Claudiu Beznea <claudiu.beznea@microchip.com> 14 and VDDCORE and the wake-up detection on debounced input lines. 19 - items: 20 - const: microchip,sama7g5-shdwc 21 - const: syscon 22 - enum: [all …]
|
/linux/Documentation/timers/ |
H A D | timers-howto.rst | 2 delays - Information on the various kernel delay / sleep mechanisms 6 RightWay (TM) to insert a delay?" 14 ---------------- 18 it really need to delay in atomic context?" If so... 21 You must use the `*delay` family of functions. These 24 the desired delay: 30 udelay is the generally preferred API; ndelay-level 31 precision may not actually exist on many non-PC devices. 38 NON-ATOMIC CONTEXT: 45 -- Backed by busy-wait loop: [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | richtek,rtmv20-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtmv20-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 27 wakeup-source: true 32 enable-gpios: 36 richtek,ld-pulse-delay-us: 38 load current pulse delay in microsecond after strobe pin pulse high. 43 richtek,ld-pulse-width-us: [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | dmic-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/dmic-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> 13 - $ref: dai-common.yaml# 17 const: dmic-codec 19 '#sound-dai-cells': 22 dmicen-gpios: 26 num-channels: [all …]
|
H A D | rockchip,rk3399-gru-sound.txt | 4 - compatible: "rockchip,rk3399-gru-sound" 5 - rockchip,cpu: The phandle of the Rockchip I2S controller that's 7 - rockchip,codec: The phandle of the audio codecs 10 - dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready. 12 delay for DMIC to ready so that rt5514 can avoid recording before 18 compatible = "rockchip,rk3399-gru-sound"; 21 dmic-wakeup-delay-ms = <20>;
|
H A D | adi,adau7002.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 13 - $ref: dai-common.yaml# 19 IOVDD-supply: 24 wakeup-delay-ms: 26 Delay after power up needed for device to settle. 29 - compatible [all …]
|
/linux/include/linux/usb/ |
H A D | isp116x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Board initialization code should put one of these into dev->platform_data 13 /* On-chip overcurrent detection */ 19 /* Enable wakeup by devices on usb bus (e.g. wakeup 25 /* Inter-io delay (ns). The chip is picky about access timings; it 27 150ns delay between consecutive accesses to DATA_REG, 28 300ns delay between access to ADDR_REG and DATA_REG 31 void (*delay) (struct device *dev, int delay); member
|
/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-palmas.txt | 5 - compatible: should contain one of: 6 * "ti,palmas-usb-vid". 7 * "ti,twl6035-usb-vid". 8 * "ti,palmas-usb" (DEPRECATED - use "ti,palmas-usb-vid"). 9 * "ti,twl6035-usb" (DEPRECATED - use "ti,twl6035-usb-vid"). 12 - ti,wakeup : To enable the wakeup comparator in probe 13 - ti,enable-id-detection: Perform ID detection. If id-gpio is specified 14 it performs id-detection using GPIO else using OTG core. 15 - ti,enable-vbus-detection: Perform VBUS detection. 16 - id-gpio: gpio for GPIO ID detection. See gpio binding. [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mtk-sd.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mtk-sd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chaotian Jing <chaotian.jing@mediatek.com> 11 - Wenbin Mei <wenbin.mei@mediatek.com> 16 - enum: 17 - mediatek,mt2701-mmc 18 - mediatek,mt2712-mmc 19 - mediatek,mt6779-mmc [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | tc3589x.txt | 1 * Toshiba TC3589x multi-purpose expander 3 The Toshiba TC3589x series are I2C-based MFD devices which may expose the 4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for 7 - TC35890 8 - TC35892 9 - TC35893 10 - TC35894 11 - TC35895 12 - TC35896 15 - compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893", [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5250-arndale.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 32 stdout-path = "serial2:115200n8"; 35 gpio-keys { 36 compatible = "gpio-keys"; [all …]
|
H A D | exynos5250-spring.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/clock/samsung,s2mps11.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/input/input.h> 19 chassis-type = "laptop"; 33 stdout-path = "serial3:115200n8"; 36 gpio-keys { 37 compatible = "gpio-keys"; [all …]
|
/linux/arch/arm/boot/dts/gemini/ |
H A D | gemini-nas4220b.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree file for the Gemini-based Raidsonic NAS IB-4220-B 6 /dts-v1/; 9 #include <dt-bindings/input/input.h> 12 model = "Raidsonic NAS IB-4220-B"; 13 compatible = "raidsonic,ib-4220-b", "cortina,gemini"; 14 #address-cells = <1>; 15 #size-cells = <1>; 24 stdout-path = &uart0; 28 compatible = "gpio-keys"; [all …]
|
/linux/drivers/input/keyboard/ |
H A D | tegra-kbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2009-2011, NVIDIA Corporation. 13 #include <linux/delay.h> 33 /* KBC row scan time and delay for beginning the row scan. */ 89 bool wakeup; member 156 val = readl(kbc->mmio + KBC_KP_ENT0_0 + i); in tegra_kbc_report_keys() 165 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 167 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 178 * Ghosting occurs if there are 3 keys such that - in tegra_kbc_report_keys() 182 if (kbc->use_ghost_filter && num_down >= 3) { in tegra_kbc_report_keys() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-victgo.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 9 #include "imx6qdl-vicut1.dtsi" 15 gpio-keys { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpiokeys>; 21 key-power { 25 wakeup-source; 28 key-enter { [all …]
|
/linux/Documentation/devicetree/bindings/cpu/ |
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 22 run-time, can be specified through device tree bindings representing the [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-power | 9 What: /sys/devices/.../power/wakeup 13 The /sys/devices/.../power/wakeup attribute allows the user 19 Some devices support "wakeup" events, which are hardware signals 21 have one of the following two values for the sysfs power/wakeup 31 For the devices that are not capable of generating system wakeup 40 space to control the run-time power management of the device. 61 with the main suspend/resume thread) during system-wide power 85 of signaled wakeup events associated with the device. This 86 attribute is read-only. If the device is not capable to wake up 96 number of times the processing of wakeup events associated with [all …]
|