| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/ |
| H A 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 …]
|
| H A D | elan,elants_i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/input/touchscreen/elan,elants_i2c.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Elantech I2C Touchscreen 10 - David Heidelberg <david@ixit.cz> 13 - $ref: touchscreen.yaml# 18 - elan,ektf3624 19 - elan,ekth3500 27 wakeup-source: [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/rmi4/ |
| H A D | rmi_2d_sensor.txt | 12 http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf 15 Description in Documentation/devicetree/bindings/input/touchscreen 16 - touchscreen-inverted-x 17 - touchscreen-inverted-y 18 - touchscreen-swapped-x-y 19 - touchscreen-x-mm 20 - touchscreen-y-mm 23 - syna,clip-x-low: Sets a minimum value for X. 24 - syna,clip-y-low: Sets a minimum value for Y. 25 - syna,clip-x-high: Sets a maximum value for X. [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mq-zii-ultra-rmb3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 8 #include "imx8mq-zii-ultra.dtsi" 12 compatible = "zii,imx8mq-ultra-rmb3", "zii,imx8mq-ultra", "fsl,imx8mq"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_ecspi1>; 18 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 20 #address-cells = <1>; 21 #size-cells = <0>; 24 compatible = "st,n25q128a13", "jedec,spi-nor"; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | imx6q-var-dt6customboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Support for Variscite DART-MX6 Carrier-board 9 /dts-v1/; 12 #include "imx6qdl-var-dart.dtsi" 13 #include <dt-bindings/input/linux-event-codes.h> 16 model = "Variscite DART-MX6 Carrier-board"; 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 4 8 16 32 64 128 248>; 23 default-brightness-level = <7>; 27 gpio-keys { [all …]
|
| 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 | sun4i-a10-inet9f-rev03.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 51 model = "iNet-9F Rev 03"; 52 compatible = "inet-tek,inet9f-rev03", "allwinner,sun4i-a10"; 59 stdout-path = "serial0:115200n8"; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/ |
| H A D | samsung,exynos-adc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/samsung,exynos-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - samsung,exynos-adc-v1 # Exynos5250 16 - samsung,exynos-adc-v2 17 - samsung,exynos3250-adc 18 - samsung,exynos4212-adc # Exynos4212 and Exynos4412 19 - samsung,exynos7-adc [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/rmi4/ |
| H A D | rmi_2d_sensor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2016 Synaptics Incorporated 16 #define RMI_2D_REL_POS_MIN -128 26 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process() 29 if (obj->type == RMI_2D_OBJECT_NONE) in rmi_2d_sensor_abs_process() 32 if (axis_align->flip_x) in rmi_2d_sensor_abs_process() 33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process() 35 if (axis_align->flip_y) in rmi_2d_sensor_abs_process() 36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process() 38 if (axis_align->swap_axes) in rmi_2d_sensor_abs_process() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | touchright.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Touchright serial touchscreen driver 7 * Based on MicroTouch driver (drivers/input/touchscreen/mtouch.c) 20 #define DRIVER_DESC "Touchright serial touchscreen driver" 42 * Per-touchscreen data. 57 struct input_dev *dev = tr->dev; in tr_interrupt() 59 tr->data[tr->idx] = data; in tr_interrupt() 61 if ((tr->data[0] & TR_FORMAT_STATUS_MASK) == TR_FORMAT_STATUS_BYTE) { in tr_interrupt() 62 if (++tr->idx == TR_LENGTH) { in tr_interrupt() 64 (tr->data[1] << 5) | (tr->data[2] >> 1)); in tr_interrupt() [all …]
|
| H A D | touchwin.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Touchwindow serial touchscreen driver 7 * Based on MicroTouch driver (drivers/input/touchscreen/mtouch.c) 27 #define DRIVER_DESC "Touchwindow serial touchscreen driver" 45 * Per-touchscreen data. 61 struct input_dev *dev = tw->dev; in tw_interrupt() 64 tw->touched = 1; in tw_interrupt() 65 tw->data[tw->idx++] = data; in tw_interrupt() 67 if (tw->idx == TW_LENGTH && tw->data[1] == tw->data[2]) { in tw_interrupt() 68 input_report_abs(dev, ABS_X, tw->data[0]); in tw_interrupt() [all …]
|
| H A D | egalax_ts_serial.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * EETI Egalax serial touchscreen driver 9 * Hampshire serial touchscreen driver (Copyright (c) 2010 Adam Bennett) 20 #define DRIVER_DESC "EETI Egalax serial touchscreen driver" 38 * Per-touchscreen data. 50 struct input_dev *dev = egalax->input; in egalax_process_data() 51 u8 *data = egalax->data; in egalax_process_data() 56 shift = 3 - ((data[0] & EGALAX_FORMAT_RESOLUTION_MASK) >> 1); in egalax_process_data() 74 egalax->data[egalax->idx++] = data; in egalax_interrupt() 76 if (likely(egalax->data[0] & EGALAX_FORMAT_START_BIT)) { in egalax_interrupt() [all …]
|
| H A D | gunze.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2000-2001 Vojtech Pavlik 7 * Gunze AHL-51S touchscreen driver for Linux 20 #define DRIVER_DESC "Gunze AHL-51S touchscreen driver" 33 * Per-touchscreen data. 46 struct input_dev *dev = gunze->dev; in gunze_process_packet() 48 if (gunze->idx != GUNZE_MAX_LENGTH || gunze->data[5] != ',' || in gunze_process_packet() 49 (gunze->data[0] != 'T' && gunze->data[0] != 'R')) { in gunze_process_packet() 50 printk(KERN_WARNING "gunze.c: bad packet: >%.*s<\n", GUNZE_MAX_LENGTH, gunze->data); in gunze_process_packet() 54 input_report_abs(dev, ABS_X, simple_strtoul(gunze->data + 1, NULL, 10)); in gunze_process_packet() [all …]
|
| H A D | fujitsu_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Fujitsu serial touchscreen driver 16 #define DRIVER_DESC "Fujitsu serial touchscreen driver" 25 * Per-touchscreen data. 47 struct input_dev *dev = fujitsu->dev; in fujitsu_interrupt() 49 if (fujitsu->idx == 0) { in fujitsu_interrupt() 56 fujitsu->idx = 0; in fujitsu_interrupt() 61 fujitsu->data[fujitsu->idx++] = data; in fujitsu_interrupt() 62 if (fujitsu->idx == FUJITSU_LENGTH) { in fujitsu_interrupt() 64 (fujitsu->data[2] << 7) | fujitsu->data[1]); in fujitsu_interrupt() [all …]
|
| H A D | touchit213.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Sahara TouchIT-213 serial touchscreen driver 5 * Copyright (c) 2007-2008 Claudio Nieder <private@claudio.ch> 7 * Based on Touchright driver (drivers/input/touchscreen/touchright.c) 21 #define DRIVER_DESC "Sahara TouchIT-213 serial touchscreen driver" 35 * +--------+ +--------+ +--------+ +--------+ +--------+ 37 * +--------+ +--------+ +--------+ +--------+ +--------+ 60 * On my Sahara Touch-IT 213 I have observed x values from 0 to 0x7f0 70 * Per-touchscreen data. 86 struct input_dev *dev = touchit213->dev; in touchit213_interrupt() [all …]
|
| H A D | dynapro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Dynapro serial touchscreen driver 23 #define DRIVER_DESC "Dynapro serial touchscreen driver" 47 * Per-touchscreen data. 60 struct input_dev *dev = pdynapro->dev; in dynapro_process_data() 62 if (DYNAPRO_FORMAT_LENGTH == ++pdynapro->idx) { in dynapro_process_data() 63 input_report_abs(dev, ABS_X, DYNAPRO_GET_XC(pdynapro->data)); in dynapro_process_data() 64 input_report_abs(dev, ABS_Y, DYNAPRO_GET_YC(pdynapro->data)); in dynapro_process_data() 66 DYNAPRO_GET_TOUCHED(pdynapro->data)); in dynapro_process_data() 69 pdynapro->idx = 0; in dynapro_process_data() [all …]
|
| H A D | inexio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * iNexio serial touchscreen driver 22 #define DRIVER_DESC "iNexio serial touchscreen driver" 49 * Per-touchscreen data. 62 struct input_dev *dev = pinexio->dev; in inexio_process_data() 64 if (INEXIO_FORMAT_LENGTH == ++pinexio->idx) { in inexio_process_data() 65 input_report_abs(dev, ABS_X, INEXIO_GET_XC(pinexio->data)); in inexio_process_data() 66 input_report_abs(dev, ABS_Y, INEXIO_GET_YC(pinexio->data)); in inexio_process_data() 67 input_report_key(dev, BTN_TOUCH, INEXIO_GET_TOUCHED(pinexio->data)); in inexio_process_data() 70 pinexio->idx = 0; in inexio_process_data() [all …]
|
| H A D | mtouch.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MicroTouch (3M) serial touchscreen driver 21 #define DRIVER_DESC "MicroTouch serial touchscreen driver" 50 * Per-touchscreen data. 63 struct input_dev *dev = mtouch->dev; in mtouch_process_format_tablet() 65 if (MTOUCH_FORMAT_TABLET_LENGTH == ++mtouch->idx) { in mtouch_process_format_tablet() 66 input_report_abs(dev, ABS_X, MTOUCH_GET_XC(mtouch->data)); in mtouch_process_format_tablet() 67 input_report_abs(dev, ABS_Y, MTOUCH_MAX_YC - MTOUCH_GET_YC(mtouch->data)); in mtouch_process_format_tablet() 68 input_report_key(dev, BTN_TOUCH, MTOUCH_GET_TOUCHED(mtouch->data)); in mtouch_process_format_tablet() 71 mtouch->idx = 0; in mtouch_process_format_tablet() [all …]
|
| H A D | hampshire.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Hampshire serial touchscreen driver 12 * Copied dynapro.c and edited for Hampshire 4-byte protocol 22 #define DRIVER_DESC "Hampshire serial touchscreen driver" 46 * Per-touchscreen data. 59 struct input_dev *dev = phampshire->dev; in hampshire_process_data() 61 if (HAMPSHIRE_FORMAT_LENGTH == ++phampshire->idx) { in hampshire_process_data() 62 input_report_abs(dev, ABS_X, HAMPSHIRE_GET_XC(phampshire->data)); in hampshire_process_data() 63 input_report_abs(dev, ABS_Y, HAMPSHIRE_GET_YC(phampshire->data)); in hampshire_process_data() 65 HAMPSHIRE_GET_TOUCHED(phampshire->data)); in hampshire_process_data() [all …]
|
| H A D | mms114.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Melfas MMS114/MMS152 touchscreen device driver 13 #include <linux/input/touchscreen.h> 43 /* Touchscreen absolute values */ 49 /* Touch type */ 66 enum mms_type type; member 75 u8 id:4, reserved_bit4:1, type:2, pressed:1; member 87 struct i2c_client *client = data->client; in __mms114_read_reg() 96 xfer[0].addr = client->addr; in __mms114_read_reg() 97 xfer[0].flags = client->flags & I2C_M_TEN; in __mms114_read_reg() [all …]
|
| H A D | wacom_w8001.c | 2 * Wacom W8001 penabled serial touchscreen driver 6 * Copyright (c) 2010 - 2011 Ping Cheng, Wacom. <pingc@wacom.com> 12 * Layout based on Elo serial touchscreen driver by Vojtech Pavlik 24 #define DRIVER_DESC "Wacom W8001 serial touchscreen driver" 81 * Per-touchscreen data. 95 int type; member 111 coord->rdy = data[0] & 0x20; in parse_pen_data() 112 coord->tsw = data[0] & 0x01; in parse_pen_data() 113 coord->f1 = data[0] & 0x02; in parse_pen_data() 114 coord->f2 = data[0] & 0x04; in parse_pen_data() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/udev/eudev/ |
| H A D | local.rules | 16 # Create a symlink to any touchscreen input device 17 # Trigger based on input type, that the evbit (-e) has EV_SYN and EV_ABS, 18 # has an EV_ABS value (-a) which is used for touchscreen type devices. 19 SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", SYMLINK+="input/touchscr…
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | allwinner,sun4i-a10-ts.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 Resistive Touchscreen Controller Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#thermal-sensor-cells": 19 - allwinner,sun4i-a10-ts 20 - allwinner,sun5i-a13-ts [all …]
|
| H A D | st,stmfx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectonics Multi-Function eXpander (STMFX) bindings 9 description: ST Multi-Function eXpander (STMFX) is a slave controller using I2C for 12 through VDD) and resistive touchscreen controller. 15 - Amelie Delaunay <amelie.delaunay@st.com> 19 const: st,stmfx-0300 27 drive-open-drain: true 29 vdd-supply: [all …]
|