Home
last modified time | relevance | path

Searched +full:push +full:- +full:button (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/input/misc/
H A Dtps65219-pwrbutton.c1 // SPDX-License-Identifier: GPL-2.0
3 // Driver for TPS65219 Push Button
5 // Copyright (C) 2022 BayLibre Incorporated - https://www.baylibre.com/
28 input_report_key(pwr->idev, KEY_POWER, 1); in tps65219_pb_push_irq()
29 pm_wakeup_event(pwr->dev, 0); in tps65219_pb_push_irq()
30 input_sync(pwr->idev); in tps65219_pb_push_irq()
39 input_report_key(pwr->idev, KEY_POWER, 0); in tps65219_pb_release_irq()
40 input_sync(pwr->idev); in tps65219_pb_release_irq()
47 struct tps65219 *tps = dev_get_drvdata(pdev->dev.parent); in tps65219_pb_probe()
48 struct device *dev = &pdev->dev; in tps65219_pb_probe()
[all …]
H A Dcs40l50-vibra.c1 // SPDX-License-Identifier: GPL-2.0
4 * integrated DSP, and closed-loop algorithms
133 if (effect->id == id) in cs40l50_find_effect()
142 u32 bank_type = work_data->custom_data[0] & CS40L50_CUSTOM_DATA_MASK; in cs40l50_effect_bank_set()
145 dev_err(work_data->vib->dev, "Invalid bank (%u)\n", bank_type); in cs40l50_effect_bank_set()
146 return -EINVAL; in cs40l50_effect_bank_set()
149 if (work_data->custom_len > CS40L50_OWT_CUSTOM_DATA_SIZE) in cs40l50_effect_bank_set()
150 effect->type = CS40L50_WVFRM_BANK_OWT; in cs40l50_effect_bank_set()
152 effect->type = bank_type; in cs40l50_effect_bank_set()
160 struct cs40l50_vibra *vib = work_data->vib; in cs40l50_effect_index_set()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
21 reporting power button status.
31 reporting power button status.
41 reporting power button status.
47 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
48 Mix-Sig PMIC.
51 will be called ab8500-ponkey.
71 module will be called ad714x-i2c.
81 module will be called ad714x-spi.
84 tristate "Dell Wyse 3020 Power Button Driver"
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dmax77650-onkey.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/max77650-onkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bartosz Golaszewski <bgolaszewski@baylibre.com>
16 The onkey controller is represented as a sub-node of the PMIC node on
20 - $ref: input.yaml#
24 const: maxim,max77650-onkey
29 maxim,onkey-slide:
32 The system's button is a slide switch, not the default push button.
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-greatlakes.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/leds/leds-pca955x.h>
8 #include <dt-bindings/i2c/i2c.h>
12 compatible = "facebook,greatlakes-bmc", "aspeed,ast2600";
23 iio-hwmon {
24 compatible = "iio-hwmon";
25 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
[all …]
/linux/drivers/hid/bpf/progs/
H A DXPPen__Artist24.bpf.c1 // SPDX-License-Identifier: GPL-2.0-only
21 * - the device reports Eraser instead of using Secondary Barrel Switch
22 * - the pen doesn't have a rubber tail, so basically we are removing any
50 0xa4, // Push 48
54 0x55, 0x0d, // Unit Exponent (-3) 55
68 0x15, 0x81, // Logical Minimum (-127) 87
74 0x15, 0x81, // Logical Minimum (-127) 99
109 * sequences, all related to the second button (the pen doesn't
112 * whenever the second button gets pressed or released, an
113 * out-of-proximity event is generated and then the firmware
[all …]
/linux/arch/arm/boot/dts/arm/
H A Dintegratorap-im-pd1.dts1 // SPDX-License-Identifier: GPL-2.0
4 * with the IM-PD1 example logical module mounted.
10 model = "ARM Integrator/AP with IM-PD1";
11 compatible = "arm,integrator-ap";
13 reserved-memory {
14 #address-cells = <1>;
15 #size-cells = <1>;
19 /* 1 MB of designated video RAM on the IM-PD1 */
20 compatible = "shared-dma-pool";
22 no-map;
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp133c-prihmb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/regulator/st,stm32mp13-regulator.h>
10 #include "stm32mp13-pinctrl.dtsi"
13 model = "Priva E-Measuringbox board";
18 mdio-gpio0 = &mdio0;
27 stdout-path = "serial0:115200n8";
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-laplug.dts1 // SPDX-License-Identifier: GPL-2.0
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
12 #include "kirkwood-6192.dtsi"
16 compatible = "lacie,laplug", "marvell,kirkwood-88f6192", "marvell,kirkwood";
25 stdout-path = &uart0;
43 pinctrl: pin-controller@10000 {
44 pmx_usb_power_enable: pmx-usb-power-enable {
52 compatible = "gpio-keys";
[all …]
H A Dkirkwood-cloudbox.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
5 #include "kirkwood-6281.dtsi"
9 compatible = "lacie,cloudbox", "marvell,kirkwood-88f6702", "marvell,kirkwood";
18 stdout-path = &uart0;
22 pinctrl: pin-controller@10000 {
23 pmx_cloudbox_sata0: pmx-cloudbox-sata0 {
34 pinctrl-0 = <&pmx_cloudbox_sata0>;
35 pinctrl-names = "default";
37 nr-ports = <1>;
[all …]
/linux/arch/arm64/boot/dts/arm/
H A Djuno-motherboard.dtsi4 * Copyright (c) 2013-2014 ARM Ltd
11 mb_clk24mhz: clock-24000000 {
12 compatible = "fixed-clock";
13 #clock-cells = <0>;
14 clock-frequency = <24000000>;
15 clock-output-names = "juno_mb:clk24mhz";
18 mb_clk25mhz: clock-25000000 {
19 compatible = "fixed-clock";
20 #clock-cells = <0>;
21 clock-frequency = <25000000>;
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-moxa-uc-2100-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2018 MOXA Inc. - https://www.moxa.com/
13 vbat: vbat-regulator {
14 compatible = "regulator-fixed";
18 vmmcsd_fixed: vmmcsd-regulator {
19 compatible = "regulator-fixed";
20 regulator-name = "vmmcsd_fixed";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
23 regulator-boot-on;
[all …]
H A Dam335x-moxa-uc-8100-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020 MOXA Inc. - https://www.moxa.com/
14 cpu0-supply = <&vdd1_reg>;
18 vbat: vbat-regulator {
19 compatible = "regulator-fixed";
23 vmmcsd_fixed: vmmcsd-regulator {
24 compatible = "regulator-fixed";
25 regulator-name = "vmmcsd_fixed";
26 regulator-min-microvolt = <3300000>;
27 regulator-max-microvolt = <3300000>;
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dbq2515x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI bq2515x 500-mA Linear charger family
11 - Andrew Davis <afd@ti.com>
17 push-button controller.
26 - ti,bq25150
27 - ti,bq25155
33 ac-detect-gpios:
39 reset-gpios:
[all …]
/linux/arch/sparc/include/asm/
H A Dbbc.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * bbc.h: Defines for BootBus Controller found on UltraSPARC-III
12 /* Register sizes are indicated by "B" (Byte, 1-byte),
13 * "H" (Half-word, 2 bytes), "W" (Word, 4 bytes) or
29 #define BBC_ES_DACT 0x14 /* [B] E* De-Assert Change Time */
30 #define BBC_ES_DABT 0x15 /* [B] E* De-Assert Bypass Time */
38 #define BBC_I2C_0_S1 0x2e /* [B] I2C ctrlr-0 reg S1 */
39 #define BBC_I2C_0_S0 0x2f /* [B] I2C ctrlr-0 regs S0,S0',S2,S3*/
40 #define BBC_I2C_1_S1 0x30 /* [B] I2C ctrlr-1 reg S1 */
41 #define BBC_I2C_1_S0 0x31 /* [B] I2C ctrlr-1 regs S0,S0',S2,S3*/
[all …]
/linux/drivers/power/reset/
H A Dltc2952-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maintainer: René Moll <linux@r-moll.nl>
8 * ----------------------------------------
9 * - Description
10 * ----------------------------------------
18 * ----------------------------------------
19 * - GPIO
20 * ----------------------------------------
23 * - trigger (input)
24 * A level change indicates the shut-down trigger. If it's state reverts
[all …]
/linux/arch/mips/include/asm/
H A Dsni.h164 * Interrupt 0-16 are EISA interrupts. Interrupts from 16 on are assigned
167 * INT2 is a wired-or of the push button interrupt, high temperature interrupt
/linux/arch/arm/boot/dts/intel/pxa/
H A Dpxa300-raumfeld-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 hw-revision = <0>;
14 stdout-path = &ffuart;
22 reg_3v3: regulator-3v3 {
23 compatible = "regulator-fixed";
24 regulator-name = "3v3-fixed-supply";
25 regulator-min-microvolt = <3300000>;
[all …]
/linux/drivers/hid/
H A Dhid-waltop.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include "hid-ids.h"
26 * mode tries to be HID-compatible (not very successfully), but cripples the
30 * represents the correct resolution, but is possibly HID-incompatible (i.e.
72 0xA4, /* Push, */
75 0x55, 0xFD, /* Unit Exponent (-3), */
123 0xA4, /* Push, */
126 0x55, 0xFD, /* Unit Exponent (-3), */
174 0xA4, /* Push, */
177 0x55, 0xFD, /* Unit Exponent (-3), */
[all …]
H A Dhid-kye.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include "hid-ids.h"
21 * - Add battery and sleep support for EasyPen M406W and MousePen M508WX
22 * - Investigate ScrollZ.MiceFMT buttons of EasyPen M406
163 0x15, 0xFF, /* Logical Minimum (-1), */
219 0x15, 0x81, /* Logical Minimum (-127), */
245 0xA4, /* Push, */
276 0x05, 0x09, /* Usage Page (Button), */
291 0xA4, /* Push, */
306 0x15, 0xFF, /* Logical Minimum (-1), */
[all …]
H A Dhid-lg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
8 * Copyright (c) 2006-2007 Jiri Kosina
25 #include "hid-ids.h"
26 #include "hid-lg.h"
27 #include "hid-lg4ff.h"
144 0x05, 0x09, /* Usage Page (Button), */
192 0x05, 0x09, /* Usage Page (Button), */
259 0x05, 0x09, /* Usage Page (Button), */
[all …]
/linux/drivers/mfd/
H A Dgateworks-gsc.c1 // SPDX-License-Identifier: GPL-2.0
3 * The Gateworks System Controller (GSC) is a multi-function
6 * system functions such as push-button monitoring, multiple ADC's for
40 * -EAGAIN returned when the i2c host controller is busy in gsc_write()
41 * -EIO returned when i2c device is busy in gsc_write()
43 if (ret != -EAGAIN && ret != -EIO) in gsc_write()
59 * -EAGAIN returned when the i2c host controller is busy in gsc_read()
60 * -EIO returned when i2c device is busy in gsc_read()
62 if (ret != -EAGAIN && ret != -EIO) in gsc_read()
72 * gsc_powerdown - API to use GSC to power down board for a specific time
[all …]
/linux/drivers/platform/x86/
H A Dfujitsu-laptop.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*-*-linux-c-*-*/
10 Adrian Yee <brewt-fujitsu@brewt.org>
12 Templated from msi-laptop.c and thinkpad_acpi.c which is copyright
18 * fujitsu-laptop.c - Fujitsu laptop support, providing access to additional
22 * This driver implements a vendor-specific backlight control interface for
27 * P8010. It should work on most P-series and S-series Lifebooks, but
47 #include <linux/input/sparse-keymap.h>
68 /* FUNC interface - command values */
74 /* FUNC interface - responses */
[all …]
/linux/arch/m68k/bvme6000/
H A Dconfig.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 #include <asm/bootinfo-vme.h>
46 if (be16_to_cpu(bi->tag) == BI_VME_TYPE) in bvme6000_parse_bootinfo()
62 pit->pcddr |= 0x10; /* WDOG enable */ in bvme6000_reset()
112 pit->pgcr = 0x00; /* Unidirectional 8 bit, no handshake for now */ in config_bvme6000()
113 pit->psrr = 0x18; /* PIACK and PIRQ functions enabled */ in config_bvme6000()
114 pit->pacr = 0x00; /* Sub Mode 00, H2 i/p, no DMA */ in config_bvme6000()
115 pit->padr = 0x00; /* Just to be tidy! */ in config_bvme6000()
116 pit->paddr = 0x00; /* All inputs for now (safest) */ in config_bvme6000()
117 pit->pbcr = 0x80; /* Sub Mode 1x, H4 i/p, no DMA */ in config_bvme6000()
[all …]
/linux/drivers/input/mouse/
H A Dsentelic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*-
5 * Copyright (C) 2005-2007 Asia Vital Components Co., Ltd.
6 * Copyright (C) 2005-2012 Tai-hwa Liang, Sentelic Corporation.
31 static const char fsp_drv_ver[] = "1.1.0-K";
73 struct ps2dev *ps2dev = &psmouse->ps2dev; in fsp_reg_read()
76 int rc = -1; in fsp_reg_read()
130 struct ps2dev *ps2dev = &psmouse->ps2dev; in fsp_reg_write()
132 int rc = -1; in fsp_reg_write()
185 if (fsp_reg_read(psmouse, FSP_REG_SYSCTL1, &v) == -1) in fsp_reg_write_enable()
[all …]

12