Home
last modified time | relevance | path

Searched +full:touchscreen +full:- +full:min +full:- +full:pressure (Results 1 – 25 of 29) sorted by relevance

12

/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dtoradex,vf50-touchscreen.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/toradex,vf50-touchscreen.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Toradex Colibri VF50 Touchscreen
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
11 - Sanchayan Maity <maitysanchayan@gmail.com>
15 const: toradex,vf50-touchscreen
20 io-channels:
24 IIO ADC for Y-, X-, Y+, X+ connections
[all …]
/linux/drivers/input/touchscreen/
H A Dresistive-adc-touch.c1 // SPDX-License-Identifier: GPL-2.0
3 * ADC generic resistive touchscreen (GRTS)
13 #include <linux/input/touchscreen.h>
21 #define DRIVER_NAME "resistive-adc-touch"
37 * struct grts_state - generic resistive touch screen information struct
39 * @pressure_min: number representing the minimum for the pressure
40 * @pressure: are we getting pressure info or not
44 * @prop: touchscreen properties struct
45 * @ch_map: map of channels that are defined for the touchscreen
50 bool pressure; member
[all …]
H A 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
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).
[all …]
H A Dcolibri-vf50-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Toradex Colibri VF50 Touchscreen driver
25 #define DRIVER_NAME "colibri-vf50-ts"
27 #define VF_ADC_MAX ((1 << 12) - 1)
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 …]
H A Dcy8ctma140.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for Cypress CY8CTMA140 (TMA140) touchscreen
8 * Inspired by the tma140_skomer.c driver in the Samsung GT-S7710 code
9 * drop. The GT-S7710 is codenamed "Skomer", the code also indicates
10 * that the same touchscreen was used in a product called "Lucas".
12 * The code drop for GT-S7710 also contains a firmware downloader and
14 * the firmware got downloaded to the touchscreen flash successfully and
23 #include <linux/input/touchscreen.h>
73 id = i % 2 ? buf[-1] & 0x0f : buf[5] >> 4; in cy8ctma140_report()
74 slot = input_mt_get_slot_by_key(ts->input, id); in cy8ctma140_report()
[all …]
H A Dzforce_ts.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012-2013 MundoReader S.L.
18 #include <linux/input/touchscreen.h>
89 int pressure; member
130 struct i2c_client *client = ts->client; in zforce_command()
134 dev_dbg(&client->dev, "%s: 0x%x\n", __func__, cmd); in zforce_command()
142 dev_err(&client->dev, "i2c send data request error: %d\n", ret); in zforce_command()
151 struct i2c_client *client = ts->client; in zforce_send_wait()
154 dev_dbg(&client->dev, "sending %d bytes for command 0x%x\n", in zforce_send_wait()
157 ts->command_waiting = buf[2]; in zforce_send_wait()
[all …]
H A 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 …]
H A Dcyttsp5.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2012-2015 Cypress Semiconductor
13 #include <linux/crc-itu-t.h>
18 #include <linux/input/touchscreen.h>
32 #define CY_NUM_BTN_EVENT_ID GENMASK(CY_BITS_PER_BTN - 1, 0)
160 size_t min; /* min value */ member
226 error = regmap_bulk_read(ts->regmap, HID_INPUT_REG, temp, sizeof(temp)); in cyttsp5_read()
235 return -EINVAL; in cyttsp5_read()
238 return regmap_bulk_read(ts->regmap, HID_INPUT_REG, buf, size); in cyttsp5_read()
247 return -E2BIG; in cyttsp5_write()
[all …]
H A Diqs7211.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Azoteq IQS7210A/7211A/E Trackpad/Touchscreen Controller
16 #include <linux/input/touchscreen.h>
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",
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-skov-cpu-revc.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 touchscreen {
7 compatible = "resistive-adc-touch";
8 io-channels = <&adc_ts 1>, <&adc_ts 3>, <&adc_ts 4>, <&adc_ts 5>;
9 io-channel-names = "y", "z1", "z2", "x";
10 touchscreen-min-pressure = <65000>;
11 touchscreen-inverted-y;
12 touchscreen-swapped-x-y;
13 touchscreen-x-plate-ohms = <300>;
14 touchscreen-y-plate-ohms = <800>;
[all …]
H A Dimx6dl-plym2m.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
17 stdout-path = &uart4;
21 compatible = "pwm-backlight";
23 brightness-levels = <0 1000>;
24 num-interpolated-steps = <20>;
25 default-brightness-level = <19>;
26 power-supply = <&reg_12v0>;
[all …]
H A Dimx6dl-victgo.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
9 #include "imx6qdl-vicut1.dtsi"
15 gpio-keys {
16 compatible = "gpio-keys";
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_gpiokeys>;
21 key-power {
25 wakeup-source;
28 key-enter {
[all …]
H A Dimx7-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2016-2022 Toradex
6 #include <dt-bindings/pwm/pwm.h>
15 brightness-levels = <0 45 63 88 119 158 203 255>;
16 compatible = "pwm-backlight";
17 default-brightness-level = <4>;
18 enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
19 pinctrl-names = "default";
20 pinctrl-0 = <&pinctrl_gpio_bl_on>;
21 power-supply = <&reg_module_3v3>;
[all …]
H A 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 …]
H A Dimx7d-sdb.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 /dts-v1/;
11 compatible = "fsl,imx7d-sdb", "fsl,imx7d";
19 stdout-path = &uart1;
27 gpio-keys {
28 compatible = "gpio-keys";
29 pinctrl-names = "default";
30 pinctrl-0 = <&pinctrl_gpio_keys>;
32 key-volume-up {
36 wakeup-source;
[all …]
H A Dimx53-ppd.dts4 * This file is dual-licensed: you can use it either under the terms
42 /dts-v1/;
45 #include <dt-bindings/input/input.h>
49 compatible = "ge,imx53-cpuvo", "fsl,imx53";
58 stdout-path = "serial0:115200n8";
67 cko2_11M: sgtl-clock-cko2 {
68 compatible = "fixed-clock";
69 #clock-cells = <0>;
70 clock-frequency = <11289600>;
73 achc_24M: achc-clock {
[all …]
/linux/arch/arm/boot/dts/nxp/vf/
H A Dvf500-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright 2014-2020 Toradex
7 #include "vf-colibri.dtsi"
11 compatible = "toradex,vf500-colibri_vf50", "fsl,vf500";
18 touchscreen: vf50-touchscreen { label
19 compatible = "toradex,vf50-touchscreen";
20 io-channels = <&adc1 0>,<&adc0 0>,
22 xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
23 xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
24 yp-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
[all …]
H A Dvf500-colibri-eval-v3.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright 2014-2020 Toradex
6 /dts-v1/;
7 #include "vf500-colibri.dtsi"
8 #include "vf-colibri-eval-v3.dtsi"
12 compatible = "toradex,vf500-colibri_vf50-on-eval", "toradex,vf500-colibri_vf50", "fsl,vf500";
15 &touchscreen {
16 vf50-ts-min-pressure = <200>;
/linux/arch/arm/boot/dts/ti/omap/
H A Dlogicpd-torpedo-baseboard.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 compatible = "gpio-keys";
6 pinctrl-names = "default";
7 pinctrl-0 = <&gpio_key_pins &gpio_key_pins_wkup>;
13 wakeup-source;
20 wakeup-source;
27 wakeup-source;
34 wakeup-source;
39 compatible = "ti,omap-twl4030";
45 compatible = "gpio-leds";
[all …]
H A Domap3-n900.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
7 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/media/video-interfaces.h>
15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch"
18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no
34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mm-var-som.dtsi1 // 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 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 …]
/linux/arch/arm/boot/dts/st/
H A Dste-ux500-samsung-skomer.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8505.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
/linux/drivers/input/mouse/
H A Dsynaptics_usb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (c) 2004 Jan Steinhoff (cpad@jan-steinhoff . de)
14 * http://jan-steinhoff.de/linux/synaptics-usb.html
16 * Bases on: usb_skeleton.c v2.2 by Greg Kroah-Hartman
49 #define USB_DEVICE_ID_SYNAPTICS_TS 0x0006 /* Synaptics TouchScreen */
96 struct input_dev *input_dev = synusb->input; in synusb_report_buttons()
98 input_report_key(input_dev, BTN_LEFT, synusb->data[1] & 0x04); in synusb_report_buttons()
99 input_report_key(input_dev, BTN_RIGHT, synusb->data[1] & 0x01); in synusb_report_buttons()
100 input_report_key(input_dev, BTN_MIDDLE, synusb->data[1] & 0x02); in synusb_report_buttons()
105 struct input_dev *input_dev = synusb->input; in synusb_report_stick()
[all …]
H A Delantech.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2007-2009 Arjan Opmeer <arjan@opmeer.net>
27 if (etd->info.debug) \
38 if (ps2_sliced_command(&psmouse->ps2dev, c) || in synaptics_send_cmd()
39 ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO)) { in synaptics_send_cmd()
41 return -1; in synaptics_send_cmd()
53 struct ps2dev *ps2dev = &psmouse->ps2dev; in elantech_send_cmd()
59 return -1; in elantech_send_cmd()
71 struct ps2dev *ps2dev = &psmouse->ps2dev; in elantech_ps2_command()
72 struct elantech_data *etd = psmouse->private; in elantech_ps2_command()
[all …]

12