/Linux-v5.15/Documentation/devicetree/bindings/input/ |
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 …]
|
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 …]
|
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 …]
|
/Linux-v5.15/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-v5.15/Documentation/devicetree/bindings/auxdisplay/ |
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#" 22 refresh-rate-hz: 29 debounce-delay-ms: 35 linux,no-autorepeat: 38 default-brightness-level: 45 - compatible [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/extcon/ |
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 …]
|
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-v5.15/Documentation/devicetree/bindings/sound/ |
D | rt5682.txt | 7 - compatible : "realtek,rt5682" or "realtek,rt5682i" 9 - reg : The I2C address of the device. 13 - interrupts : The CODEC's interrupt output. 15 - realtek,dmic1-data-pin 20 - realtek,dmic1-clk-pin 24 - realtek,jd-src 28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 30 - realtek,btndet-delay 31 The debounce delay for push button. 32 The delay time is realtek,btndet-delay value multiple of 8.192 ms. [all …]
|
D | wm8903.txt | 7 - compatible : "wlf,wm8903" 9 - reg : the I2C address of the device. 11 - gpio-controller : Indicates this device is a GPIO controller. 13 - #gpio-cells : Should be two. The first cell is the pin number and the 18 - interrupts : The interrupt line the codec is connected to. 20 - micdet-cfg : Default register value for R6 (Mic Bias). If absent, the 23 - micdet-delay : The debounce delay for microphone detection in mS. If 26 - gpio-cfg : A list of GPIO configuration register values. The list must 31 - AVDD-supply : Analog power supply regulator on the AVDD pin. 33 - CPVDD-supply : Charge pump supply regulator on the CPVDD pin. [all …]
|
/Linux-v5.15/drivers/input/keyboard/ |
D | lpc32xx-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 63 u32 deb_clks; /* Debounce clocks (based on 32KHz clock) */ 64 u32 scan_delay; /* Scan delay (based on 32KHz clock) */ 74 struct input_dev *input = kscandat->input; in lpc32xx_mod_states() 78 key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col)); in lpc32xx_mod_states() 79 changed = key ^ kscandat->lastkeystates[col]; in lpc32xx_mod_states() 80 kscandat->lastkeystates[col] = key; in lpc32xx_mod_states() 86 kscandat->row_shift); in lpc32xx_mod_states() 87 keycode = kscandat->keymap[scancode]; in lpc32xx_mod_states() 99 for (i = 0; i < kscandat->matrix_sz; i++) in lpc32xx_kscan_irq() [all …]
|
D | tc3589x-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 73 * struct tc35893_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 …]
|
D | tegra-kbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2009-2011, NVIDIA Corporation. 13 #include <linux/delay.h> 33 /* KBC row scan time and delay for beginning the row scan. */ 156 val = readl(kbc->mmio + KBC_KP_ENT0_0 + i); in tegra_kbc_report_keys() 165 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 167 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 178 * Ghosting occurs if there are 3 keys such that - in tegra_kbc_report_keys() 182 if (kbc->use_ghost_filter && num_down >= 3) { in tegra_kbc_report_keys() 190 * and the other is in the same column as the i-th key. in tegra_kbc_report_keys() [all …]
|
/Linux-v5.15/drivers/extcon/ |
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> 25 #define USB_GPIO_DEBOUNCE_MS 20 /* ms */ 45 struct extcon_dev *edev = palmas_usb->edev; in palmas_vbus_irq_handler() 48 palmas_read(palmas_usb->palmas, PALMAS_INTERRUPT_BASE, in palmas_vbus_irq_handler() 52 if (palmas_usb->linkstat != PALMAS_USB_STATE_VBUS) { in palmas_vbus_irq_handler() 53 palmas_usb->linkstat = PALMAS_USB_STATE_VBUS; in palmas_vbus_irq_handler() 55 dev_dbg(palmas_usb->dev, "USB cable is attached\n"); in palmas_vbus_irq_handler() 57 dev_dbg(palmas_usb->dev, in palmas_vbus_irq_handler() [all …]
|
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-v5.15/arch/arm64/boot/dts/qcom/ |
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> 16 qcom,msm-id = <318 0>; 17 qcom,board-id = <8 1>; 18 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>; 20 /* This part enables graphical output via bootloader-enabled display */ 24 #address-cells = <2>; 25 #size-cells = <2>; [all …]
|
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; 31 compatible = "gpio-keys"; 32 input-name = "gpio-keys"; [all …]
|
D | msm8998-oneplus-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */ 23 #address-cells = <2>; 24 #size-cells = <2>; 29 compatible = "simple-framebuffer"; 38 reserved-memory { [all …]
|
D | sdm845-oneplus-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 18 /delete-node/ &rmtfs_mem; 27 stdout-path = "serial0:115200n8"; 30 gpio-keys { 31 compatible = "gpio-keys"; 35 pinctrl-names = "default"; [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/mmc/ |
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-v5.15/arch/arm/boot/dts/ |
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 …]
|
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 …]
|
D | ste-href-tvk1281618-r3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #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 …]
|
/Linux-v5.15/arch/powerpc/boot/dts/ |
D | ac14xx.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #address-cells = <1>; 15 #size-cells = <1>; 26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */ 27 bus-frequency = <160000000>; /* 160 MHz csb bus */ 28 clock-frequency = <400000000>; /* 400 MHz ppc core */ 49 compatible = "cfi-flash"; 51 #address-cells = <1>; 52 #size-cells = <1>; 53 bank-width = <2>; [all …]
|
/Linux-v5.15/sound/soc/codecs/ |
D | mt6359-accdet.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt6359-accdet.c -- ALSA SoC mt6359 accdet driver 20 #include <linux/delay.h> 31 #include "mt6359-accdet.h" 35 #define REGISTER_VAL(x) ((x) - 1) 63 unsigned int debounce); 77 if (priv->data->eint_detect_mode == 0x3 || in adjust_eint_analog_setting() 78 priv->data->eint_detect_mode == 0x4) { in adjust_eint_analog_setting() 80 regmap_update_bits(priv->regmap, in adjust_eint_analog_setting() 83 if (priv->data->eint_detect_mode == 0x4) { in adjust_eint_analog_setting() [all …]
|
/Linux-v5.15/drivers/usb/dwc2/ |
D | core.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * core.c - DesignWare HS OTG Controller common routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 16 * 3. The names of the above-listed copyright holders may not be used 48 #include <linux/dma-mapping.h> 49 #include <linux/delay.h> 61 * dwc2_backup_global_registers() - Backup global controller registers. 71 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers() 74 gr = &hsotg->gr_backup; in dwc2_backup_global_registers() 76 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers() [all …]
|