Home
last modified time | relevance | path

Searched +full:touchscreen +full:- +full:average +full:- +full:samples (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/
Dimx6ul_tsc.txt4 - compatible: must be "fsl,imx6ul-tsc".
5 - reg: this touch controller address and the ADC2 address.
6 - interrupts: the interrupt of this touch controller and ADC2.
7 - clocks: the root clock of touch controller and ADC2.
8 - clock-names; must be "tsc" and "adc".
9 - xnur-gpio: the X- gpio this controller connect to.
10 This xnur-gpio returns to low once the finger leave the touch screen (The
14 - measure-delay-time: the value of measure delay time.
15 Before X-axis or Y-axis measurement, the screen need some time before
18 - pre-charge-time: the touch screen need some time to precharge.
[all …]
Dads7846.txt7 Documentation/devicetree/bindings/spi/spi-bus.txt
23 vcc-supply A regulator node for the supply voltage.
28 ti,vref-delay-usecs vref supply delay in usecs, 0 for
30 ti,vref-mv The VREF voltage, in millivolts (u16).
33 ti,keep-vref-on set to keep vref on for differential
35 ti,settle-delay-usec Settling time of the analog signals;
37 on the X/Y drivers. If set to non-zero,
38 two samples are taken with settle_delay
41 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are
47 ti,x-plate-ohms Resistance of the X-plate,
[all …]
Dtouchscreen.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dimx6ul_tsc.txt4 - compatible: must be "fsl,imx6ul-tsc".
5 - reg: this touch controller address and the ADC2 address.
6 - interrupts: the interrupt of this touch controller and ADC2.
7 - clocks: the root clock of touch controller and ADC2.
8 - clock-names; must be "tsc" and "adc".
9 - xnur-gpio: the X- gpio this controller connect to.
10 This xnur-gpio returns to low once the finger leave the touch screen (The
14 - measure-delay-time: the value of measure delay time.
15 Before X-axis or Y-axis measurement, the screen need some time before
18 - pre-charge-time: the touch screen need some time to precharge.
[all …]
Dstmpe.txt1 STMPE Touchscreen
2 ----------------
5 - compatible: "st,stmpe-ts"
8 - st,ave-ctrl : Sample average control
9 0 -> 1 sample
10 1 -> 2 samples
11 2 -> 4 samples
12 3 -> 8 samples
13 - st,touch-det-delay : Touch detect interrupt delay (recommended is 3)
14 0 -> 10 us
[all …]
Dtouchscreen.yaml1 # 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 Bindings
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
13 touchscreen-min-x:
18 touchscreen-min-y:
23 touchscreen-size-x:
24 description: horizontal resolution of touchscreen (maximum x coordinate reported + 1)
[all …]
Dads7846.txt7 Documentation/devicetree/bindings/spi/spi-bus.txt
23 vcc-supply A regulator node for the supply voltage.
28 ti,vref-delay-usecs vref supply delay in usecs, 0 for
30 ti,vref-mv The VREF voltage, in millivolts (u16).
33 ti,keep-vref-on set to keep vref on for differential
35 ti,settle-delay-usec Settling time of the analog signals;
37 on the X/Y drivers. If set to non-zero,
38 two samples are taken with settle_delay
41 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are
47 ti,x-plate-ohms Resistance of the X-plate,
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dmxs-lradc.txt4 - 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 …]
Dst,stmpe.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmxs-lradc.txt4 - 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 …]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
Dstmpe-ts.c1 // 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 …]
Dlpc32xx_ts.c1 // 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 …]
Dimx6ul_tsc.c1 // 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 …]
Dmax11801_ts.c1 // 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 …]
Dads7846.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dstmpe-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * STMicroelectronics STMPE811 Touchscreen Driver
25 * with touchscreen controller
45 #define STMPE_TS_NAME "stmpe-ts"
49 * struct stmpe_touch - stmpe811 touch screen controller state
54 * @ave_ctrl: Sample average control
55 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples)
57 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us,
58 * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms)
61 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms,
[all …]
Dlpc32xx_ts.c1 // 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 …]
Dimx6ul_tsc.c1 // 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 …]
Dmax11801_ts.c1 // 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 …]
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
Dboard-nokia770.c1 // 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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8mm-var-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 model = "Variscite VAR-SOM-MX8MM module";
11 compatible = "variscite,var-som-mx8mm", "fsl,imx8mm";
14 stdout-path = &uart4;
22 reg_eth_phy: regulator-eth-phy {
23 compatible = "regulator-fixed";
24 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_reg_eth_phy>;
26 regulator-name = "eth_phy_pwr";
27 regulator-min-microvolt = <3300000>;
[all …]
Dimx8mn-var-som.dtsi1 // 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 …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
Dimx8mm-var-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 model = "Variscite VAR-SOM-MX8MM module";
11 compatible = "variscite,var-som-mx8mm", "fsl,imx8mm";
14 stdout-path = &uart4;
22 reg_eth_phy: regulator-eth-phy {
23 compatible = "regulator-fixed";
24 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_reg_eth_phy>;
26 regulator-name = "eth_phy_pwr";
27 regulator-min-microvolt = <3300000>;
[all …]
Dimx8mn-var-som.dtsi1 // 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 …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dat91-sama5d2_adc.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/dma-mapping.h>
36 /* Touchscreen Calibration */
98 /* Interrupt Enable Register - TS X measurement ready */
100 /* Interrupt Enable Register - TS Y measurement ready */
102 /* Interrupt Enable Register - TS pressure measurement ready */
104 /* Interrupt Enable Register - Data ready */
106 /* Interrupt Enable Register - general overrun error */
108 /* Interrupt Enable Register - Pen detect */
110 /* Interrupt Enable Register - No pen detect */
[all …]

12