/openbmc/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 …]
|
H A D | cypress,cy8ctma340.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Javier Martinez Canillas <javier@dowhile0.org> 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: touchscreen.yaml# 26 - const: cypress,cy8ctma340 27 - const: cypress,cy8ctst341 28 - const: cypress,cyttsp-spi 31 - const: cypress,cyttsp-i2c [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
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 | 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 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: [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 …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | stmpe-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 46 #define STMPE_TS_NAME "stmpe-ts" 50 * struct stmpe_touch - stmpe811 touch screen controller state 57 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples) 58 * @touch_det_delay: Touch detect interrupt delay 59 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us, 60 * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms) 63 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms, 64 * 4 -> 5 ms, 5 -> 10 ms, 6 for 50 ms, 7 -> 100 ms) 70 * (0 -> 20 mA typical 35 mA max, 1 -> 50 mA typical 80 mA max) [all …]
|
H A D | cyttsp_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 47 #define CY_DELAY_DFLT 20 /* ms */ 53 #define CY_ACT_INTRVL_DFLT 0x00 /* ms */ 55 #define CY_LP_INTRVL_DFLT 0x0A /* ms */ 56 /* touch timeout for the Active power */ 57 #define CY_TCH_TMOUT_DFLT 0xFF /* ms */ 85 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data() 93 return -EIO; in ttsp_read_block_data() 103 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data() 111 return -EIO; in ttsp_write_block_data() [all …]
|
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 …]
|
H A D | wm9705.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9705.c -- Codec driver for Wolfson WM9705 AC97 Codec. 60 * Long delays > 1ms are supported for completeness, but are not 85 * through to the touch screen plates and affect measurement accuracy. In 147 dev_dbg(wm->dev, in wm9705_phy_init() 150 dev_dbg(wm->dev, in wm9705_phy_init() 158 dev_dbg(wm->dev, "supplied delay out of range."); in wm9705_phy_init() 164 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.", in wm9705_phy_init() 169 dev_dbg(wm->dev, "setting pdd to Vmid/%d", 1 - (pdd & 0x000f)); in wm9705_phy_init() 182 wm->dig[2] | WM97XX_PRP_DET_DIG); in wm9705_dig_enable() [all …]
|
H A D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- Codec touch driver for Wolfson WM9713 AC97 Codec. 73 * Long delays > 1ms are supported for completeness, but are not 87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen."); 93 * through to the touch screen plates and affect measurement accuracy. In 163 dev_info(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9713_phy_init() 170 dev_info(wm->dev, "setting 5-wire touchscreen mode."); in wm9713_phy_init() 173 dev_warn(wm->dev, in wm9713_phy_init() 183 dev_info(wm->dev, in wm9713_phy_init() 186 dev_info(wm->dev, in wm9713_phy_init() [all …]
|
H A D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs. 73 * Long delays > 1ms are supported for completeness, but are not 87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen."); 93 * through to the touch screen plates and affect measurement accuracy. In 160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init() 167 dev_dbg(wm->dev, "setting 5-wire touchscreen mode.\n"); in wm9712_phy_init() 170 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init() 171 "supported in 5-wire mode\n"); in wm9712_phy_init() 179 dev_dbg(wm->dev, in wm9712_phy_init() [all …]
|
H A D | bcm_iproc_tsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #define IPROC_TS_NAME "iproc-ts" 88 regmap_read(priv->regmap, reg, &val); \ 93 /* Each step is 1024 us. Valid 1-256 */ 96 /* Each step is 512 us. Valid 0-255 */ 100 * The settling duration (in ms) is the amount of time the tsc 102 * drivers in detection mode. Valid values: 0-11 103 * 0 = 0.008 ms 104 * 1 = 0.01 ms 105 * 2 = 0.02 ms [all …]
|
H A D | cyttsp4_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 36 /* touch record system information offset masks and shifts */ 62 /* Timeout in ms. */ 222 enum cyttsp4_tch_abs { /* for ordering within the extracted touch data array */ 226 CY_TCH_T, /* TOUCH ID */ 281 size_t btn_diff_ofs;/* btn data loc ,diff counts, (Op-Mode byte ofs) */ 305 u8 *xy_data; /* operational touch regs */ 415 /* x-axis resolution of panel in pixels */ 418 /* y-axis resolution of panel in pixels */ 421 /* x-axis, 0:origin is on left side of panel, 1: right */ [all …]
|
H A D | tsc200x-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2006-2010 Nokia Corporation 24 #include "tsc200x-core.h" 36 * tsc200x_penup_timer() to be called after TSC200X_PENUP_TIME_MS (40ms). 37 * 7) When the penup timer expires, there have not been touch or DAV interrupts 38 * during the last 40ms which means the pen has been lifted. 41 * after a configurable period (in ms) of activity. If esd_timeout is 0, the 118 touchscreen_report_pos(ts->idev, &ts->prop, x, y, false); in tsc200x_update_pen_state() 119 input_report_abs(ts->idev, ABS_PRESSURE, pressure); in tsc200x_update_pen_state() 120 if (!ts->pen_down) { in tsc200x_update_pen_state() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
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 …]
|
/openbmc/linux/drivers/input/mouse/ |
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 | byd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 * Absolute coordinate packets are in the range 0-255 for both X and Y 53 /* Time in jiffies used to timeout various touch events (64 ms) */ 59 * Swipe gesture from off-pad to on-pad 67 * 1 - 8 : least to most delay 113 * Touch sensitivity 114 * 1 - 7 : least to most sensitive 135 * 1 - 5 : slowest to fastest 147 * 0 - 7 : smallest to largest width 152 * 0 - 9 : smallest to largest height [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 …]
|
H A D | cyapa_gen5.c | 6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc. 21 #include <linux/crc-itu-t.h> 33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \ 100 #define GEN5_POWER_READY_MAX_INTRVL_TIME 50 /* Unit: ms */ 101 #define GEN5_POWER_IDLE_MAX_INTRVL_TIME 250 /* Unit: ms */ 141 * Bit 7 - 3: reserved 142 * Bit 2 - 0: touch type; 146 * 3 - 15 : reserved. 151 * Bit 7: indicates touch liftoff status. 152 * 0 : touch is currently on the panel. [all …]
|
H A D | cyapa.h | 6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc. 20 #define CYAPA_GEN3 0x03 /* support MT-protocol B with tracking ID. */ 63 * bit 6 - 4: Reserved 64 * bit 3 - 2: Power status 65 * bit 1 - 0: Device status 76 * bit 7 - 4: Number of touched finger 91 * Write-only command file register used to issue commands and 102 * bit 6 - 5: Reserved 104 * bit 3 - 2: Reserved 127 * bit 1 - 0: Reserved [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/input/misc/ |
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 …]
|
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 …]
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | hif.c | 2 * Copyright (c) 2007-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 23 #include "hif-ops.h" 29 #define ATH6KL_TIME_QUANTUM 10 /* in ms */ 37 buf = req->virt_dma_buf; in ath6kl_hif_cp_scat_dma_buf() 39 for (i = 0; i < req->scat_entries; i++) { in ath6kl_hif_cp_scat_dma_buf() 41 memcpy(req->scat_list[i].buf, buf, in ath6kl_hif_cp_scat_dma_buf() 42 req->scat_list[i].len); in ath6kl_hif_cp_scat_dma_buf() 44 memcpy(buf, req->scat_list[i].buf, in ath6kl_hif_cp_scat_dma_buf() 45 req->scat_list[i].len); in ath6kl_hif_cp_scat_dma_buf() [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 39 #define AT91_ADC_TSAMOD_TS_ONLY_MODE (1 << 0) /* Touch Screen Only Mode */ 102 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 105 #define AT91_ADC_TSMR_TSMODE (3 << 0) /* Touch Screen Mode */ 136 (st->registers->channel_base + (ch * 4)) 138 (readl_relaxed(st->reg_base + reg)) 140 (writel_relaxed(val, st->reg_base + reg)) 145 #define TOUCH_SAMPLE_PERIOD_US 2000 /* 2ms */ 149 #define TOUCH_SAMPLE_PERIOD_US_RL 10000 /* 10ms, the SoC can't keep up with 2ms */ 160 * struct at91_adc_trigger - description of triggers [all …]
|