Searched +full:touchscreen +full:- +full:average +full:- +full:samples (Results 1 – 11 of 11) sorted by relevance
| /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# 11 touchscreen, ADC, PWM or rotator. It can contain one or several different 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 [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | stmpe-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * STMicroelectronics STMPE811 Touchscreen Driver 17 #include <linux/input/touchscreen.h> 26 * with touchscreen controller 46 #define STMPE_TS_NAME "stmpe-ts" 50 * struct stmpe_touch - stmpe811 touch screen controller state 55 * @prop: Touchscreen properties 56 * @ave_ctrl: Sample average control 57 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples) 59 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us, [all …]
|
| H A D | lpc32xx_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * LPC32xx built-in touchscreen driver 18 * Touchscreen controller register offsets 43 #define LPC32XX_TSC_ADCCON_X_SAMPLE_SIZE(s) ((10 - (s)) << 7) 44 #define LPC32XX_TSC_ADCCON_Y_SAMPLE_SIZE(s) ((10 - (s)) << 4) 57 #define MOD_NAME "ts-lpc32xx" 60 __raw_readl((dev)->tsc_base + (reg)) 62 __raw_writel((val), (dev)->tsc_base + (reg)) 83 struct input_dev *input = tsc->dev; in lpc32xx_ts_interrupt() 88 /* FIFO overflow - throw away samples */ in lpc32xx_ts_interrupt() [all …]
|
| H A D | max11801_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for MAXI MAX11801 - A Resistive touch screen controller with 16 * ----------------------------------------------------- 18 * |----------------------------------------------------| 23 * ------------------------------------------------------ 28 * http://www.maxim-ic.com/datasheet/index.mvp/id/5943 98 struct i2c_client *client = data->client; in max11801_ts_interrupt() 101 int x = -1; in max11801_ts_interrupt() 102 int y = -1; in max11801_ts_interrupt() 104 status = read_register(data->client, GENERNAL_STATUS_REG); in max11801_ts_interrupt() [all …]
|
| H A D | ads7846.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ADS7846 based touchscreen and sensor driver 10 * - corgi_ts.c 11 * Copyright (C) 2004-2005 Richard Purdie 12 * - omap_ts.[hc], ads7846.h, ts_osk.c 23 #include <linux/input/touchscreen.h> 39 * Support for ads7843 tested on Atmel at91sam926x-EK. 53 * note. The strength of filtering can be set in the board-* specific 58 #define TS_POLL_PERIOD 5 /* ms delay between samples */ 76 * driver is used with DMA-based SPI controllers (like atmel_spi) on [all …]
|
| H A D | bu21029_ts.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Rohm BU21029 touchscreen controller driver 5 * Copyright (C) 2015-2018 Bosch Sicherheitssysteme GmbH 16 #include <linux/input/touchscreen.h> 25 * +--------+--------+--------+--------+--------+--------+--------+--------+ 27 * +--------+--------+--------+--------+--------+--------+--------+--------+ 29 * +--------+--------+--------+--------+--------+--------+--------+--------+ 31 * +--------+--------+--------+--------+--------+--------+--------+--------+ 33 * +--------+--------+--------+--------+--------+--------+--------+--------+ 35 * +--------+--------+--------+--------+--------+--------+--------+--------+ [all …]
|
| H A D | ti_am335x_tsc.c | 4 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 35 #define MAX_12BIT ((1 << 12) - 1) 64 return readl(ts->mfd_tscadc->tscadc_base + reg); in titsc_readl() 70 writel(val, tsc->mfd_tscadc->tscadc_base + reg); in titsc_writel() 84 analog_line[i] = (ts_dev->config_inp[i] & 0xF0) >> 4; in titsc_config_wires() 85 wire_order[i] = ts_dev->config_inp[i] & 0x0F; in titsc_config_wires() 87 return -EINVAL; in titsc_config_wires() 89 return -EINVAL; in titsc_config_wires() 100 return -EINVAL; in titsc_config_wires() 103 ts_dev->bit_xp = bit_cfg; in titsc_config_wires() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mm-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 model = "Variscite VAR-SOM-MX8MM module"; 13 stdout-path = &uart4; 21 reg_eth_phy: regulator-eth-phy { 22 compatible = "regulator-fixed"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_reg_eth_phy>; 25 regulator-name = "eth_phy_pwr"; 26 regulator-min-microvolt = <3300000>; 27 regulator-max-microvolt = <3300000>; [all …]
|
| 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/drivers/iio/adc/ |
| H A D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 111 #define AT91_ADC_TSMR_TSAV (3 << 4) /* Averages samples */ 117 #define AT91_ADC_TSMR_NOTSDMA (1 << 22) /* No Touchscreen DMA */ 137 (st->registers->channel_base + (ch * 4)) 139 (readl_relaxed(st->reg_base + reg)) 141 (writel_relaxed(val, st->reg_base + reg)) 152 #define TOUCH_SCTIM_US 10 /* 10us for the Touchscreen Switches Closure Time */ 161 * struct at91_adc_trigger - description of triggers 174 * struct at91_adc_reg_desc - Various informations relative to registers [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6ull-dhcom-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include "imx6ull-dhcor-som.dtsi" 10 /delete-property/ spi2; 11 /delete-property/ spi3; 28 stdout-path = "serial0:115200n8"; 31 reg_ext_3v3_ref: regulator-ext-3v3-ref { 32 compatible = "regulator-fixed"; 33 regulator-always-on; 34 regulator-max-microvolt = <3300000>; 35 regulator-min-microvolt = <3300000>; [all …]
|