Searched +full:touchscreen +full:- +full:average +full:- +full:samples (Results 1 – 17 of 17) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/input/touchscreen/ |
D | fsl,imx6ul-tsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/fsl,imx6ul-tsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Haibo Chen <haibo.chen@nxp.com> 11 - Shawn Guo <shawnguo@kernel.org> 12 - Sascha Hauer <s.hauer@pengutronix.de> 16 const: fsl,imx6ul-tsc 20 - description: touch controller address 21 - description: ADC2 address [all …]
|
D | touchscreen.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/touchscreen.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common touchscreen 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 14 description: If this touchscreen is integrally connected to a panel, this 16 that the touchscreen should be power sequenced together with the panel 20 touchscreen-min-x: 25 touchscreen-min-y: [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | mxs-lradc.txt | 4 - compatible: Should be "fsl,imx23-lradc" for i.MX23 SoC and "fsl,imx28-lradc" 6 - reg: Address and length of the register set for the device 7 - interrupts: Should contain the LRADC interrupts 10 - fsl,lradc-touchscreen-wires: Number of wires used to connect the touchscreen 12 property is not present, then the touchscreen is 14 - fsl,ave-ctrl: number of samples per direction to calculate an average value. 16 - fsl,ave-delay: delay between consecutive samples. Allowed value is 17 2 ... 2048. It is used if 'fsl,ave-ctrl' > 1, counts at 19 - fsl,settling: delay between plate switch to next sample. Allowed value is 26 compatible = "fsl,imx23-lradc"; [all …]
|
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-6.12.1/drivers/input/touchscreen/ |
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 …]
|
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 …]
|
D | imx6ul_tsc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Freescale i.MX6UL touchscreen controller driver 111 reinit_completion(&tsc->completion); in imx6ul_adc_init() 113 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init() 118 if (tsc->average_enable) { in imx6ul_adc_init() 120 adc_cfg |= (tsc->average_select) << ADC_AVGS_SHIFT; in imx6ul_adc_init() 123 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init() 128 writel(adc_hc, tsc->adc_regs + REG_ADC_HC0); in imx6ul_adc_init() 131 adc_gc = readl(tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init() 133 if (tsc->average_enable) in imx6ul_adc_init() [all …]
|
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 …]
|
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 …]
|
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 …]
|
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-6.12.1/arch/arm/mach-omap1/ |
D | board-nokia770.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/board-nokia770.c 5 * Modified from board-generic.c 24 #include <linux/platform_data/keypad-omap.h> 25 #include <linux/platform_data/lcd-mipid.h> 26 #include <linux/platform_data/gpio-omap.h> 28 #include <asm/mach-types.h> 44 .name = "gpio-0-15", 48 .name = "gpio-16-31", 95 .name = "omap-keypad", [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/freescale/ |
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 …]
|
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-6.12.1/drivers/iio/adc/ |
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> 45 /* Touchscreen Calibration */ 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 …]
|
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-6.12.1/arch/arm/boot/dts/nxp/imx/ |
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 …]
|