Home
last modified time | relevance | path

Searched +full:x +full:- +full:plate +full:- +full:resistance (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.12.1/Documentation/devicetree/bindings/input/touchscreen/
Dti,am3359-tsc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/ti,am3359-tsc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Miquel Raynal <miquel.raynal@bootlin.com>
14 const: ti,am3359-tsc
22 ti,x-plate-resistance:
23 description: X plate resistance
26 ti,coordinate-readouts:
30 X, 5 for Y and 2 for Z (always). This utilises 12 of the 16 software steps
[all …]
Dadi,ad7879.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD7879(-1)/AD7889(-1) touchscreen interface (SPI/I2C)
10 - Frank Li <Frank.Li@nxp.com>
16 for I2C slave, use "adi,ad7879-1"
18 - adi,ad7879
19 - adi,ad7879-1
27 touchscreen-max-pressure:
31 adi,resistance-plate-x:
[all …]
Dtouchscreen.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
20 touchscreen-min-x:
21 description: minimum x coordinate reported
25 touchscreen-min-y:
30 touchscreen-size-x:
31 description: horizontal resolution of touchscreen (maximum x coordinate reported + 1)
34 touchscreen-size-y:
[all …]
Dti,ads7843.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexander Stein <alexander.stein@ew.tq-group.com>
11 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
12 - Marek Vasut <marex@denx.de>
21 - ti,ads7843
22 - ti,ads7845
23 - ti,ads7846
24 - ti,ads7873
[all …]
Dbu21029.txt4 - compatible : must be "rohm,bu21029"
5 - reg : i2c device address of the chip (0x40 or 0x41)
6 - interrupt-parent : the phandle for the gpio controller
7 - interrupts : (gpio) interrupt to which the chip is connected
8 - rohm,x-plate-ohms : x-plate resistance in Ohm
11 - reset-gpios : gpio pin to reset the chip (active low)
12 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels)
13 - touchscreen-size-y : vertical resolution of touchscreen (in pixels)
14 - touchscreen-max-pressure: maximum pressure value
15 - vdd-supply : power supply for the controller
[all …]
Dtsc2007.txt4 - compatible: must be "ti,tsc2007".
5 - reg: I2C address of the chip.
6 - ti,x-plate-ohms: X-plate resistance in ohms.
9 - gpios: the interrupt gpio the chip is connected to (through the penirq pin).
12 - interrupts: (gpio) interrupt to which the chip is connected
14 - ti,max-rt: maximum pressure.
15 - ti,fuzzx: specifies the absolute input fuzz x value.
16 If set, it will permit noise in the data up to +- the value given to the fuzz
18 - ti,fuzzy: specifies the absolute input fuzz y value.
19 - ti,fuzzz: specifies the absolute input fuzz z value.
[all …]
Dti,tsc2005.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Vasut <marex@denx.de>
11 - Michael Welling <mwelling@ieee.org>
19 - ti,tsc2004
20 - ti,tsc2005
31 reset-gpios:
35 spi-max-frequency:
39 ti,x-plate-ohms:
[all …]
/linux-6.12.1/drivers/mfd/
Ducb1x00-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Touchscreen driver for UCB1x00-based touchscreens
8 * 21-Jan-2002 <jco@ict.es> :
34 #include <asm/mach-types.h>
54 static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y) in ucb1x00_ts_evt_add() argument
56 struct input_dev *idev = ts->idev; in ucb1x00_ts_evt_add()
58 input_report_abs(idev, ABS_X, x); in ucb1x00_ts_evt_add()
67 struct input_dev *idev = ts->idev; in ucb1x00_ts_event_release()
79 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_mode_int()
92 ucb1x00_io_write(ts->ucb, COLLIE_TC35143_GPIO_TBL_CHK, 0); in ucb1x00_ts_read_pressure()
[all …]
/linux-6.12.1/drivers/input/touchscreen/
Dresistive-adc-touch.c1 // SPDX-License-Identifier: GPL-2.0
21 #define DRIVER_NAME "resistive-adc-touch"
37 * struct grts_state - generic resistive touch screen information struct
38 * @x_plate_ohms: resistance of the X plate
62 unsigned int x, y, press = 0; in grts_cb() local
64 x = touch_info[st->ch_map[GRTS_CH_X]]; in grts_cb()
65 y = touch_info[st->ch_map[GRTS_CH_Y]]; in grts_cb()
67 if (st->ch_map[GRTS_CH_PRESSURE] < GRTS_MAX_CHANNELS) { in grts_cb()
68 press = touch_info[st->ch_map[GRTS_CH_PRESSURE]]; in grts_cb()
69 } else if (st->ch_map[GRTS_CH_Z1] < GRTS_MAX_CHANNELS) { in grts_cb()
[all …]
Dtsc2007_core.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * - ads7846.c
12 * - corgi_ts.c
13 * Copyright (C) 2004-2005 Richard Purdie
14 * - omap_ts.[hc], ads7846.h, ts_osk.c
36 data = i2c_smbus_read_word_data(tsc->client, cmd); in tsc2007_xfer()
38 dev_err(&tsc->client->dev, "i2c io error: %d\n", data); in tsc2007_xfer()
44 * Where DataLow has [D11-D4], DataHigh has [D3-D0 << 4 | Dummy 4bit]. in tsc2007_xfer()
48 dev_dbg(&tsc->client->dev, "data: 0x%x, val: 0x%x\n", data, val); in tsc2007_xfer()
55 /* y- still on; turn on only y+ (and ADC) */ in tsc2007_read_values()
[all …]
Dbu21029_ts.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015-2018 Bosch Sicherheitssysteme GmbH
25 * +--------+--------+--------+--------+--------+--------+--------+--------+
27 * +--------+--------+--------+--------+--------+--------+--------+--------+
29 * +--------+--------+--------+--------+--------+--------+--------+--------+
31 * +--------+--------+--------+--------+--------+--------+--------+--------+
33 * +--------+--------+--------+--------+--------+--------+--------+--------+
35 * +--------+--------+--------+--------+--------+--------+--------+--------+
44 * +--------+--------+--------+--------+--------+--------+--------+--------+
46 * +--------+--------+--------+--------+--------+--------+--------+--------+
[all …]
Dti_am335x_tsc.c4 * 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 …]
Dad7879.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc.
13 * - corgi_ts.c
14 * Copyright (C) 2004-2005 Richard Purdie
15 * - omap_ts.[hc], ads7846.h, ts_osk.c
19 * - ad7877.c
20 * Copyright (C) 2006-2008 Analog Devices Inc.
54 #define AD7879_TMR(x) ((x & 0xFF) << 0) argument
55 #define AD7879_ACQ(x) ((x & 0x3) << 8) argument
63 #define AD7879_FCD(x) ((x & 0x3) << 0) argument
[all …]
Dcolibri-vf50-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 #define DRIVER_NAME "colibri-vf50-ts"
27 #define VF_ADC_MAX ((1 << 12) - 1)
87 /* Enable plate YM (needs to be strong GND, high active) */ in vf50_ts_enable_touch_detection()
88 gpiod_set_value(vf50_ts->gpio_ym, 1); in vf50_ts_enable_touch_detection()
92 * Pull-Up on GPIO in vf50_ts_enable_touch_detection()
94 pinctrl_pm_select_idle_state(&vf50_ts->pdev->dev); in vf50_ts_enable_touch_detection()
96 /* Wait for the pull-up to be stable on high */ in vf50_ts_enable_touch_detection()
106 struct device *dev = &vf50_ts->pdev->dev; in vf50_ts_irq_bh()
111 gpiod_set_value(vf50_ts->gpio_ym, 0); in vf50_ts_irq_bh()
[all …]
Dwm9712.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs.
32 * i.e. pull up resistance = 64k Ohms / rpu.
69 * touchpanel plate and the ADC sampling the signal.
87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen.");
109 * Set to 1 to enable coordinate polling. e.g. x,y[,p] is sampled together
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()
[all …]
Dwm9713.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9713.c -- Codec touch driver for Wolfson WM9713 AC97 Codec.
32 * i.e. pull up resistance = 64k Ohms / rpu.
69 * touchpanel plate and the ADC sampling the signal.
87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen.");
109 * Set to 1 to enable coordinate polling. e.g. x,y[,p] is sampled together
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()
[all …]
Dtsc200x-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2006-2010 Nokia Corporation
24 #include "tsc200x-core.h"
33 * 5) tsc200x_irq_thread() queues up a transfer to fetch the x, y, z1, z2
68 u16 x; member
85 /* raw copy of previous x,y,z */
115 int x, int y, int pressure) in tsc200x_update_pen_state() argument
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 …]
Dads7846.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * - corgi_ts.c
11 * Copyright (C) 2004-2005 Richard Purdie
12 * - omap_ts.[hc], ads7846.h, ts_osk.c
39 * Support for ads7843 tested on Atmel at91sam926x-EK.
53 * note. The strength of filtering can be set in the board-* specific
76 * driver is used with DMA-based SPI controllers (like atmel_spi) on
77 * systems where main memory is not DMA-coherent (most non-x86 boards).
91 u16 x, y, z1, z2; member
152 /* leave chip selected when we're done, for quicker re-select? */
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dam437x-cm-t43.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 CompuLab, Ltd. - https://www.compulab.co.il/
6 /dts-v1/;
8 #include <dt-bindings/pinctrl/am43xx.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 model = "CompuLab CM-T43";
15 compatible = "compulab,am437x-cm-t43", "ti,am4372", "ti,am43";
18 compatible = "gpio-leds";
21 label = "cm-t43:green";
[all …]
Dam335x-cm-t335.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * am335x-cm-t335.dts - Device Tree file for Compulab CM-T335
5 * Copyright (C) 2014 - 2015 CompuLab Ltd. - https://www.compulab.co.il/
8 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/irq.h>
14 model = "CompuLab CM-T335";
15 compatible = "compulab,cm-t335", "ti,am33xx";
23 compatible = "gpio-leds";
24 pinctrl-names = "default";
25 pinctrl-0 = <&gpio_led_pins>;
[all …]
Dam335x-pepper.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 Gumstix, Inc. - https://www.gumstix.com/
5 /dts-v1/;
7 #include <dt-bindings/input/input.h>
12 compatible = "gumstix,am335x-pepper", "ti,am33xx";
16 cpu0-supply = <&dcdc3_reg>;
26 compatible = "gpio-keys";
29 leds: user-leds-pins {
30 compatible = "gpio-leds";
38 compatible = "ti,da830-evm-audio";
[all …]
Dam335x-pdu001.dts6 * Copyright (C) 2018 EETS GmbH - https://www.eets.ch/
8 * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
10 * SPDX-License-Identifier: GPL-2.0+
13 /dts-v1/;
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/leds/leds-pca9532.h>
24 stdout-path = &uart3;
29 cpu0-supply = <&vdd1_reg>;
39 compatible = "regulator-fixed";
40 regulator-name = "vbat";
[all …]
Dam335x-evmsk.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
11 /dts-v1/;
14 #include <dt-bindings/pwm/pwm.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
18 model = "TI AM335x EVM-SK";
19 compatible = "ti,am335x-evmsk", "ti,am33xx";
23 cpu0-supply = <&vdd1_reg>;
33 stdout-path = &uart0;
37 compatible = "regulator-fixed";
[all …]
Dam335x-evm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/irq.h>
12 compatible = "ti,am335x-evm", "ti,am33xx";
16 cpu0-supply = <&vdd1_reg>;
26 stdout-path = &uart0;
30 compatible = "regulator-fixed";
31 regulator-name = "vbat";
32 regulator-min-microvolt = <5000000>;
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx6ull-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2018-2022 Toradex
16 compatible = "pwm-backlight";
17 brightness-levels = <0 4 8 16 32 64 128 255>;
18 default-brightness-level = <6>;
19 enable-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&pinctrl_gpio_bl_on>;
22 power-supply = <&reg_3v3>;
28 compatible = "gpio-usb-b-connector", "usb-b-connector";
[all …]

12