/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/ |
D | ads7846.txt | 7 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, 41 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are 47 ti,x-plate-ohms Resistance of the X-plate, 49 ti,y-plate-ohms Resistance of the Y-plate, [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 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 …]
|
D | iqs5xx.txt | 1 Azoteq IQS550/572/525 Trackpad/Touchscreen Controller 5 - compatible : Must be equal to one of the following: 10 - reg : I2C slave address for the device. 12 - interrupts : GPIO to which the device's active-high RDY 15 - reset-gpios : GPIO to which the device's active-low NRST 20 - touchscreen-min-x : See [2]. 22 - touchscreen-min-y : See [2]. 24 - touchscreen-size-x : See [2]. If this property is omitted, the 25 maximum x-coordinate is specified by the 28 - touchscreen-size-y : See [2]. If this property is omitted, the [all …]
|
D | colibri-vf50-ts.txt | 1 * Toradex Colibri VF50 Touchscreen driver 4 - compatible must be toradex,vf50-touchscreen 5 - io-channels: adc channels being used by the Colibri VF50 module 6 - xp-gpios: FET gate driver for input of X+ 7 - xm-gpios: FET gate driver for input of X- 8 - yp-gpios: FET gate driver for input of Y+ 9 - ym-gpios: FET gate driver for input of Y- 10 - interrupts: pen irq interrupt for touch detection 11 - pinctrl-names: "idle", "default", "gpios" 12 - pinctrl-0: pinctrl node for pen/touch detection state pinmux [all …]
|
D | resistive-adc-touch.txt | 1 Generic resistive touchscreen ADC 5 - compatible: must be "resistive-adc-touch" 7 position measurement and optional pressure. 8 Refer to ../iio/iio-bindings.txt for details 9 - iio-channels: must have at least two channels connected to an ADC device. 13 - iio-channel-names: must have all the channels' names. Mandatory channels 17 - iio-channels: The third channel named "pressure" is optional and can be 18 used if the ADC device also measures pressure besides position. 19 If this channel is missing, pressure will be ignored and the touchscreen 21 - iio-channel-names: optional channel named "pressure". [all …]
|
/Linux-v5.10/drivers/input/touchscreen/ |
D | resistive-adc-touch.c | 1 // 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" 26 * grts_state - generic resistive touch screen information struct 27 * @pressure_min: number representing the minimum for the pressure 28 * @pressure: are we getting pressure info or not 32 * @prop: touchscreen properties struct 36 bool pressure; member 52 if (st->pressure) in grts_cb() [all …]
|
D | of_touchscreen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic DT helper functions for touchscreen devices 11 #include <linux/input/touchscreen.h> 34 int min, int max, int fuzz) in touchscreen_set_params() argument 38 if (!test_bit(axis, dev->absbit)) { in touchscreen_set_params() 39 dev_warn(&dev->dev, in touchscreen_set_params() 45 absinfo = &dev->absinfo[axis]; in touchscreen_set_params() 46 absinfo->minimum = min; in touchscreen_set_params() 47 absinfo->maximum = max; in touchscreen_set_params() 48 absinfo->fuzz = fuzz; in touchscreen_set_params() [all …]
|
D | colibri-vf50-ts.c | 1 // 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 …]
|
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> 41 * Support for ads7843 tested on Atmel at91sam926x-EK. 55 * note. The strength of filtering can be set in the board-* specific 69 * with msbs zeroed). Instead, we read them as two 8-bit values, 82 * driver is used with DMA-based SPI controllers (like atmel_spi) on [all …]
|
D | wm97xx-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm97xx-core.c -- Touch screen driver core for Wolfson WM9705, WM9712 15 * - supports WM9705, WM9712, WM9713 16 * - polling mode 17 * - continuous mode (arch-dependent) 18 * - adjustable rpu/dpp settings 19 * - adjustable pressure current 20 * - adjustable sample settle delay 21 * - 4 and 5 wire touchscreens (5 wire is WM9712 only) 22 * - pen down detection [all …]
|
D | cy8ctma140.c | 1 // 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 …]
|
D | zforce_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012-2013 MundoReader S.L. 89 int pressure; member 99 * @access_mutex serialize i2c-access, to keep multipart reads together 137 struct i2c_client *client = ts->client; in zforce_command() 141 dev_dbg(&client->dev, "%s: 0x%x\n", __func__, cmd); in zforce_command() 147 mutex_lock(&ts->access_mutex); in zforce_command() 149 mutex_unlock(&ts->access_mutex); in zforce_command() 151 dev_err(&client->dev, "i2c send data request error: %d\n", ret); in zforce_command() 160 gpiod_set_value_cansleep(ts->gpio_rst, 1); in zforce_reset_assert() [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | am3517-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Based on am3517-evm.dts 11 cpu0-supply = <&vdd_core_reg>; 16 compatible = "regulator-fixed"; 17 regulator-name = "wl1271_buf"; 18 regulator-min-microvolt = <1800000>; 19 regulator-max-microvolt = <1800000>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&wl12xx_buffer_pins>; 23 regulator-always-on; [all …]
|
D | vf500-colibri.dtsi | 1 // 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 …]
|
D | logicpd-som-lv.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include <dt-bindings/input/input.h> 8 cpu0-supply = <&vcc>; 18 compatible = "regulator-fixed"; 19 regulator-name = "vwl1271"; 20 regulator-min-microvolt = <1800000>; 21 regulator-max-microvolt = <1800000>; 23 startup-delay-us = <70000>; 24 enable-active-high; 25 vin-supply = <&vaux3>; [all …]
|
D | vf500-colibri-eval-v3.dts | 1 // 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>;
|
D | logicpd-torpedo-baseboard.dtsi | 1 // 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 …]
|
D | omap3-gta04.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Based on omap3-beagle-xm.dts 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 14 compatible = "ti,omap3-gta04", "ti,omap3630", "ti,omap36xx", "ti,omap3"; 18 cpu0-supply = <&vcc>; 28 stdout-path = &uart3; 37 compatible = "regulator-fixed"; 38 regulator-name = "ldo_3v3"; 39 regulator-min-microvolt = <3300000>; [all …]
|
D | ste-ux500-samsung-skomer.dts | 1 // 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/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 15 model = "Samsung XCover 2 (GT-S7710)"; [all …]
|
D | omap3-n900.dts | 1 // 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> 13 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 15 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 16 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 32 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; 45 cpu0-supply = <&vcc>; 50 compatible = "gpio-leds"; [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/freescale/ |
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 …]
|
D | imx8mm-var-som.dtsi | 1 // 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 …]
|
/Linux-v5.10/drivers/iio/adc/ |
D | at91-sama5d2_adc.c | 1 // 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 …]
|
/Linux-v5.10/drivers/input/mouse/ |
D | synaptics_usb.c | 1 // 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 …]
|
D | elan_i2c_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * copyright (c) 2011-2012 Cypress Semiconductor, Inc. 13 * copyright (c) 2011-2012 Google, Inc. 37 #include <linux/input/elan-i2c-ids.h> 149 return -ENXIO; in elan_get_fwinfo() 153 (*validpage_count * ETP_FW_PAGE_SIZE) - ETP_FW_SIGNATURE_SIZE; in elan_get_fwinfo() 173 error = regulator_enable(data->vcc); in elan_enable_power() 175 dev_err(&data->client->dev, in elan_enable_power() 181 error = data->ops->power_control(data->client, true); in elan_enable_power() 186 } while (--repeat > 0); in elan_enable_power() [all …]
|