/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | hynitron_cstxxx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * are undocumented. This is essentially a cleaned-up version of the 11 * device-specific functions replated with generic functions wherever 37 /* Data generic to all (supported and non-supported) controllers. */ 76 gpiod_set_value_cansleep(ts_data->reset_gpio, 1); in hyn_reset_proc() 78 gpiod_set_value_cansleep(ts_data->reset_gpio, 0); in hyn_reset_proc() 88 ts_data->chip->report_touch(client); in hyn_interrupt_handler() 114 return ret < 0 ? ret : -EIO; in cst3xx_i2c_write() 123 .addr = client->addr, in cst3xx_i2c_read_register() 129 .addr = client->addr, in cst3xx_i2c_read_register() [all …]
|
H A D | chipone_icn8505.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2015-2018 Red Hat Inc. 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() 125 return -EINVAL; in icn8505_write_xfer() 128 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_write_xfer() 132 ret = i2c_transfer(client->adapter, &msg, 1); in icn8505_write_xfer() [all …]
|
H A D | hideep.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012-2017 Hideep, Inc. 28 /* count(2) + touch data(100) + key data(6) */ 34 /* Touch & key event */ 164 * states). We align it on double-word boundary to keep word-sized 165 * fields in contact data and double-word-sized fields in program 182 struct pgm_packet *packet = (void *)ts->xfer_buf; in hideep_pgm_w_mem() 185 .addr = ts->client->addr, in hideep_pgm_w_mem() 186 .len = len + sizeof(packet->header.len) + in hideep_pgm_w_mem() 187 sizeof(packet->header.addr), in hideep_pgm_w_mem() [all …]
|
H A D | elants_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Elan Microelectronics touch panels with I2C interface 8 * This code is partly based on hid-multitouch.c: 10 * Copyright (c) 2010-2012 Stephane Chatty <chatty@enac.fr> 11 * Copyright (c) 2010-2012 Benjamin Tissoires <benjamin.tissoires@gmail.com> 12 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France 14 * This code is partly based on i2c-hid.c: 49 #define ELAN_TS_RESOLUTION(n, m) (((n) - 1) * (m)) 89 /* Header (4 bytes) plus 3 full 10-finger packets */ 150 /* struct elants_data - represents state of Elan touchscreen device */ [all …]
|
/linux/arch/arm/mach-lpc32xx/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-lpc32xx/pm.c 15 * direct-run, and halt modes. When switching between halt and run modes, 16 * the CPU transistions through direct-run mode. For Linux, direct-run 25 * Direct-run mode: 33 * Peripherals based on the 32KHz oscillator clock (ie, RTC, touch, 36 * wake the system up back into direct-run mode. 41 * SDRAM will still be accessible in direct-run mode. In DDR based systems, 42 * a transition to direct-run mode will stop all DDR accesses (no clocks). 43 * Because of this, the code to switch power modes and the code to enter [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS626A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": [all …]
|
H A D | azoteq,iqs7222.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: Azoteq IQS7222A/B/C/D Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 14 capacitive touch controllers that feature additional sensing capabilities. 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d [all …]
|
H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS269A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17 additional Hall-effect and inductive sensing capabilities. 24 - azoteq,iqs269a 25 - azoteq,iqs269a-00 [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mn-dimonoff-gateway-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/usb/pd.h> 9 #include "imx8mn-var-som-symphony.dts" 13 compatible = "dimonoff,gateway-evk", "variscite,var-som-mx8mn", 20 reg_disp_3v3: regulator-disp-3v3 { 21 compatible = "regulator-fixed"; 22 regulator-name = "Display 3V3"; 23 regulator-min-microvolt = <3300000>; 24 regulator-max-microvolt = <3300000>; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
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/include/linux/ |
H A D | rmi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2011-2016 Synaptics Incorporated 21 * struct rmi_2d_axis_alignment - target axis alignment 22 * @swap_axes: set to TRUE if desired to swap x- and y-axis 23 * @flip_x: set to TRUE if desired to flip direction on x-axis 24 * @flip_y: set to TRUE if desired to flip direction on y-axis 25 * @clip_x_low - reported X coordinates below this setting will be clipped to 27 * @clip_x_high - reported X coordinates above this setting will be clipped to 29 * @clip_y_low - reported Y coordinates below this setting will be clipped to 31 * @clip_y_high - reported Y coordinates above this setting will be clipped to [all …]
|
H A D | hil.h | 5 * Hewlett Packard Human Interface Loop (HP-HIL) Protocol -- header. 33 * HP-HIL Technical Reference Manual. Hewlett Packard Product No. 45918A 57 * implementing a software MLC to run HIL devices on a non-parisc machine. 109 HIL_ERR_OB = 0x00000800, /* MLC is busy sending an auto-poll, 131 /* This gives us a 32-bit "packet" 140 HIL_CMD_EPT = 0x01, /* Enter Pass-Thru Mode */ 141 HIL_CMD_ELB = 0x02, /* Enter Loop-Back Mode */ 181 /* 0x80 to 0xEF device-specific commands */ 211 #define HIL_IDD_DID_ABS_TSCREEN_MASK 0xfc /* Touch screens */ 254 #define HIL_IDD_HEADER_2X_AXIS 0x80 /* Two sets of 1-3 axis */ [all …]
|
/linux/drivers/input/mouse/ |
H A D | cyapa_gen3.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 60 * Used in register 0x00, bit1-0, DeviceStatus field. 88 * bit 7 - 4: high 4 bits of x position value 89 * bit 3 - 0: high 4 bits of y position value 95 /* id range is 1 - 15. It is incremented with every new touch. */ 101 * bit 0 - 1: device status 102 * bit 3 - 2: power mode 103 * bit 6 - 4: reserved 108 * bit 7 - 4: number of fingers currently touching pad [all …]
|
H A D | cyapa_gen5.c | 6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc. 21 #include <linux/crc-itu-t.h> 33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \ 141 * Bit 7 - 3: reserved 142 * Bit 2 - 0: touch type; 146 * 3 - 15 : reserved. 151 * Bit 7: indicates touch liftoff status. 152 * 0 : touch is currently on the panel. 153 * 1 : touch record indicates a liftoff. 154 * Bit 6 - 5: indicates an event associated with this touch instance [all …]
|
H A D | alps.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com> 94 #define ALPS_PASS 0x04 /* device has a pass-through port */ 100 #define ALPS_PS2_INTERLEAVED 0x80 /* 3-byte PS/2 packet interleaved with 101 6-byte ALPS packet */ 117 { { 0x33, 0x02, 0x0a }, { ALPS_PROTO_V1, 0x88, 0xf8, 0 } }, /* UMAX-530T */ 119 ALPS_PASS | ALPS_DUALPOINT | ALPS_PS2_INTERLEAVED } }, /* Toshiba Tecra A11-11L */ 128 …{ { 0x63, 0x02, 0x3c }, { ALPS_PROTO_V2, 0x8f, 0x8f, ALPS_WHEEL } }, /* Toshiba Satellite S2400-… 132 …{ { 0x73, 0x00, 0x0a }, { ALPS_PROTO_V2, 0xf8, 0xf8, ALPS_DUALPOINT } }, /* ThinkPad R61 8918-5QG… 180 /* Reported-by: Hans de Bruin <jmdebruin@xmsnet.nl> */ [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-sony-td4353-jdi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Generated with linux-mdss-dsi-panel-driver-generator with a 9 * - "JDI ID3" for Akari (XZ2) 10 * - "JDI ID4" for Apollo (XZ2 Compact) 28 * Leaving room for expansion - SONY very often uses 49 struct mipi_dsi_device *dsi = ctx->dsi; in sony_td4353_jdi_on() 50 struct device *dev = &dsi->dev; in sony_td4353_jdi_on() 53 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sony_td4353_jdi_on() 55 ret = mipi_dsi_dcs_set_column_address(dsi, 0x0000, 1080 - 1); in sony_td4353_jdi_on() 61 ret = mipi_dsi_dcs_set_page_address(dsi, 0x0000, 2160 - 1); in sony_td4353_jdi_on() [all …]
|
H A D | panel-raydium-rm67191.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Raydium RM67191 MIPI-DSI panel driver 11 #include <linux/media-bus-format.h> 24 /* Panel specific color-format bits */ 239 u8 buffer[2] = { entry->cmd, entry->param }; in rad_panel_push_cmd_list() 269 ret = regulator_bulk_enable(rad->num_supplies, rad->supplies); in rad_panel_prepare() 273 if (rad->reset) { in rad_panel_prepare() 274 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_prepare() 276 gpiod_set_value_cansleep(rad->reset, 0); in rad_panel_prepare() 280 rad->prepared = true; in rad_panel_prepare() [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp157c-phycore-stm32mp15-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2022-2023 Steffen Trumtrar <kernel@pengutronix.de> 4 * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/leds/leds-pca9532.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> [all …]
|
/linux/Documentation/input/devices/ |
H A D | alps.rst | 1 ---------------------- 3 ---------------------- 6 ------------ 10 Since roughly mid-2010 several new ALPS touchpads have been released and 14 adequate. The design choices were to re-define the alps_model_data 29 --------- 32 E8-E6-E6-E6-E9. An ALPS touchpad should respond with either 00-00-0A or 33 00-00-64 if no buttons are pressed. The bits 0-2 of the first byte will be 1s 37 report" sequence: E8-E7-E7-E7-E9. The response is the model signature and is 41 model signature is always 73-02-64. To differentiate between these [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | base.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 106 "Touch Pad": EvdevMatch( 120 "Touch Screen": EvdevMatch( 159 # for example ("playstation", "hid-playstation") 162 # List of in kernel HID-BPF object files to load 164 # Any existing pre-loaded HID-BPF module will be removed 167 # for example '("xppen-ArtistPro16Gen2.bpf.o", True)' 225 sysfs_path = Path("/sys/module") / kernel_module.replace("-", "_") 244 udev_hid_bpf = shutil.which("udev-hid-bpf") [all …]
|
/linux/arch/loongarch/kvm/ |
H A D | switch.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2020-2023 Loongson Technology Corporation Limited 46 * a2: kvm_vcpu_arch, don't touch it until 'ertn' 68 ld.d t1, a2, KVM_VCPU_KVM - KVM_VCPU_ARCH 104 * - IRQ is disabled 105 * - kernel privilege in root mode 106 * - page mode keep unchanged from previous PRMD in root mode 107 * - Fixme: tlb exception cannot happen since registers relative with TLB 108 * - is still in guest mode, such as pgd table/vmid registers etc, 109 * - will fix with hw page walk enabled in future [all …]
|
/linux/drivers/usb/usbip/ |
H A D | stub_dev.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2003-2008 Takahiro Hirofuchi 15 * usbip_status shows the status of usbip-host as long as this driver is bound 26 return -ENODEV; in usbip_status_show() 29 spin_lock_irq(&sdev->ud.lock); in usbip_status_show() 30 status = sdev->ud.status; in usbip_status_show() 31 spin_unlock_irq(&sdev->ud.lock); in usbip_status_show() 39 * is used to transfer usbip requests by kernel threads. -1 is a magic number 54 return -ENODEV; in usbip_sockfd_store() 59 return -EINVAL; in usbip_sockfd_store() [all …]
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | host.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2020 - Google Inc 23 /* Retrieve the host regs x0-x1 from the stack */ 26 /* Store the host regs x0-x1 and x4-x17 */ 36 /* Store the host regs x18-x29, lr */ 77 /* Restore host regs x0-x17 */ 83 /* x0-7 are use for panic arguments */ 91 /* Restore host regs x18-x29, lr */ 94 /* Do not touch any register after this! */ 124 /* Ensure host stage-2 is disabled */ [all …]
|
/linux/drivers/input/misc/ |
H A D | ad714x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2009-2011 Analog Devices Inc. 132 mask = ((1 << (end_stage + 1)) - 1) - ((1 << start_stage) - 1); in ad714x_use_com_int() 134 ad714x->read(ad714x, STG_COM_INT_EN_REG, &data, 1); in ad714x_use_com_int() 136 ad714x->write(ad714x, STG_COM_INT_EN_REG, data); in ad714x_use_com_int() 138 ad714x->read(ad714x, STG_HIGH_INT_EN_REG, &data, 1); in ad714x_use_com_int() 140 ad714x->write(ad714x, STG_HIGH_INT_EN_REG, data); in ad714x_use_com_int() 149 mask = ((1 << (end_stage + 1)) - 1) - ((1 << start_stage) - 1); in ad714x_use_thr_int() 151 ad714x->read(ad714x, STG_COM_INT_EN_REG, &data, 1); in ad714x_use_thr_int() 153 ad714x->write(ad714x, STG_COM_INT_EN_REG, data); in ad714x_use_thr_int() [all …]
|