/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/input/ |
H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS269A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17 additional Hall-effect and inductive sensing capabilities. 24 - azoteq,iqs269a 25 - azoteq,iqs269a-00 [all …]
|
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS626A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": [all …]
|
H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS7222A/B/C/D Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 14 capacitive touch controllers that feature additional sensing capabilities. 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d [all …]
|
/linux/drivers/input/mouse/ |
H A D | synaptics_i2c.c | 29 * after soft reset, we should wait for 1 ms 33 /* and after hard reset, we should wait for max 500ms */ 182 * reduce the polling rate to NO_DATA_SLEEP_MSECS 212 /* Control Polling Rate */ 215 MODULE_PARM_DESC(scan_rate, "Polling rate in times/sec. Default = 80"); 230 static inline void set_scan_rate(struct synaptics_i2c *touch, int scan_rate) in set_scan_rate() argument 232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate() 233 touch->scan_rate_param = scan_rate; in set_scan_rate() 279 /* set Report Rate to Device Highest (>=80) and Sleep to normal */ in synaptics_i2c_config() 311 dev_err(&client->dev, "Unable to reset device\n"); in synaptics_i2c_reset_config() [all …]
|
H A D | cyapa_gen3.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 60 * Used in register 0x00, bit1-0, DeviceStatus field. 88 * bit 7 - 4: high 4 bits of x position value 89 * bit 3 - 0: high 4 bits of y position value 95 /* id range is 1 - 15. It is incremented with every new touch. */ 101 * bit 0 - 1: device status 102 * bit 3 - 2: power mode 103 * bit 6 - 4: reserved 108 * bit 7 - 4: number of fingers currently touching pad [all …]
|
H A D | cyapa.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode() 49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode() 57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode() 60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode() 71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode() 72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode() 73 cyapa->state <= CYAPA_STATE_BL_ACTIVE) in cyapa_is_bootloader_mode() 84 if (cyapa->gen == CYAPA_GEN3 && cyapa->state == CYAPA_STATE_OP) in cyapa_is_operational_mode() [all …]
|
/linux/drivers/input/misc/ |
H A D | iqs269a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS269A Capacitive Touch Controller 8 * inductive keys as well as Hall-effect switches, and one for each of the two 225 .name = "event-prox", 231 .name = "event-prox-alt", 238 .name = "event-touch", 244 .name = "event-touch-alt", 251 .name = "event-deep", 257 .name = "event-deep-alt", 339 * Slider 1 is unavailable if the touch-and-hold option is enabled via in iqs269_slider_type() [all …]
|
H A D | iqs626a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS626A Capacitive Touch Controller 8 * inductive keys as well as Hall-effect switches, and one for a trackpad that 227 .name = "event-prox", 233 .name = "event-prox-alt", 240 .name = "event-touch", 246 .name = "event-touch-alt", 253 .name = "event-deep", 259 .name = "event-deep-alt", 367 .name = "ulp-0", [all …]
|
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Azoteq IQS7222A/B/C/D Capacitive Touch Controller 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 120 [IQS7222_REG_GRP_GPIO] = "gpio-%d", 150 .name = "event-prox", 155 .name = "event-touch", 162 { .name = "event-press", }, 164 .name = "event-tap", [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | iqs7211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 * The following delay is used during instances that must wait for the open- 124 .name = "event-prox", 131 .name = "event-touch", 138 .name = "event-tap", 145 .name = "event-hold", 152 .name = "event-swipe-x-neg", 159 .name = "event-swipe-x-pos", 166 .name = "event-swipe-y-pos", 173 .name = "event-swipe-y-neg", [all …]
|
/linux/sound/soc/codecs/ |
H A D | ssm2518.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 141 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm2518_vol_tlv, -7125, 2400); 142 static const DECLARE_TLV_DB_SCALE(ssm2518_compressor_tlv, -3400, 200, 0); 143 static const DECLARE_TLV_DB_SCALE(ssm2518_expander_tlv, -8100, 300, 0); 144 static const DECLARE_TLV_DB_SCALE(ssm2518_noise_gate_tlv, -9600, 300, 0); 145 static const DECLARE_TLV_DB_SCALE(ssm2518_post_drc_tlv, -2400, 300, 0); 148 0, 7, TLV_DB_SCALE_ITEM(-2200, 200, 0), 149 7, 15, TLV_DB_SCALE_ITEM(-800, 100, 0), 153 "0 ms", "0.1 ms", "0.19 ms", "0.37 ms", "0.75 ms", "1.5 ms", "3 ms", [all …]
|
H A D | wm8903.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8903.c -- WM8903 ALSA SoC Audio driver 5 * Copyright 2008-12 Wolfson Microelectronics 6 * Copyright 2011-2012 NVIDIA, Inc. 11 * - TDM mode configuration. 41 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 42 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 43 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ 44 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */ 45 { 10, 0x0001 }, /* R10 - Analogue ADC 0 */ [all …]
|
H A D | tas5086.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * - implement DAPM and input muxing 9 * - implement modulation limit 10 * - implement non-default PWM start 13 * because the registers are of unequal size, and multi-byte registers 17 * Currently, the driver does not touch any of the registers >= 0x20, so 18 * it doesn't matter because the entire map can be accessed as 8-bit 21 * routines have to be open-coded. 70 #define TAS5086_CHANNEL_VOL(X) (0x08 + (X)) /* Channel 1-6 volume */ 88 * Default TAS5086 power-up configuration [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A 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/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-victgo.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 9 #include "imx6qdl-vicut1.dtsi" 15 gpio-keys { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpiokeys>; 21 key-power { 25 wakeup-source; 28 key-enter { [all …]
|
/linux/drivers/input/rmi4/ |
H A D | rmi_f01.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2016 Synaptics Incorporated 87 * When this bit is set, the touch controller employs a noise-filtering 93 * Sets the report rate for the device. The effect of this setting is 95 * touch sensor. 106 * struct f01_device_control - controls basic sensor functions 110 * when the touch sensor is in doze mode, in units of 10ms. 111 * @wakeup_threshold: controls the capacitance threshold at which the touch 113 * @doze_holdoff: controls how long the touch sensor waits after the last 114 * finger lifts before entering the doze state, in units of 100ms. [all …]
|
/linux/drivers/leds/trigger/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 For more details read Documentation/leds/leds-class.rst. 23 tristate "LED One-shot Trigger" 25 This allows LEDs to blink in one-shot pulses with parameters 28 or on dense events, where this blinks the LED at constant rate if 53 The flash frequency is a hyperbolic function of the 1-minute 136 which is a series of tuples, of brightness and duration (ms). 146 When build as a module this driver will be called ledtrig-tty. 156 capacitive touch-buttons, such as e.g. the menu / home / back buttons 162 When build as a module this driver will be called ledtrig-input-events.
|
/linux/Documentation/hwmon/ |
H A D | ina2xx.rst | 10 Addresses: I2C 0x40 - 0x4f 20 Addresses: I2C 0x40 - 0x4f 30 Addresses: I2C 0x40 - 0x4f 40 Addresses: I2C 0x40 - 0x4f 50 Addresses: I2C 0x40 - 0x4f 60 Addresses: I2C 0x40 - 0x4f 70 Addresses: I2C 0x40 - 0x4f 80 ----------- 82 The INA219 is a high-side current shunt and power monitor with an I2C 99 The SY24655 is a high- and low-side current shunt and power monitor with an I2C [all …]
|
/linux/drivers/iio/adc/ |
H A D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 #define AT91_ADC_TSAMOD_TS_ONLY_MODE (1 << 0) /* Touch Screen Only Mode */ 50 #define AT91_ADC_PRESCAL_9260 (0x3f << 8) /* Prescalar Rate Selection */ 103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 106 #define AT91_ADC_TSMR_TSMODE (3 << 0) /* Touch Screen Mode */ 137 (st->registers->channel_base + (ch * 4)) 139 (readl_relaxed(st->reg_base + reg)) 141 (writel_relaxed(val, st->reg_base + reg)) 146 #define TOUCH_SAMPLE_PERIOD_US 2000 /* 2ms */ 150 #define TOUCH_SAMPLE_PERIOD_US_RL 10000 /* 10ms, the SoC can't keep up with 2ms */ [all …]
|
H A D | at91-sama5d2_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/dma-mapping.h> 31 #include <linux/nvmem-consumer.h> 36 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h> 74 /* Prescaler Rate Selection */ 110 /* Interrupt Enable Register - TS X measurement ready */ 112 /* Interrupt Enable Register - TS Y measurement ready */ 114 /* Interrupt Enable Register - TS pressure measurement ready */ 116 /* Interrupt Enable Register - Data ready */ 118 /* Interrupt Enable Register - general overrun error */ [all …]
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra30-lg-x3.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/leds/common.h> 6 #include <dt-bindings/mfd/max77620.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra30-cpu-opp.dtsi" 11 #include "tegra30-cpu-opp-microvolt.dtsi" 14 chassis-type = "handset"; 30 * pre-existing /chosen node to be available to insert the [all …]
|
H A D | tegra114-asus-tf701t.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 13 chassis-type = "convertible"; 29 trusted-foundations { 30 compatible = "tlm,trusted-foundations"; 31 tlm,version-major = <2>; 32 tlm,version-minor = <8>; 40 reserved-memory { [all …]
|
/linux/drivers/hid/ |
H A D | hid-multitouch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2012 Stephane Chatty <chatty@enac.fr> 6 * Copyright (c) 2010-2013 Benjamin Tissoires <benjamin.tissoires@gmail.com> 7 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France 8 * Copyright (c) 2012-2013 Red Hat, Inc 10 * This code is partly based on hid-egalax.c: 16 * This code is partly based on hid-3m-pct.c: 18 * Copyright (c) 2009-2010 Stephane Chatty <chatty@enac.fr> 27 * This driver is regularly tested thanks to the test suite in hid-tools[1]. 31 * [1] https://gitlab.freedesktop.org/libevdev/hid-tools [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-qos.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 6 * Enhanced Scheduler Traffic (EST - P802.1Qbv/D2.2) 7 * Interspersed Express Traffic (IET - P802.3br/D2.0) 17 #include "am65-cpsw-nuss.h" 18 #include "am65-cpsw-qos.h" 19 #include "am65-cpts.h" 47 writel(0, port->port_base + AM65_CPSW_PN_REG_PRI_CIR(prio)); in am65_cpsw_tx_pn_shaper_reset() 48 writel(0, port->port_base + AM65_CPSW_PN_REG_PRI_EIR(prio)); in am65_cpsw_tx_pn_shaper_reset() 54 struct am65_cpsw_mqprio *p_mqprio = &port->qos.mqprio; in am65_cpsw_tx_pn_shaper_apply() [all …]
|