/linux/Documentation/devicetree/bindings/input/ |
H A D | lpc32xx-key.txt | 3 This binding is based on the matrix-keymap binding with the following 7 - compatible: Should be "nxp,lpc3220-key" 8 - reg: Physical base address of the controller and length of memory mapped 10 - interrupts: The interrupt number to the cpu. 11 - clocks: phandle to clock controller plus clock-specifier pair 12 - nxp,debounce-delay-ms: Debounce delay in ms 13 - nxp,scan-delay-ms: Repeated scan period in ms 14 - linux,keymap: the key-code to be reported when the key is pressed 16 Documentation/devicetree/bindings/input/matrix-keymap.txt 18 Note: keypad,num-rows and keypad,num-columns are required, and must be equal [all …]
|
H A D | gpio-matrix-keypad.txt | 6 keypad can sense a key-press and key-release by means of GPIO lines and 10 - compatible: Should be "gpio-matrix-keypad" 11 - row-gpios: List of gpios used as row lines. The gpio specifier 14 - col-gpios: List of gpios used as column lines. The gpio specifier 17 - linux,keymap: The definition can be found at 18 bindings/input/matrix-keymap.txt 21 - linux,no-autorepeat: do no enable autorepeat feature. 22 - wakeup-source: use any event on keypad as wakeup event. 24 - debounce-delay-ms: debounce interval in milliseconds 25 - col-scan-delay-us: delay, measured in microseconds, that is needed [all …]
|
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@baylibre.com> 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 …]
|
/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 | nuvoton,nau8825.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - John Hsu <KCHSU0@nuvoton.com> 13 - $ref: dai-common.yaml# 18 - nuvoton,nau8825 26 nuvoton,jkdet-enable: 31 nuvoton,jkdet-pull-enable: 34 If set - pin pull enabled, otherwise pin in high impedance state. 37 nuvoton,jkdet-pull-up: [all …]
|
H A D | rt5682.txt | 7 - compatible : "realtek,rt5682" or "realtek,rt5682i" 9 - reg : The I2C address of the device. 11 - AVDD-supply: phandle to the regulator supplying analog power through the 14 - MICVDD-supply: phandle to the regulator supplying power for the microphone 17 - VBAT-supply: phandle to the regulator supplying battery power through the 20 - DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD 23 - LDO1-IN-supply: phandle to the regulator supplying power to the digital core 28 - interrupts : The CODEC's interrupt output. 30 - realtek,dmic1-data-pin 35 - realtek,dmic1-clk-pin [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/mfd/ |
H A 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 …]
|
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-Clause 3 --- 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/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/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/drivers/input/keyboard/ |
H A D | lpc32xx-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 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.0 16 #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 …]
|
/linux/drivers/extcon/ |
H A D | extcon-palmas.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * 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.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 25 "#address-cells": 30 "#size-cells": 37 broken-cd: 42 cd-gpios: 47 non-removable: [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8994-sony-xperia-kitakami.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #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-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 …]
|
H A D | sdm630-sony-xperia-nile.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 10 #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-only 5 /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-later 3 * 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 …]
|