/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ad7879.txt | 1 * Analog Devices AD7879(-1)/AD7889(-1) touchscreen interface (SPI/I2C) 4 - compatible : for SPI slave, use "adi,ad7879" 5 for I2C slave, use "adi,ad7879-1" 6 - reg : SPI chipselect/I2C slave address 7 See spi-bus.txt for more SPI slave properties 8 - interrupts : touch controller interrupt 9 - touchscreen-max-pressure : maximum reported pressure 10 - adi,resistance-plate-x : total resistance of X-plate (for pressure 13 - touchscreen-swapped-x-y : X and Y axis are swapped (boolean) 14 - adi,first-conversion-delay : 0-12: In 128us steps (starting with 128us) [all …]
|
H A D | ti,am3359-tsc.yaml | 1 # 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 …]
|
H A D | touchscreen.yaml | 1 # 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 …]
|
H A 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 …]
|
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 | tsc2007.txt | 4 - 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 …]
|
H A D | ti,tsc2005.yaml | 1 # 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 …]
|
/openbmc/linux/drivers/mfd/ |
H A D | ucb1x00-ts.c | 1 // 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 …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | resistive-adc-touch.c | 1 // 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 …]
|
H A D | tsc2007_core.c | 1 // 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 …]
|
H A D | ti_am335x_tsc.c | 4 * 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 D | bu21029_ts.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2018 Bosch Sicherheitssysteme GmbH 25 * +--------+--------+--------+--------+--------+--------+--------+--------+ 27 * +--------+--------+--------+--------+--------+--------+--------+--------+ 29 * +--------+--------+--------+--------+--------+--------+--------+--------+ 31 * +--------+--------+--------+--------+--------+--------+--------+--------+ 33 * +--------+--------+--------+--------+--------+--------+--------+--------+ 35 * +--------+--------+--------+--------+--------+--------+--------+--------+ 44 * +--------+--------+--------+--------+--------+--------+--------+--------+ 46 * +--------+--------+--------+--------+--------+--------+--------+--------+ [all …]
|
H A D | ad7879.c | 1 // 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 …]
|
H A D | colibri-vf50-ts.c | 1 // 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 …]
|
H A D | wm9712.c | 1 // 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 …]
|
H A D | wm9713.c | 1 // 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 …]
|
H A D | tsc200x-core.c | 1 // 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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | am335x-brppt1-mmc.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 18 order-no = "6PPT30 (MMC)"; 19 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 20 serial-no = "0"; 21 device-id = <0x0>; 22 parent-id = <0x0>; [all …]
|
H A D | am335x-brppt1-spi.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 18 order-no = "6PPT30 (SPI)"; 19 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 20 serial-no = "0"; 21 device-id = <0x0>; 22 parent-id = <0x0>; [all …]
|
H A D | am335x-brppt1-nand.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 18 order-no = "6PPT30 (NAND)"; 19 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 20 serial-no = "0"; 21 device-id = <0x0>; 22 parent-id = <0x0>; [all …]
|
H A D | imx6ull-colibri.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 12 compatible = "toradex,imx6ull-colibri", "fsl,imx6ull"; 15 stdout-path = &uart1; 18 reg_module_3v3: regulator-module-3v3 { 19 compatible = "regulator-fixed"; 20 regulator-always-on; 21 regulator-name = "+V3.3"; 22 regulator-min-microvolt = <3300000>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am437x-cm-t43.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 CompuLab, Ltd. - http://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 …]
|
H A D | am335x-cm-t335.dts | 1 // 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. - http://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 …]
|
H A D | am335x-pepper.dts | 1 // 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 …]
|
H A D | am335x-pdu001.dts | 6 * Copyright (C) 2018 EETS GmbH - http://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 …]
|