Home
last modified time | relevance | path

Searched +full:push +full:- +full:button (Results 1 – 25 of 47) 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 s16 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 (%d)\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 …]
/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/marvell/
H A Dkirkwood-ns2-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include "kirkwood-6281.dtsi"
8 stdout-path = &uart0;
12 pinctrl: pin-controller@10000 {
13 pmx_ns2_sata0: pmx-ns2-sata0 {
17 pmx_ns2_sata1: pmx-ns2-sata1 {
31 #address-cells = <1>;
32 #size-cells = <1>;
33 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
35 spi-max-frequency = <20000000>;
[all …]
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 …]
H A Dorion5x-lacie-d2-network.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include "orion5x-mv88f5182.dtsi"
16 compatible = "lacie,d2-network", "marvell,orion5x-88f5182", "marvell,orion5x";
25 stdout-path = &uart0;
34 gpio-keys {
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32746g-eval.dts2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
45 #include "stm32f746-pinctrl.dtsi"
46 #include <dt-bindings/input/input.h>
47 #include <dt-bindings/interrupt-controller/irq.h>
50 model = "STMicroelectronics STM32746g-EVAL board";
51 compatible = "st,stm32746g-eval", "st,stm32f746";
55 stdout-path = "serial0:115200n8";
68 compatible = "gpio-leds";
[all …]
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 …]
H A Dste-snowball.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2011 ST-Ericsson AB
6 /dts-v1/;
7 #include "ste-db9500.dtsi"
8 #include "ste-href-ab8500.dtsi"
9 #include "ste-href-family-pinctrl.dtsi"
13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
21 compatible = "simple-battery";
22 battery-type = "lithium-ion-polymer";
25 thermal-zones {
[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 …]
H A DXPPen__DecoMini4.bpf.c1 // SPDX-License-Identifier: GPL-2.0-only
17 * XP-Pen devices return a descriptor with the values the driver should use when
21 * ----- ----- ----- -----
23 * | | | `- Resolution: 5080 (13d8)
24 * | | `- Maximum pressure: 8191 (1FFF)
25 * | `- Logical maximum Y: 15240 (3B88)
26 * `- Logical maximum X: 20320 (4F60)
44 * Button 1: 06 00 05 00 00 00 00 00 -> b
45 * Button 2: 06 00 08 00 00 00 00 00 -> e
46 * Button 3: 06 04 00 00 00 00 00 00 -> LAlt
[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/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 …]
H A Dam3517-evm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include "am3517-som.dtsi"
9 #include "am3517-evm-ui.dtsi"
10 #include <dt-bindings/input/input.h>
14 compatible = "ti,am3517-evm", "ti,am3517", "ti,omap3";
21 stdout-path = &uart3;
30 compatible = "regulator-fixed";
31 regulator-name = "vmmc_fixed";
[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/arch/arm64/boot/dts/qcom/
H A Dmsm8998-sony-xperia-yoshino.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
18 qcom,msm-id = <0x124 0x20000>, <0x124 0x20001>; /* 8998v2, v2.1 */
19 qcom,board-id = <8 0>;
23 compatible = "gpio-gate-clock";
24 pinctrl-0 = <&div_clk1>;
25 pinctrl-names = "default";
27 #clock-cells = <0>;
[all …]
/linux/arch/arm/boot/dts/nxp/ls/
H A Dls1021a-moxa-uc-8410a.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017 Moxa Inc. - https://www.moxa.com/
10 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
17 model = "Moxa UC-8410A";
18 compatible = "fsl,ls1021a-moxa-uc-8410a", "fsl,ls1021a";
26 sys_mclk: clock-mclk {
27 compatible = "fixed-clock";
28 #clock-cells = <0>;
[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/qcom/
H A Dqcom-apq8074-dragonboard.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include "qcom-msm8974.dtsi"
10 /delete-node/ &mpss_region;
14 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074";
23 stdout-path = "serial0:115200n8";
26 gpio-keys {
[all …]
/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 …]

12