| /linux/Documentation/devicetree/bindings/sound/ | 
| H A D | nuvoton,nau8821.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Seven Lee <wtli@nuvoton.com>
 13   - $ref: dai-common.yaml#
 25   nuvoton,jkdet-enable:
 29   nuvoton,jkdet-pull-enable:
 30     description: Enable JKDET pin pull. If set - pin pull enabled,
 34   nuvoton,jkdet-pull-up:
 35     description: Pull-up JKDET pin. If set then JKDET pin is pull up,
 [all …]
 
 | 
| H A D | wlf,wm8903.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 30   - patches@opensource.cirrus.com
 39   gpio-controller: true
 40   '#gpio-cells':
 46   micdet-cfg:
 51   micdet-delay:
 54     description: The debounce delay for microphone detection in mS.
 56   gpio-cfg:
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/input/ | 
| H A D | nvidia,tegra20-kbc.txt | 7 - compatible: "nvidia,tegra20-kbc"8 - reg: Register base address of KBC.
 9 - interrupts: Interrupt number for the KBC.
 10 - nvidia,kbc-row-pins: The KBC pins which are configured as row. This is an
 12 - nvidia,kbc-col-pins: The KBC pins which are configured as column. This is an
 14 - linux,keymap: The keymap for keys as described in the binding document
 15   devicetree/bindings/input/matrix-keymap.txt.
 16 - clocks: Must contain one entry, for the module clock.
 17   See ../clocks/clock-bindings.txt for details.
 18 - resets: Must contain an entry for each entry in reset-names.
 [all …]
 
 | 
| H A D | mediatek,mt6779-keypad.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/input/mediatek,mt6779-keypad.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Mattijs Korpershoek <mkorpershoek@kernel.org>
 13   - $ref: /schemas/input/matrix-keymap.yaml#
 16   Mediatek's Keypad controller is used to interface a SoC with a matrix-type
 19   The keypad controller can sense a key-press and key-release and report the
 25       - const: mediatek,mt6779-keypad
 26       - items:
 [all …]
 
 | 
| H A D | cirrus,ep9307-keypad.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/input/cirrus,ep9307-keypad.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Alexander Sverdlin <alexander.sverdlin@gmail.com>
 13   - $ref: /schemas/input/matrix-keymap.yaml#
 16   The KPP is designed to interface with a keypad matrix with 2-point contact
 17   or 3-point contact keys. The KPP is designed to simplify the software task
 24       - const: cirrus,ep9307-keypad
 25       - items:
 [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/Documentation/devicetree/bindings/extcon/ | 
| H A D | extcon-palmas.txt | 5  - compatible: should contain one of:6    * "ti,palmas-usb-vid".
 7    * "ti,twl6035-usb-vid".
 8    * "ti,palmas-usb" (DEPRECATED - use "ti,palmas-usb-vid").
 9    * "ti,twl6035-usb" (DEPRECATED - use "ti,twl6035-usb-vid").
 12  - ti,wakeup : To enable the wakeup comparator in probe
 13  - ti,enable-id-detection: Perform ID detection. If id-gpio is specified
 14 		it performs id-detection using GPIO else using OTG core.
 15  - ti,enable-vbus-detection: Perform VBUS detection.
 16  - id-gpio: gpio for GPIO ID detection. See gpio binding.
 [all …]
 
 | 
| H A D | wlf,arizona.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - patches@opensource.cirrus.com
 20   wlf,hpdet-channel:
 30   wlf,use-jd2:
 35   wlf,use-jd2-nopull:
 40   wlf,jd-invert:
 45   wlf,micd-software-compare:
 50   wlf,micd-detect-debounce:
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/input/touchscreen/ | 
| H A D | azoteq,iqs7211.yaml | 1 # 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>
 13   The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control-
 14   lers employ projected-capacitance sensing and can track two contacts.
 21       - azoteq,iqs7210a
 22       - azoteq,iqs7211a
 23       - azoteq,iqs7211e
 28   irq-gpios:
 [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 | lpc32xx-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later62 	u32 deb_clks;		/* Debounce clocks (based on 32KHz clock) */
 63 	u32 scan_delay;		/* Scan delay (based on 32KHz clock) */
 73 	struct input_dev *input = kscandat->input;  in lpc32xx_mod_states()
 77 	key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col));  in lpc32xx_mod_states()
 78 	changed = key ^ kscandat->lastkeystates[col];  in lpc32xx_mod_states()
 79 	kscandat->lastkeystates[col] = key;  in lpc32xx_mod_states()
 85 						    kscandat->row_shift);  in lpc32xx_mod_states()
 86 			keycode = kscandat->keymap[scancode];  in lpc32xx_mod_states()
 98 	for (i = 0; i < kscandat->matrix_sz; i++)  in lpc32xx_kscan_irq()
 [all …]
 
 | 
| H A D | mt6779-keypad.c | 1 // SPDX-License-Identifier: GPL-2.016 #define MTK_KPD_NAME		"mt6779-keypad"
 51 	const unsigned short *keycode = keypad->input_dev->keycode;  in mt6779_keypad_irq_handler()
 57 	unsigned int row_shift = get_count_order(keypad->n_cols);  in mt6779_keypad_irq_handler()
 60 	regmap_bulk_read(keypad->regmap, MTK_KPD_MEM,  in mt6779_keypad_irq_handler()
 63 	bitmap_xor(change, new_state, keypad->keymap_state, MTK_KPD_NUM_BITS);  in mt6779_keypad_irq_handler()
 74 		keypad->calc_row_col(key, &row, &col);  in mt6779_keypad_irq_handler()
 79 		dev_dbg(&keypad->input_dev->dev, "%s",  in mt6779_keypad_irq_handler()
 82 		input_event(keypad->input_dev, EV_MSC, MSC_SCAN, scancode);  in mt6779_keypad_irq_handler()
 83 		input_report_key(keypad->input_dev, keycode[scancode], pressed);  in mt6779_keypad_irq_handler()
 [all …]
 
 | 
| H A D | ep93xx_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only64 	unsigned int debounce;  member
 82 	struct input_dev *input_dev = keypad->input_dev;  in ep93xx_keypad_irq_handler()
 86 	status = __raw_readl(keypad->mmio_base + KEY_REG);  in ep93xx_keypad_irq_handler()
 89 	key1 = keypad->keycodes[keycode];  in ep93xx_keypad_irq_handler()
 92 	key2 = keypad->keycodes[keycode];  in ep93xx_keypad_irq_handler()
 95 		if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1)  in ep93xx_keypad_irq_handler()
 96 			input_report_key(input_dev, keypad->key1, 0);  in ep93xx_keypad_irq_handler()
 98 		if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2)  in ep93xx_keypad_irq_handler()
 99 			input_report_key(input_dev, keypad->key2, 0);  in ep93xx_keypad_irq_handler()
 [all …]
 
 | 
| H A D | tc3589x-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Copyright (C) ST-Ericsson SA 2010
 73  * struct tc3589x_keypad_platform_data - platform specific keypad data
 77  * @debounce_period:    platform specific debounce time
 95  * struct tc_keypad - data structure used by keypad driver
 117 	struct tc3589x *tc3589x = keypad->tc3589x;  in tc3589x_keypad_init_key_hardware()
 118 	const struct tc3589x_keypad_platform_data *board = keypad->board;  in tc3589x_keypad_init_key_hardware()
 121 	if (board->kcol > TC3589x_MAX_KPCOL || board->krow > TC3589x_MAX_KPROW)  in tc3589x_keypad_init_key_hardware()
 122 		return -EINVAL;  in tc3589x_keypad_init_key_hardware()
 126 			(board->krow << KP_ROW_SHIFT) | board->kcol);  in tc3589x_keypad_init_key_hardware()
 [all …]
 
 | 
| /linux/drivers/extcon/ | 
| H A D | extcon-palmas.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later5  * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com
 12 #include <linux/devm-helpers.h>
 24 #define USB_GPIO_DEBOUNCE_MS	20	/* ms */
 44 	struct extcon_dev *edev = palmas_usb->edev;  in palmas_vbus_irq_handler()
 47 	palmas_read(palmas_usb->palmas, PALMAS_INTERRUPT_BASE,  in palmas_vbus_irq_handler()
 51 		if (palmas_usb->linkstat != PALMAS_USB_STATE_VBUS) {  in palmas_vbus_irq_handler()
 52 			palmas_usb->linkstat = PALMAS_USB_STATE_VBUS;  in palmas_vbus_irq_handler()
 54 			dev_dbg(palmas_usb->dev, "USB cable is attached\n");  in palmas_vbus_irq_handler()
 56 			dev_dbg(palmas_usb->dev,  in palmas_vbus_irq_handler()
 [all …]
 
 | 
| H A D | extcon-max8997.c | 1 // SPDX-License-Identifier: GPL-2.0+3 // extcon-max8997.c - MAX8997 extcon driver to support MAX8997 MUIC
 8 #include <linux/devm-helpers.h>
 18 #include <linux/mfd/max8997-private.h>
 19 #include <linux/extcon-provider.h>
 22 #define	DEV_NAME			"max8997-muic"
 26 	ADC_DEBOUNCE_TIME_0_5MS = 0,	/* 0.5ms */
 27 	ADC_DEBOUNCE_TIME_10MS,		/* 10ms */
 28 	ADC_DEBOUNCE_TIME_25MS,		/* 25ms */
 29 	ADC_DEBOUNCE_TIME_38_62MS,	/* 38.62ms */
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/mmc/ | 
| H A D | mmc-controller-common.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/mmc/mmc-controller-common.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Ulf Hansson <ulf.hansson@linaro.org>
 14   possible slots or ports for multi-slot controllers.
 17   "#address-cells":
 22   "#size-cells":
 29   broken-cd:
 34   cd-gpios:
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/qcom/ | 
| H A D | msm8994-sony-xperia-kitakami.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/gpio-keys.h>
 18 	 * and requires driver-side changes (including CPR, be warned!!).
 21 	qcom,msm-id = <207 0x20000>, <207 0x20001>;
 23 	qcom,pmic-id = <0x10009 0x1000a 0x00 0x00>;
 25 	qcom,board-id = <8 0>;
 28 	/delete-node/ psci;
 30 	gpio-keys {
 31 		compatible = "gpio-keys";
 [all …]
 
 | 
| H A D | msm8998-sony-xperia-yoshino.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause8 #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 …]
 
 | 
| H A D | sdm630-sony-xperia-nile.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/input.h>
 12 #include <dt-bindings/input/gpio-keys.h>
 13 #include <dt-bindings/leds/common.h>
 17 	qcom,msm-id = <318 0>;
 18 	qcom,board-id = <8 1>;
 19 	qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>;
 21 	/* This part enables graphical output via bootloader-enabled display */
 25 		#address-cells = <2>;
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/ti/omap/ | 
| H A D | omap4-duovero-parlor.dts | 1 // SPDX-License-Identifier: GPL-2.0-only5 /dts-v1/;
 7 #include "omap4-duovero.dtsi"
 9 #include <dt-bindings/input/input.h>
 13 	compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4";
 20 		compatible = "gpio-leds";
 24 			linux,default-trigger = "heartbeat";
 29 		compatible = "gpio-keys";
 30 		#address-cells = <1>;
 31 		#size-cells = <0>;
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/freescale/ | 
| H A D | imx8mn-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)4  * Copyright 2019-2020 Variscite Ltd.
 11 	model = "Variscite VAR-SOM-MX8MN module";
 12 	compatible = "variscite,var-som-mx8mn", "fsl,imx8mn";
 15 		stdout-path = &uart4;
 23 	reg_eth_phy: regulator-eth-phy {
 24 		compatible = "regulator-fixed";
 25 		pinctrl-names = "default";
 26 		pinctrl-0 = <&pinctrl_reg_eth_phy>;
 27 		regulator-name = "eth_phy_pwr";
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/nxp/lpc/ | 
| H A D | lpc3250-phy3250.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * PHYTEC phyCORE-LPC3250 board
 5  * Copyright (C) 2015-2019 Vladimir Zapolskiy <vz@mleia.com>
 9 /dts-v1/;
 13 	model = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250";
 22 		compatible = "gpio-leds";
 26 			default-state = "off";
 31 			linux,default-trigger = "heartbeat";
 37 		power-supply = <®_lcd>;
 41 				remote-endpoint = <&cldc_output>;
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/st/ | 
| 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 …]
 
 |