/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ti,tsc2005.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/ti,tsc2005.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments TSC2004 and TSC2005 touchscreen controller 10 - Marek Vasut <marex@denx.de> 11 - Michael Welling <mwelling@ieee.org> 15 pattern: "^touchscreen(@.*)?$" 19 - ti,tsc2004 20 - ti,tsc2005 [all …]
|
H A D | cypress,cy8ctma140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/cypress,cy8ctma140.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Cypress CY8CTMA140 series touchscreen controller 10 - Linus Walleij <linus.walleij@linaro.org> 13 - $ref: touchscreen.yaml# 22 clock-frequency: 30 vcpin-supply: 33 vdd-supply: [all …]
|
H A D | bu21029.txt | 4 - 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 …]
|
H A D | adi,ad7879.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/adi,ad7879.yaml# 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: [all …]
|
H A D | melfas,mms114.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/melfas,mms114.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Melfas MMS114 family touchscreen controller 10 - Linus Walleij <linus.walleij@linaro.org> 13 - $ref: touchscreen.yaml# 17 pattern: "^touchscreen(@.*)?$" 21 - enum: 22 - melfas,mms114 [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx53-sk-imx53-atm0700d4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 /dts-v1/; 7 #include <dt-bindings/pwm/pwm.h> 8 #include "imx53-sk-imx53.dts" 11 panel: panel-rgb { 12 compatible = "powertip,ph800480t013-idf02"; 21 compatible = "spi-gpio"; 22 #address-cells = <0x1>; 23 #size-cells = <0x0>; 25 num-chipselects = <1>; [all …]
|
H A D | imx6qdl-skov-cpu-revc.dtsi | 1 // 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 D | imx6qdl-apalis-v1.2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 5 /delete-node/ stmpe811@41; 7 ad7879_ts: touchscreen@2c { 8 compatible = "adi,ad7879-1"; 10 pinctrl-names = "default"; 11 pinctrl-0 = <&pinctrl_touch_int>; 13 interrupt-parent = <&gpio4>; 14 touchscreen-max-pressure = <4096>; 15 adi,resistance-plate-x = <120>; 16 adi,first-conversion-delay = /bits/ 8 <3>; [all …]
|
H A D | imx6qdl-colibri-v1.2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 5 /delete-node/ stmpe811@41; 7 ad7879_ts: touchscreen@2c { 8 compatible = "adi,ad7879-1"; 10 pinctrl-names = "default"; 11 pinctrl-0 = <&pinctrl_touch_int>; 13 interrupt-parent = <&gpio6>; 14 touchscreen-max-pressure = <4096>; 15 adi,resistance-plate-x = <120>; 16 adi,first-conversion-delay = /bits/ 8 <3>; [all …]
|
H A D | imx6dl-plym2m.dts | 1 // 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 = <®_12v0>; [all …]
|
H A D | imx6dl-victgo.dts | 1 // 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 …]
|
/linux/drivers/input/touchscreen/ |
H A D | mxs-lradc-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Freescale MXS LRADC touchscreen driver 19 #include <linux/mfd/mxs-lradc.h> 25 "mxs-lradc-touchscreen", 26 "mxs-lradc-channel6", 27 "mxs-lradc-channel7", 31 * Touchscreen handling 47 * When the touchscreen is enabled, we give it two private virtual 62 /* handle touchscreen's physical behaviour */ 77 u32 pressure; member [all …]
|
H A 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 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 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 …]
|
H A D | chipone_icn8505.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for ChipOne icn8505 i2c touchscreen controller 5 * Copyright (c) 2015-2018 Red Hat Inc. 20 #include <linux/input/touchscreen.h> 53 u8 pressure; /* Seems more like finger width then pressure really */ member 96 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_read_xfer() 98 ret = i2c_transfer(client->adapter, msg, 2); in icn8505_read_xfer() 101 ret = -EIO; in icn8505_read_xfer() 103 dev_err(&client->dev, in icn8505_read_xfer() 116 u8 buf[3 + 32]; /* 3 bytes for 24 bit reg-addr + 32 bytes max len */ in icn8505_write_xfer() [all …]
|
H A D | zforce_ts.c | 1 // 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 D | msg2638.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (c) 2006-2012 MStar Semiconductor, Inc. 19 #include <linux/input/touchscreen.h> 61 u8 pressure; member 90 return (u8)((-sum) & 0xFF); in msg2638_checksum() 101 for (i = 0; i < msg2638->num_keycodes; ++i) in msg2138_report_keys() 102 input_report_key(msg2638->input_dev, msg2638->keycodes[i], in msg2138_report_keys() 109 struct i2c_client *client = msg2638->client; in msg2138_ts_irq_handler() 110 struct input_dev *input = msg2638->input_dev; in msg2138_ts_irq_handler() 115 .addr = client->addr, in msg2138_ts_irq_handler() [all …]
|
H A D | ad7877.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2006-2008 Michael Hennerich, Analog Devices Inc. 5 * Description: AD7877 based touchscreen, sensor (ADCs), DAC and GPIO driver 16 * - corgi_ts.c 17 * Copyright (C) 2004-2005 Richard Purdie 18 * - omap_ts.[hc], ads7846.h, ts_osk.c 39 #define MAX_12BIT ((1<<12)-1) 119 #define AD7877_SER (1 << 11) /* non-differential */ 139 * Non-touchscreen sensors only use single-ended conversions. 206 return -ENOMEM; in ad7877_read() [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-href-tvk1281618-r3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/input/input.h> 12 compatible = "gpio-keys"; 13 #address-cells = <1>; 14 #size-cells = <0>; 15 vdd-supply = <&ab8500_ldo_aux1_reg>; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&hall_tvk_mode>; 32 interrupt-parent = <&gpio2>; [all …]
|
H A 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/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A 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 …]
|
H A 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> 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/drivers/iio/adc/ |
H A D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 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 200 /* Pen Detection input pull-up resistor, can be 0~3 */ [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A 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 …]
|
H A 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 …]
|