| /kernel/linux/linux-6.6/drivers/input/misc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 reporting power button status. 31 reporting power button status. 40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500 41 Mix-Sig PMIC. 44 will be called ab8500-ponkey. 64 module will be called ad714x-i2c. 74 module will be called ad714x-spi. 77 tristate "Dell Wyse 3020 Power Button Driver" 81 Say Y to enable support for reporting power button status on [all …]
|
| D | palmas-pwrbutton.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Texas Instruments' Palmas Power Button Input Driver 5 * Copyright (C) 2012-2014 Texas Instruments Incorporated - http://www.ti.com/ 26 * struct palmas_pwron - Palmas power on data 40 * struct palmas_pwron_config - configuration of palmas power on 42 * @pwron_debounce_val: value for debounce of power button 50 * palmas_power_button_work() - Detects the button release event 51 * @work: work item to detect button release 58 struct input_dev *input_dev = pwron->input_dev; in palmas_power_button_work() 62 error = palmas_read(pwron->palmas, PALMAS_INTERRUPT_BASE, in palmas_power_button_work() [all …]
|
| D | cpcap-pwrbutton.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * CPCAP Power Button Input Driver 17 #include <linux/mfd/motorola-cpcap.h> 30 struct cpcap_power_button *button = _button; in powerbutton_irq() local 33 val = cpcap_sense_virq(button->regmap, irq); in powerbutton_irq() 35 dev_err(button->dev, "irq read failed: %d", val); in powerbutton_irq() 39 pm_wakeup_event(button->dev, 0); in powerbutton_irq() 40 input_report_key(button->idev, KEY_POWER, val); in powerbutton_irq() 41 input_sync(button->idev); in powerbutton_irq() 48 struct cpcap_power_button *button; in cpcap_power_button_probe() local [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-ixp4xx/ |
| D | dsmg600-setup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * DSM-G600 board-setup 8 * based on ixdp425-setup.c: 9 * Copyright (C) 2003-2004 MontaVista Software, Inc. 10 * based on nslu2-power.c: 12 * based on nslu2-io.c: 18 * Maintainers: http://www.nslu2-linux.org/ 33 #include <asm/mach-types.h> 43 /* DSM-G600 Timer Setting */ 47 #define DSMG600_PB_GPIO 15 /* power button */ [all …]
|
| D | nas100d-setup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * arch/arm/mach-ixp4xx/nas100d-setup.c 5 * NAS 100d board-setup 9 * based on ixdp425-setup.c: 10 * Copyright (C) 2003-2004 MontaVista Software, Inc. 11 * based on nas100d-power.c: 13 * based on nas100d-io.c 18 * Maintainers: http://www.nslu2-linux.org/ 33 #include <asm/mach-types.h> 43 #define NAS100D_PB_GPIO 14 /* power button */ [all …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 reporting power button status. 31 reporting power button status. 40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500 41 Mix-Sig PMIC. 44 will be called ab8500-ponkey. 64 module will be called ad714x-i2c. 74 module will be called ad714x-spi. 84 module will be called arizona-haptics. 87 tristate "Atmel Capacitive Touch Button Driver" [all …]
|
| D | palmas-pwrbutton.c | 2 * Texas Instruments' Palmas Power Button Input Driver 4 * Copyright (C) 2012-2014 Texas Instruments Incorporated - http://www.ti.com/ 33 * struct palmas_pwron - Palmas power on data 47 * struct palmas_pwron_config - configuration of palmas power on 49 * @pwron_debounce_val: value for debounce of power button 57 * palmas_power_button_work() - Detects the button release event 58 * @work: work item to detect button release 65 struct input_dev *input_dev = pwron->input_dev; in palmas_power_button_work() 69 error = palmas_read(pwron->palmas, PALMAS_INTERRUPT_BASE, in palmas_power_button_work() 72 dev_err(input_dev->dev.parent, in palmas_power_button_work() [all …]
|
| D | cpcap-pwrbutton.c | 2 * CPCAP Power Button Input Driver 25 #include <linux/mfd/motorola-cpcap.h> 38 struct cpcap_power_button *button = _button; in powerbutton_irq() local 41 val = cpcap_sense_virq(button->regmap, irq); in powerbutton_irq() 43 dev_err(button->dev, "irq read failed: %d", val); in powerbutton_irq() 47 pm_wakeup_event(button->dev, 0); in powerbutton_irq() 48 input_report_key(button->idev, KEY_POWER, val); in powerbutton_irq() 49 input_sync(button->idev); in powerbutton_irq() 56 struct cpcap_power_button *button; in cpcap_power_button_probe() local 60 button = devm_kmalloc(&pdev->dev, sizeof(*button), GFP_KERNEL); in cpcap_power_button_probe() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | ti,palmas-pwrbutton.txt | 1 Texas Instruments Palmas family power button module 7 This module provides a simple power button event via an Interrupt. 10 - compatible: should be one of the following 11 - "ti,palmas-pwrbutton": For Palmas compatible power on button 12 - interrupts: Interrupt number of power button submodule on device. 16 - ti,palmas-long-press-seconds: Duration in seconds which the power 17 button should be kept pressed for Palmas to power off automatically. 20 - ti,palmas-pwron-debounce-milli-seconds: Duration in milliseconds 21 which the power button should be kept pressed for Palmas to register 29 compatible = "ti,palmas-pwrbutton"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | ti,palmas-pwrbutton.txt | 1 Texas Instruments Palmas family power button module 7 This module provides a simple power button event via an Interrupt. 10 - compatible: should be one of the following 11 - "ti,palmas-pwrbutton": For Palmas compatible power on button 12 - interrupts: Interrupt number of power button submodule on device. 16 - ti,palmas-long-press-seconds: Duration in seconds which the power 17 button should be kept pressed for Palmas to power off automatically. 20 - ti,palmas-pwron-debounce-milli-seconds: Duration in milliseconds 21 which the power button should be kept pressed for Palmas to register 29 compatible = "ti,palmas-pwrbutton"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/input/devices/ |
| D | joystick-parport.rst | 3 .. _joystick-parport: 9 :Copyright: |copy| 1998-2000 Vojtech Pavlik <vojtech@ucw.cz> 10 :Copyright: |copy| 1998 Andree Borrmann <a.borrmann@tu-bs.de> 18 Any information in this file is provided as-is, without any guarantee that 36 Many console and 8-bit computer gamepads and joysticks are supported. The 40 ------------ 57 The main problem with PC parallel ports is that they don't have +5V power 58 source on any of their pins. So, if you want a reliable source of power 59 for your pads, use either keyboard or joystick port, and make a pass-through 60 cable. You can also pull the power directly from the power supply (the red [all …]
|
| /kernel/linux/linux-6.6/Documentation/input/devices/ |
| D | joystick-parport.rst | 3 .. _joystick-parport: 9 :Copyright: |copy| 1998-2000 Vojtech Pavlik <vojtech@ucw.cz> 10 :Copyright: |copy| 1998 Andree Borrmann <a.borrmann@tu-bs.de> 18 Any information in this file is provided as-is, without any guarantee that 36 Many console and 8-bit computer gamepads and joysticks are supported. The 40 ------------ 57 The main problem with PC parallel ports is that they don't have +5V power 58 source on any of their pins. So, if you want a reliable source of power 59 for your pads, use either keyboard or joystick port, and make a pass-through 60 cable. You can also pull the power directly from the power supply (the red [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | surfacepro3_button.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * power/home/volume button support for 16 #include <acpi/button.h> 43 ACPI_MODULE_NAME("surface pro 3 button"); 46 MODULE_DESCRIPTION("Surface Pro3 Button Driver"); 50 * Power button, Home button, Volume buttons support is supposed to 78 struct surface_button *button = acpi_driver_data(device); in surface_button_notify() local 84 /* Power button press,release handle */ in surface_button_notify() 91 /* Home button press,release handle */ in surface_button_notify() 98 /* Volume up button press,release handle */ in surface_button_notify() [all …]
|
| D | intel_mid_powerbtn.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Power button driver for Intel MID platforms. 20 #include <asm/intel-family.h> 25 #define MSIC_PB_LEVEL (1 << 3) /* 1 - release, 0 - press */ 29 * power button interrupt 34 #define BCOVE_PB_LEVEL (1 << 4) /* 1 - release, 0 - press */ 55 struct input_dev *input = ddata->input; in mid_pbstat() 59 ret = intel_scu_ipc_dev_ioread8(ddata->scu, ddata->pbstat_addr, in mid_pbstat() 64 dev_dbg(input->dev.parent, "PB_INT status= %d\n", pbstat); in mid_pbstat() 66 *value = !(pbstat & ddata->pbstat_mask); in mid_pbstat() [all …]
|
| D | intel-hid.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Intel HID event & 5 button array driver 12 #include <linux/input/sparse-keymap.h> 30 /* 1: LSuper (Page 0x07, usage 0xE3) -- unclear what to do */ 31 /* 2: Toggle SW_ROTATE_LOCK -- easy to implement if seen in wild */ 40 /* 13 has two different meanings in the spec -- ignore it. */ 48 /* 27: wake -- needs special handling */ 52 /* 5 button array notification value. */ 112 #define HID_EVENT_FILTER_UUID "eeec56b3-4442-408f-a792-4edd4d758054" 206 *result = obj->integer.value; in intel_hid_evaluate_method() [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/surface/ |
| D | surfacepro3_button.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * power/home/volume button support for 16 #include <acpi/button.h> 44 MODULE_DESCRIPTION("Surface Pro3 Button Driver"); 48 * Power button, Home button, Volume buttons support is supposed to 76 struct surface_button *button = acpi_driver_data(device); in surface_button_notify() local 82 /* Power button press,release handle */ in surface_button_notify() 89 /* Home button press,release handle */ in surface_button_notify() 96 /* Volume up button press,release handle */ in surface_button_notify() 103 /* Volume down button press,release handle */ in surface_button_notify() [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | tiny-power-button.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 #include <acpi/button.h> 8 MODULE_DESCRIPTION("ACPI Tiny Power Button Driver"); 13 MODULE_PARM_DESC(power_signal, "Power button sends this signal to init"); 33 .name = "tiny-power-button", 34 .class = "tiny-power-button",
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/broadcom/ |
| D | bcm4709-buffalo-wxr-1900dhp.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WXR-1900DHP 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "buffalo,wxr-1900dhp", "brcm,bcm4709", "brcm,bcm4708"; 16 model = "Buffalo WXR-1900DHP"; 29 compatible = "gpio-leds"; 31 led-usb { 36 led-power-amber { 37 label = "bcm53xx:amber:power"; [all …]
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| D | tiny-power-button.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 #include <acpi/button.h> 8 MODULE_DESCRIPTION("ACPI Tiny Power Button Driver"); 13 MODULE_PARM_DESC(power_signal, "Power button sends this signal to init"); 42 if (device->device_type == ACPI_BUS_TYPE_POWER_BUTTON) { in acpi_tiny_power_button_add() 47 status = acpi_install_notify_handler(device->handle, in acpi_tiny_power_button_add() 53 return -ENODEV; in acpi_tiny_power_button_add() 60 if (device->device_type == ACPI_BUS_TYPE_POWER_BUTTON) { in acpi_tiny_power_button_remove() 64 acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, in acpi_tiny_power_button_remove() 71 .name = "tiny-power-button", [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/marvell/ |
| D | kirkwood-netgear_readynas_duo_v2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 11 #include "kirkwood-6282.dtsi" 15 …compatible = "netgear,readynas-duo-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k… 24 stdout-path = &uart0; 28 pinctrl: pin-controller@10000 { 29 pmx_button_power: pmx-button-power { 34 pmx_button_backup: pmx-button-backup { 39 pmx_button_reset: pmx-button-reset { 44 pmx_led_blue_power: pmx-led-blue-power { [all …]
|
| D | armada-xp-lenovo-ix4-300d.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for Lenovo Iomega ix4-300d 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-xp-mv78230.dtsi" 15 model = "Lenovo Iomega ix4-300d"; 16 compatible = "lenovo,ix4-300d", "marvell,armadaxp-mv78230", 17 "marvell,armadaxp", "marvell,armada-370-xp"; 20 stdout-path = "serial0:115200n8"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | kirkwood-netgear_readynas_duo_v2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 11 #include "kirkwood-6282.dtsi" 15 …compatible = "netgear,readynas-duo-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k… 24 stdout-path = &uart0; 28 pinctrl: pin-controller@10000 { 29 pmx_button_power: pmx-button-power { 34 pmx_button_backup: pmx-button-backup { 39 pmx_button_reset: pmx-button-reset { 44 pmx_led_blue_power: pmx-led-blue-power { [all …]
|
| D | armada-xp-lenovo-ix4-300d.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for Lenovo Iomega ix4-300d 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-xp-mv78230.dtsi" 15 model = "Lenovo Iomega ix4-300d"; 16 compatible = "lenovo,ix4-300d", "marvell,armadaxp-mv78230", 17 "marvell,armadaxp", "marvell,armada-370-xp"; 20 stdout-path = "serial0:115200n8"; [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/loongson/ |
| D | loongson2_pm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Loongson-2 PM Support 100 struct input_dev *button; in loongson2_power_button_init() local 102 button = input_allocate_device(); in loongson2_power_button_init() 104 return -ENOMEM; in loongson2_power_button_init() 106 button->name = "Power Button"; in loongson2_power_button_init() 107 button->phys = "pm/button/input0"; in loongson2_power_button_init() 108 button->id.bustype = BUS_HOST; in loongson2_power_button_init() 109 button->dev.parent = NULL; in loongson2_power_button_init() 110 input_set_capability(button, EV_KEY, KEY_POWER); in loongson2_power_button_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/parisc/ |
| D | power.c | 2 * linux/drivers/parisc/power.c 3 * HP PARISC soft power switch support driver 5 * Copyright (c) 2001-2007 Helge Deller <deller@gmx.de> 33 * Support of the soft power switch button may be enabled or disabled at 34 * runtime through the "/proc/sys/kernel/power" procfs entry. 53 /* how often should the power button be polled ? */ 56 /* how long does the power button needs to be down until we react ? */ 89 /* wait until the button was pressed for 1 second */ in process_shutdown() 104 /* main power switch task struct */ 107 /* filename in /proc which can be used to enable/disable the power switch */ [all …]
|