Home
last modified time | relevance | path

Searched +full:long +full:- +full:press (Results 1 – 25 of 192) sorted by relevance

12345678

/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Drohm,bd71847-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is
18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica…
19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic…
24 - rohm,bd71847
25 - rohm,bd71850
[all …]
H A Drohm,bd71837-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
13 BD71837MWV is programmable Power Management ICs for powering single-core,
14 dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low
18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica…
35 clock-names:
38 "#clock-cells":
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/
H A DREADME.md5 Chassis Power Control service exposes D-Bus methods for chassis power operations
14 - simPress - To emulate physical power button press.
15 - simLongPress - To emulate physical power button long press.
19 - Released - Power button released signal.
20 - Pressed - Power button pressed signal.
21 - PressedLong - Power button long pressed signal.
30 - simPress - To emulate ID button press.
34 - Released - ID button released signal.
35 - Pressed - ID button pressed signal.
44 - simPress - To emulate reset button press.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dmediatek,pmic-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen Zhong <chen.zhong@mediatek.com>
13 - $ref: input.yaml#
19 by the PMIC that is defined as a Multi-Function Device (MFD).
27 - mediatek,mt6323-keys
28 - mediatek,mt6331-keys
29 - mediatek,mt6357-keys
[all …]
H A Dda9062-onkey.txt11 - compatible: should be one of the following valid compatible string lines:
12 "dlg,da9061-onkey", "dlg,da9062-onkey"
13 "dlg,da9062-onkey"
14 "dlg,da9063-onkey"
18 - dlg,disable-key-power : Disable power-down using a long key-press. If this
20 press when triggered using a long press of the OnKey.
26 compatible = "dlg,da9063-onkey";
27 dlg,disable-key-power;
35 compatible = "dlg,da9062-onkey";
36 dlg,disable-key-power;
[all …]
H A Dti,palmas-pwrbutton.txt10 - 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
20 - ti,palmas-pwron-debounce-milli-seconds: Duration in milliseconds
22 a press for debouncing purposes. NOTE: This depends on specific
29 compatible = "ti,palmas-pwrbutton";
30 interrupt-parent = <&tps659038>;
32 ti,palmas-long-press-seconds = <12>;
33 ti,palmas-pwron-debounce-milli-seconds = <15>;
H A Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
/openbmc/phosphor-buttons/
H A DREADME.md1 # phosphor-buttons
3 Phosphor-buttons has a collection of IO event handler interfaces for physical
8 its associated IO for event changes and emits signals that the button-handler
19 If the power is on, it depends on how long the press was and which options are
22 - Short press: Do a host power off
23 - Long press, as determined by the 'long-press-time-ms' meson option: Do a
28 The 'power-button-profile' meson option can be used to select custom power
33 - host_then_chassis_poweroff: When power is on, short presses are ignored and a
34 long press issues a host power off first and then a chassis power off if held
38 ### Multi-Host Buttons
[all …]
H A Dmeson.options2 'id-led-group',
9 'long-press-time-ms',
12 description : 'Time to long press the button'
16 'lookup-gpio-base',
23 'power-button-profile',
31 'reset-button-do-warm-reboot',
38 'host-instances',
/openbmc/linux/Documentation/ABI/obsolete/
H A Dsysfs-driver-hid-roccat-pyra1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
5 press of a button.
22 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
26 range 0-4.
31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
43 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
48 The data is 6 bytes long.
51 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
55 press of a button. A profile is split in settings and buttons.
58 buttons back to the mouse. The data has to be 19 bytes long.
[all …]
H A Dsysfs-driver-hid-roccat-savu1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
5 press of a button. A profile is split into general settings and
9 47 bytes long.
17 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
21 profile will be read next. The data has to be 3 bytes long.
25 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
29 press of a button. A profile is split into general settings and
33 settings back to the mouse. The data has to be 43 bytes long.
40 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
45 The data is 8 bytes long.
[all …]
H A Dsysfs-driver-hid-roccat-konepure1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
5 press of a button. actual_profile holds number of actual profile.
9 The data has to be 3 bytes long.
13 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
17 profile will be read next. The data has to be 3 bytes long.
21 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
26 The data is 6 bytes long.
29 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
36 included in written data. The data has to be 2082 bytes long.
40 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
[all …]
H A Dsysfs-driver-hid-roccat-kovaplus1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
4 Description: The integer value of this attribute ranges from 1-4.
11 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
14 Description: The integer value of this attribute ranges from 0-4.
22 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
25 Description: The integer value of this attribute ranges from 1-10.
32 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
35 Description: The integer value of this attribute ranges from 1-10.
42 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
54 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
[all …]
H A Dsysfs-driver-hid-roccat-koneplus1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
4 Description: The integer value of this attribute ranges from 0-4.
12 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
15 Description: The integer value of this attribute ranges from 0-4.
24 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
36 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
41 The data is 8 bytes long.
44 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
51 included in written data. The data has to be 2082 bytes long.
55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/Buttons/
H A DPower.interface.yaml4 - name: simPress
6 Emulate power button press.
8 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
9 - xyz.openbmc_project.Chassis.Common.Error.IOError
10 - name: simLongPress
12 Emulate power button long press.
14 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
15 - xyz.openbmc_project.Chassis.Common.Error.IOError
18 - name: Enabled
25 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
[all …]
H A DButton.interface.yaml7 - name: simPress
9 Emulate button press.
11 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
12 - xyz.openbmc_project.Chassis.Common.Error.IOError
13 - name: simRelease
17 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
18 - xyz.openbmc_project.Chassis.Common.Error.IOError
19 - name: simLongPress
21 Emulate long button press.
23 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
[all …]
/openbmc/linux/drivers/input/misc/
H A Datc260x-onkey.c1 // SPDX-License-Identifier: GPL-2.0+
17 /* <2s for short press, >2s for long press */
80 reg_bm = onkey->params->long_int_pnd_bm | in atc2603x_onkey_hw_init()
81 onkey->params->short_int_pnd_bm | in atc2603x_onkey_hw_init()
82 onkey->params->kdwn_int_pnd_bm | in atc2603x_onkey_hw_init()
83 onkey->params->press_int_en_bm | in atc2603x_onkey_hw_init()
84 onkey->params->kdwn_int_en_bm; in atc2603x_onkey_hw_init()
87 reg_bm |= onkey->params->press_time_bm; in atc2603x_onkey_hw_init()
90 reg_bm |= onkey->params->reset_en_bm; in atc2603x_onkey_hw_init()
92 reg_bm |= onkey->params->reset_en_bm | in atc2603x_onkey_hw_init()
[all …]
H A Dpalmas-pwrbutton.c1 // SPDX-License-Identifier: GPL-2.0-only
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
41 * @long_press_time_val: value for long press h/w shutdown event
50 * palmas_power_button_work() - Detects the button release event
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()
65 dev_err(input_dev->dev.parent, in palmas_power_button_work()
73 schedule_delayed_work(&pwron->input_work, in palmas_power_button_work()
[all …]
/openbmc/phosphor-buttons/inc/
H A Dbutton_handler.hpp45 * There are 3 buttons supported - Power, ID, and Reset.
47 * check for that button on D-Bus before listening for its signals.
62 * @param[in] bus - sdbusplus connection object
68 * @brief The handler for a power button press
72 * @param[in] msg - sdbusplus message from signal
77 * @brief The handler for an ID button press
81 * @param[in] msg - sdbusplus message from signal
86 * @brief The handler for a reset button press
90 * @param[in] msg - sdbusplus message from signal
95 * @brief The handler for a OCP debug card host selector button press
[all …]
/openbmc/linux/drivers/platform/x86/intel/
H A Dvbtn.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
38 { KE_KEY, 0xC0, { KEY_POWER } }, /* power key press */
40 { KE_KEY, 0xC2, { KEY_LEFTMETA } }, /* 'Windows' key press */
42 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */
43 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */
44 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */
45 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */
46 { KE_KEY, 0xC8, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key press */
47 { KE_KEY, 0xC9, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key release */
[all …]
H A Dhid.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
20 TABLET_SW_AUTO = -1,
30 "If you need this please report this to: platform-driver-x86@vger.kernel.org");
35 "Enable SW_TABLET_MODE reporting -1:auto 0:off 1:at-first-event 2:at-probe. "
36 "If you need this please report this to: platform-driver-x86@vger.kernel.org");
58 /* 1: LSuper (Page 0x07, usage 0xE3) -- unclear what to do */
59 /* 2: Toggle SW_ROTATE_LOCK -- easy to implement if seen in wild */
68 /* 13 has two different meanings in the spec -- ignore it. */
76 /* 27: wake -- needs special handling */
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-icade.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include "hid-ids.h"
48 * < copy of hid_keyboard[] from hid-input.c >
53 * int press;
101 * for (trans = icade_keys; trans->from; trans++) {
102 * int usage = usage_for_key (trans->from);
109 * printf ("\tu8 press:1;\n");
113 * for (trans = icade_keys; trans->from; trans++) {
115 * usage_for_key (trans->from), trans->to, trans->press);
127 u8 press:1; member
[all …]
/openbmc/linux/drivers/mfd/
H A Drohm-bd718x7.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 // https://www.rohm.com/datasheet/BD71837MWV/bd71837mwv-e
14 #include <linux/mfd/rohm-bd718x7.h>
23 .gpio = -1,
30 .name = "bd718xx-pwrkey",
35 .name = "gpio-keys",
39 { .name = "bd71837-clk", },
40 { .name = "bd71837-pmic", },
45 .name = "gpio-keys",
49 { .name = "bd71847-clk", },
[all …]
/openbmc/phosphor-buttons/src/
H A Dbutton_handler.cpp7 #include <phosphor-logging/lg2.hpp>
26 {"chassis-on", Chassis::Transition::On},
27 {"chassis-off", Chassis::Transition::Off},
28 {"chassis-cycle", Chassis::Transition::PowerCycle}};
53 /* So far, there are two modes for multi-host power control in Handler()
54 - host select button mode, e.g.: Yosemite V2 in Handler()
58 - multi power button mode, e.g.: Greatlakes in Handler()
75 if (gpioConfig.contains("multi-action")) in Handler()
78 const auto& multiActCfg = gpioConfig["multi-action"]; in Handler()
85 mapEntry[duration] = chassisPwrCtl->second; in Handler()
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dtrackpoint.h1 /* SPDX-License-Identifier: GPL-2.0-only */
67 #define TP_REACH 0x57 /* Backup for Z-axis press */
70 /* with Z-axis pressed) */
75 #define TP_THRESH 0x5C /* Minimum value for a Z-axis press */
76 #define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */
77 #define TP_Z_TIME 0x5E /* How sharp of a press */
79 #define TP_DRIFT_TIME 0x5F /* How long a 'hands off' condition */
96 #define TP_TOGGLE_PTSON 0x2C /* Press to Select */

12345678