| /linux/Documentation/devicetree/bindings/input/ | 
| H A D | omap-keypad.txt | 3 TI's Keypad controller is used to interface a SoC with a matrix-type6 The keypad controller can sense a key-press and key-release and report the
 9 This binding is based on the matrix-keymap binding with the following
 12 keypad,num-rows and keypad,num-columns are required.
 15 - compatible: should be one of the following
 16    - "ti,omap4-keypad": For controllers compatible with omap4 keypad
 20 - linux,keypad-no-autorepeat: do no enable autorepeat feature.
 24 		compatible = "ti,omap4-keypad";
 25 		keypad,num-rows = <2>;
 26 		keypad,num-columns = <8>;
 [all …]
 
 | 
| H A D | samsung,s3c6410-keypad.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 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 …]
 
 | 
| H A D | adc-keys.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/input/adc-keys.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Alexandre Belloni <alexandre.belloni@bootlin.com>
 13   - $ref: input.yaml#
 17     const: adc-keys
 19   io-channels:
 22   io-channel-names:
 25   keyup-threshold-microvolt:
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/mfd/ | 
| H A D | tc3589x.txt | 1 * Toshiba TC3589x multi-purpose expander3 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 …]
 
 | 
| H A D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 15   - Linus Walleij <linus.walleij@linaro.org>
 18   - $ref: /schemas/spi/spi-peripheral-props.yaml#
 23       - st,stmpe601
 24       - st,stmpe801
 25       - st,stmpe811
 26       - st,stmpe1600
 27       - st,stmpe1601
 [all …]
 
 | 
| /linux/drivers/input/misc/ | 
| H A D | soc_button_array.c | 1 // SPDX-License-Identifier: GPL-2.0-only23 MODULE_PARM_DESC(use_low_level_irq, "Use low-level triggered IRQ instead of edge triggered");
 30 	bool autorepeat;  member
 52  * Some 2-in-1s which use the soc_button_array driver have this ugly issue in
 53  * their DSDT where the _LID method modifies the irq-type settings of the GPIOs
 57  * problematic because when re-enabling the irq, which happens whenever _LID
 59  * irq-type to IRQ_TYPE_LEVEL_LOW. Where as the gpio-keys driver programs the
 61  * To work around this we don't set gpio_keys_button.gpio on these 2-in-1s,
 69 		 * Acer Switch 10 SW5-012. _LID method messes with home- and
 70 		 * power-button GPIO IRQ settings. When (re-)enabling the irq
 [all …]
 
 | 
| /linux/include/linux/ | 
| H A D | hil.h | 5  * Hewlett Packard Human Interface Loop (HP-HIL) Protocol -- header.25  * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
 33  * HP-HIL Technical Reference Manual.  Hewlett Packard Product No. 45918A
 57  * implementing a software MLC to run HIL devices on a non-parisc machine.
 109 	HIL_ERR_OB	= 0x00000800, /* MLC is busy sending an auto-poll,
 131 /* This gives us a 32-bit "packet"
 140 	HIL_CMD_EPT	= 0x01,	/* Enter Pass-Thru Mode */
 141 	HIL_CMD_ELB	= 0x02,	/* Enter Loop-Back Mode */
 160 	HIL_CMD_DKA	= 0x3d,	/* Disable Keyswitch Autorepeat */
 161 	HIL_CMD_EK1	= 0x3e,	/* Enable Keyswitch Autorepeat 1 */
 [all …]
 
 | 
| H A D | hp_sdc.h | 2  * HP i8042 System Device Controller -- header22  * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
 31  * HP-HIL Technical Reference Manual.  Hewlett Packard Product No. 45918A
 34  * 	for Part Number 1820-4784 Revision B.  Dwg No. A-1820-4784-2
 50 /* No 4X status reads take longer than this (in usec).
 104 #define HP_SDC_STATUS_PUP	0x70	/* Successful power-up self test */
 134 #define HP_SDC_STR		0x7f    /* i8042 self-test result */
 146 #define HP_SDC_CFG_ROLLOVER	0x08	/* WTF is "N-key rollover"? */
 149 #define HP_SDC_CFG_KBD_OLD	0x03	/* keyboard code for non-HIL */
 167 	case 0x1: str = "1820-3712"; break;		\
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/auxdisplay/ | 
| H A D | holtek,ht16k33.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Robin van der Gracht <robin@protonic.nl>
 13   - $ref: /schemas/input/matrix-keymap.yaml#
 18       - items:
 19           - enum:
 20               - adafruit,3108  # 0.56" 4-Digit 7-Segment FeatherWing Display (Red)
 21               - adafruit,3130  # 0.54" Quad Alphanumeric FeatherWing Display (Red)
 22           - const: holtek,ht16k33
 [all …]
 
 | 
| /linux/drivers/input/keyboard/ | 
| H A D | stmpe-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Copyright (C) ST-Ericsson SA 2010
 5  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
 61  * struct stmpe_keypad_variant - model-specific attributes
 63  *		    auto-increments on multiple read
 64  * @set_pullup: whether the pins need to have their pull-ups set
 90 		.col_gpios		= 0x000ff,	/* GPIO 0 - 7 */
 91 		.row_gpios		= 0x0ff00,	/* GPIO 8 - 15 */
 100 		.col_gpios		= 0x0000ff,	/* GPIO 0 - 7*/
 101 		.row_gpios		= 0x1f7f00,	/* GPIO 8-14, 16-20 */
 [all …]
 
 | 
| H A D | gpio_keys_polled.c | 1 // SPDX-License-Identifier: GPL-2.0-only5  *  Copyright (C) 2007-2010 Gabor Juhos <juhosg@openwrt.org>
 26 #define DRV_NAME	"gpio-keys-polled"
 49 	unsigned int type = button->type ?: EV_KEY;  in gpio_keys_button_event()
 53 			input_event(input, type, button->code, button->value);  in gpio_keys_button_event()
 54 			__set_bit(button->code, bdev->rel_axis_seen);  in gpio_keys_button_event()
 58 			input_event(input, type, button->code, button->value);  in gpio_keys_button_event()
 59 			__set_bit(button->code, bdev->abs_axis_seen);  in gpio_keys_button_event()
 62 		input_event(input, type, button->code, state);  in gpio_keys_button_event()
 73 	state = gpiod_get_value_cansleep(bdata->gpiod);  in gpio_keys_polled_check_state()
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/samsung/ | 
| H A D | exynos4412-smdk4412.dts | 1 // SPDX-License-Identifier: GPL-2.05  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
 12 /dts-v1/;
 14 #include "exynos-mfc-reserved-memory.dtsi"
 31 		stdout-path = "serial1:115200n8";
 34 	fixed-rate-clocks {
 36 			compatible = "samsung,clock-xxti";
 37 			clock-frequency = <0>;
 41 			compatible = "samsung,clock-xusbxti";
 42 			clock-frequency = <24000000>;
 [all …]
 
 | 
| H A D | s3c6410-mini6410.dts | 1 // SPDX-License-Identifier: GPL-2.011 /dts-v1/;
 13 #include <dt-bindings/gpio/gpio.h>
 14 #include <dt-bindings/interrupt-controller/irq.h>
 31 	fin_pll: oscillator-0 {
 32 		compatible = "fixed-clock";
 33 		clock-frequency = <12000000>;
 34 		clock-output-names = "fin_pll";
 35 		#clock-cells = <0>;
 38 	xusbxti: oscillator-1 {
 [all …]
 
 | 
| H A D | s5pv210-smdkv210.dts | 1 // SPDX-License-Identifier: GPL-2.05  * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
 12  * NOTE: This file is completely based on original board file for mach-smdkv210
 17 /dts-v1/;
 18 #include <dt-bindings/interrupt-controller/irq.h>
 19 #include <dt-bindings/input/input.h>
 35 	pmic_ap_clk: clock-0 {
 37 		compatible = "fixed-clock";
 38 		#clock-cells = <0>;
 39 		clock-frequency = <32768>;
 [all …]
 
 | 
| H A D | exynos4210-smdkv310.dts | 1 // SPDX-License-Identifier: GPL-2.05  * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
 7  * Copyright (c) 2010-2011 Linaro Ltd.
 14 /dts-v1/;
 16 #include <dt-bindings/gpio/gpio.h>
 17 #include "exynos-mfc-reserved-memory.dtsi"
 34 		stdout-path = "serial1:115200n8";
 37 	fixed-rate-clocks {
 39 			compatible = "samsung,clock-xxti";
 40 			clock-frequency = <12000000>;
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/st/ | 
| H A D | ste-href-stuib.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * Copyright 2012 ST-Ericsson AB
 6 #include <dt-bindings/interrupt-controller/irq.h>
 10 		compatible = "gpio-keys";
 11 		#address-cells = <1>;
 12 		#size-cells = <0>;
 13 		vdd-supply = <&ab8500_ldo_aux1_reg>;
 14 		pinctrl-names = "default";
 15 		pinctrl-0 = <&prox_stuib_mode>, <&hall_stuib_mode>;
 33 			stmpe1601: port-expander@40 {
 [all …]
 
 | 
| H A D | stm32f746-disco.dts | 2  * Copyright 2017 - Vikas MANOCHA <vikas.manocha@st.com>4  * This file is dual-licensed: you can use it either under the terms
 36  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 43 /dts-v1/;
 45 #include "stm32f746-pinctrl.dtsi"
 46 #include <dt-bindings/gpio/gpio.h>
 47 #include <dt-bindings/input/input.h>
 48 #include <dt-bindings/interrupt-controller/irq.h>
 51 	model = "STMicroelectronics STM32F746-DISCO board";
 52 	compatible = "st,stm32f746-disco", "st,stm32f746";
 [all …]
 
 | 
| H A D | stm32f769-disco.dts | 2  * Copyright 2017 - Vikas MANOCHA <vikas.manocha@st.com>4  * This file is dual-licensed: you can use it either under the terms
 36  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 43 /dts-v1/;
 45 #include "stm32f769-pinctrl.dtsi"
 46 #include <dt-bindings/input/input.h>
 47 #include <dt-bindings/gpio/gpio.h>
 50 	model = "STMicroelectronics STM32F769-DISCO board";
 51 	compatible = "st,stm32f769-disco", "st,stm32f769";
 55 		stdout-path = "serial0:115200n8";
 [all …]
 
 | 
| H A D | stm32746g-eval.dts | 2  * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>4  * This file is dual-licensed: you can use it either under the terms
 36  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 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";
 [all …]
 
 | 
| H A D | ste-href-tvk1281618-r3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later7 #include <dt-bindings/interrupt-controller/irq.h>
 8 #include <dt-bindings/input/input.h>
 12 		compatible = "gpio-keys";
 13 		#address-cells = <1>;
 14 		#size-cells = <0>;
 15 		vdd-supply = <&ab8500_ldo_aux1_reg>;
 16 		pinctrl-names = "default";
 17 		pinctrl-0 = <&hall_tvk_mode>;
 32 				interrupt-parent = <&gpio2>;
 [all …]
 
 | 
| H A D | stm32f469-disco.dts | 2  * Copyright 2016 - Lee Jones <lee.jones@linaro.org>4  * This file is dual-licensed: you can use it either under the terms
 22  *     MA 02110-1301 USA
 41  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 48 /dts-v1/;
 50 #include "stm32f469-pinctrl.dtsi"
 51 #include <dt-bindings/gpio/gpio.h>
 52 #include <dt-bindings/input/input.h>
 55 	model = "STMicroelectronics STM32F469i-DISCO board";
 56 	compatible = "st,stm32f469i-disco", "st,stm32f469";
 [all …]
 
 | 
| H A D | ste-nomadik-nhk15.dts | 1 // SPDX-License-Identifier: GPL-2.06 /dts-v1/;
 7 #include <dt-bindings/interrupt-controller/irq.h>
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include "ste-nomadik-stn8815.dtsi"
 13 	compatible = "st,nomadik-nhk-15";
 22 		stmpe-i2c0 = &stmpe0;
 23 		stmpe-i2c1 = &stmpe1;
 71 		disable-sxtalo;
 72 		disable-mxtalo;
 [all …]
 
 | 
| H A D | stm32f429-disco.dts | 2  * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>4  * This file is dual-licensed: you can use it either under the terms
 22  *     MA 02110-1301 USA
 41  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 48 /dts-v1/;
 50 #include "stm32f429-pinctrl.dtsi"
 51 #include <dt-bindings/input/input.h>
 52 #include <dt-bindings/interrupt-controller/irq.h>
 53 #include <dt-bindings/gpio/gpio.h>
 56 	model = "STMicroelectronics STM32F429i-DISCO board";
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/qcom/ | 
| H A D | qcom-msm8226-samsung-matisse-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause7  * The .dts should first include qcom-msm8226.dtsi or msm8926.dtsi depending on
 11 #include <dt-bindings/input/input.h>
 14 /delete-node/ &adsp_region;
 15 /delete-node/ &mba_region;
 16 /delete-node/ &mpss_region;
 17 /delete-node/ &smem_region;
 27 		#address-cells = <1>;
 28 		#size-cells = <1>;
 31 		stdout-path = "display0";
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/freescale/ | 
| H A D | mba8mx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)3  * Copyright 2020-2021 TQ-Systems GmbH
 6 #include <dt-bindings/net/ti-dp83867.h>
 8 /* TQ-Systems GmbH MBa8Mx baseboard */
 12 		compatible = "pwm-backlight";
 14 		brightness-levels = <0 4 8 16 32 64 128 255>;
 15 		default-brightness-level = <7>;
 16 		power-supply = <®_12v>;
 17 		enable-gpios = <&expander2 2 GPIO_ACTIVE_HIGH>;
 22 		compatible = "pwm-beeper";
 [all …]
 
 |