/linux-6.12.1/arch/arm/boot/dts/st/ |
D | ste-nomadik-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson 5 #include <dt-bindings/pinctrl/nomadik.h> 9 ste,input = <INPUT_NOPULL>; 13 ste,input = <INPUT_PULLUP>; 17 ste,input = <INPUT_PULLDOWN>; 30 ste,input = <INPUT_NOPULL>; 35 ste,input = <INPUT_PULLUP>; 40 ste,input = <INPUT_PULLDOWN>; 55 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/power/ |
D | wakeup-source.txt | 1 Specifying wakeup capability for devices 5 ---------------- 6 Nodes that describe devices which have wakeup capability may contain a 7 "wakeup-source" boolean property. 9 If the device is marked as a wakeup-source, interrupt wake capability depends 10 on the device specific "interrupt-names" property. If no interrupts are labeled 14 However if a device has a dedicated interrupt as the wakeup source, then it 16 cases only that interrupt can be used as a wakeup interrupt. 18 While various legacy interrupt names exist, new devices should use "wakeup" as 22 --------------------------------------------------------- [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/input/ |
D | gpio-keys.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 15 - gpio-keys 16 - gpio-keys-polled 23 poll-interval: true 26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc… 27 $ref: input.yaml# [all …]
|
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 …]
|
D | atmel,maxtouch.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/atmel,maxtouch.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nick Dyer <nick@shmanahar.org> 11 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: input.yaml# 30 vdda-supply: 34 vdd-supply: 38 reset-gpios: [all …]
|
D | samsung,s3c6410-keypad.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/input/samsung,s3c6410-keypad.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Samsung SoC Keypad controller is used to interface a SoC with a matrix-type 13 The keypad controller can sense a key-press and key-release and report the 17 - Krzysztof Kozlowski <krzk@kernel.org> 22 - samsung,s3c6410-keypad 23 - samsung,s5pv210-keypad 31 clock-names: [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/power/reset/ |
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-6.12.1/drivers/input/keyboard/ |
D | gpio_keys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <linux/input.h> 31 #include <dt-bindings/input/gpio-keys.h> 35 struct input_dev *input; member 41 unsigned int release_delay; /* in msecs, for IRQ-only buttons */ 45 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */ 60 struct input_dev *input; member 69 * There are 4 attributes under /sys/devices/platform/gpio-keys/ 70 * keys [ro] - bitmap of keys (EV_KEY) which can be 72 * switches [ro] - bitmap of switches (EV_SW) which can be [all …]
|
D | snvs_pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/input.h> 39 int wakeup; member 41 struct input_dev *input; member 48 struct input_dev *input = pdata->input; in imx_imx_snvs_check_for_events() local 51 regmap_read(pdata->snvs, SNVS_HPSR_REG, &state); in imx_imx_snvs_check_for_events() 55 if (state ^ pdata->keystate) { in imx_imx_snvs_check_for_events() 56 pdata->keystate = state; in imx_imx_snvs_check_for_events() 57 input_event(input, EV_KEY, pdata->keycode, state); in imx_imx_snvs_check_for_events() 58 input_sync(input); in imx_imx_snvs_check_for_events() [all …]
|
D | gpio_keys_polled.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2010 Gabor Juhos <juhosg@openwrt.org> 8 * This file was based on: /drivers/input/misc/cobalt_btns.c 11 * also was based on: /drivers/input/keyboard/gpio_keys.c 18 #include <linux/input.h> 26 #define DRV_NAME "gpio-keys-polled" 36 struct input_dev *input; member 44 static void gpio_keys_button_event(struct input_dev *input, in gpio_keys_button_event() argument 48 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_button_event() 49 unsigned int type = button->type ?: EV_KEY; in gpio_keys_button_event() [all …]
|
/linux-6.12.1/Documentation/input/ |
D | input-programming.rst | 2 Creating an input device driver 8 Here comes a very simple example of an input device driver. The device has 12 #include <linux/input.h> 34 return -EBUSY; 40 error = -ENOMEM; 44 button_dev->evbit[0] = BIT_MASK(EV_KEY); 45 button_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0); 74 First it has to include the <linux/input.h> file, which interfaces to the 75 input subsystem. This provides all the definitions needed. 81 Then it allocates a new input device structure with input_allocate_device() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | ste,nomadik.txt | 4 - compatible: "stericsson,db8500-pinctrl", "stericsson,db8540-pinctrl", 5 "stericsson,stn8815-pinctrl" 6 - nomadik-gpio-chips: array of phandles to the corresponding GPIO chips 8 - prcm: phandle to the PRCMU managing the back end of this pin controller 10 Please refer to pinctrl-bindings.txt in this directory for details of the 18 parameters, such as input, output, pull up, pull down... 23 (see pinctrl-bindings.txt): 26 - function: A string containing the name of the function to mux to the 28 - groups : An array of strings. Each string contains the name of a pin 30 set-up. [all …]
|
/linux-6.12.1/drivers/platform/x86/ |
D | xo15-ebook.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * OLPC XO-1.5 ebook switch driver 16 #include <linux/input.h> 19 #define MODULE_NAME "xo15-ebook" 29 MODULE_DESCRIPTION("OLPC XO-1.5 ebook switch driver"); 39 struct input_dev *input; member 40 char phys[32]; /* for input device */ 49 status = acpi_evaluate_integer(device->handle, "EBK", NULL, &state); in ebook_send_state() 51 return -EIO; in ebook_send_state() 53 /* input layer checks if event is redundant */ in ebook_send_state() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/accel/ |
D | lis302.txt | 8 - compatible: should be set to "st,lis3lv02d-spi" 9 - reg: the chipselect index 10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless 12 - interrupts: the interrupt generated by the device 15 - compatible: should be set to "st,lis3lv02d" 16 - reg: i2c slave address 17 - Vdd-supply: The input supply for Vdd 18 - Vdd_IO-supply: The input supply for Vdd_IO 23 - st,click-single-{x,y,z}: if present, tells the device to issue an 26 - st,click-double-{x,y,z}: if present, tells the device to issue an [all …]
|
/linux-6.12.1/include/linux/ |
D | gpio_keys.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * struct gpio_keys_button - configuration parameters 11 * @code: input event code (KEY_*, SW_*) 12 * @gpio: %-1 if this key does not support gpio 16 * @type: input event type (%EV_KEY, %EV_SW, %EV_ABS) 17 * @wakeup: configure the button as a wake-up source 18 * @wakeup_event_action: event action to trigger wakeup 24 * @wakeirq: Optional dedicated wake-up interrupt 32 int wakeup; member 42 * struct gpio_keys_platform_data - platform data for gpio_keys driver [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
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-6.12.1/drivers/input/touchscreen/ |
D | zforce_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012-2013 MundoReader S.L. 16 #include <linux/input.h> 17 #include <linux/input/mt.h> 18 #include <linux/input/touchscreen.h> 95 * @input the input device 96 * @suspending in the process of going to suspend (don't emit wakeup 106 struct input_dev *input; member 130 struct i2c_client *client = ts->client; in zforce_command() 134 dev_dbg(&client->dev, "%s: 0x%x\n", __func__, cmd); in zforce_command() [all …]
|
/linux-6.12.1/Documentation/power/ |
D | suspend-and-interrupts.rst | 10 ----------------------------------- 14 ->prepare, ->suspend and ->suspend_late callbacks have been executed for all 29 Device IRQs are re-enabled during system resume, right before the "early" phase 30 of resuming devices (that is, before starting to execute ->resume_early 35 ------------------------ 38 suspend-resume cycle, including the "noirq" phases of suspending and resuming 41 but also to IPIs and to some other special-purpose interrupts. 44 requesting a special-purpose interrupt. It causes suspend_device_irqs() to 46 expected during the suspend-resume cycle, but does not guarantee that the 47 interrupt will wake the system from a suspended state -- for such cases it is [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/renesas/ |
D | rzg3s-smarc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 * Device Tree Source for the RZ SMARC Carrier-II Board. 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h> 20 compatible = "gpio-keys"; 22 key-1 { 24 interrupt-parent = <&pinctrl>; 27 wakeup-source; 28 debounce-interval = <20>; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nvidia/ |
D | tegra30-asus-transformer-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 8 #include "tegra30-cpu-opp.dtsi" 9 #include "tegra30-cpu-opp-microvolt.dtsi" 12 chassis-type = "convertible"; 31 * pre-existing /chosen node to be available to insert the 37 trusted-foundations { 38 compatible = "tlm,trusted-foundations"; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/renesas/ |
D | r8a7792-blanche.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 25 stdout-path = "serial0:115200n8"; 33 d1_8v: regulator-1v8 { 34 compatible = "regulator-fixed"; 35 regulator-name = "D1.8V"; 36 regulator-min-microvolt = <1800000>; 37 regulator-max-microvolt = <1800000>; [all …]
|
D | r8a7793-gose.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2015 Renesas Electronics Corporation 9 * SSI-AK4643 36 /dts-v1/; 38 #include <dt-bindings/gpio/gpio.h> 39 #include <dt-bindings/input/input.h> 59 stdout-path = "serial0:115200n8"; 68 compatible = "gpio-keys"; 70 pinctrl-0 = <&keyboard_pins>; 71 pinctrl-names = "default"; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/microchip/ |
D | at91-kizbox3-hs.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-kizbox3-hs.dts - Device Tree file for Overkiz KIZBOX3-HS board 11 /dts-v1/; 12 #include "at91-kizbox3_common.dtsi" 15 model = "Overkiz KIZBOX3-HS"; 16 compatible = "overkiz,kizbox3-hs", "atmel,sama5d2", "atmel,sama5"; 18 led-controller-1 { 21 led-1 { 25 led-2 { 29 led-3 { [all …]
|
/linux-6.12.1/include/media/ |
D | rc-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2009-2010 by Mauro Carvalho Chehab 16 #include <media/rc-map.h> 19 * enum rc_driver_type - type of the RC driver. 23 * It needs a Infra-Red pulse/space decoder 34 * struct rc_scancode_filter - Filter scan codes. 44 * enum rc_filter_type - Filter type constants. 57 * struct lirc_fh - represents an open lirc file 82 * struct rc_dev - represents a remote control device 87 * @input_phys: physical path to the input child device [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx6q-var-dt6customboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Support for Variscite DART-MX6 Carrier-board 9 /dts-v1/; 12 #include "imx6qdl-var-dart.dtsi" 13 #include <dt-bindings/input/linux-event-codes.h> 16 model = "Variscite DART-MX6 Carrier-board"; 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 4 8 16 32 64 128 248>; 23 default-brightness-level = <7>; 27 gpio-keys { [all …]
|