/openbmc/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# 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": 37 azoteq,suspend-mode: [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# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | cypress_ps2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Cypress Trackpad PS/2 mouse driver 31 struct cytp_data *cytp = psmouse->private; in cypress_set_packet_size() 32 cytp->pkt_size = n; in cypress_set_packet_size() 40 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_sendbyte() 44 "sending command 0x%02x failed, resp 0x%02x\n", in cypress_ps2_sendbyte() 45 value & 0xff, ps2dev->nak); in cypress_ps2_sendbyte() 46 if (ps2dev->nak == CYTP_PS2_RETRY) in cypress_ps2_sendbyte() 53 psmouse_dbg(psmouse, "sending command 0x%02x succeeded, resp 0xfa\n", in cypress_ps2_sendbyte() 63 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_ext_cmd() [all …]
|
H A D | cypress_ps2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #define COMPOSIT(x, s) (((x) & CMD_BITS_MASK) << (s)) argument 27 #define CYTP_CMD_SET_MOUSE_SENSITIVITY(s) ENCODE_CMD(1, 3, ((s) >> 2), (s)) 28 #define CYTP_CMD_MOUSE_SENSITIVITY_MASK ENCODE_CMD(1, 3, 0, 0) 30 #define CYTP_CMD_REQUEST_RECALIBRATION ENCODE_CMD(2, 0, 0, 3) 32 #define DECODE_CMD_AA(x) (((x) >> 6) & CMD_BITS_MASK) argument 33 #define DECODE_CMD_BB(x) (((x) >> 4) & CMD_BITS_MASK) argument 34 #define DECODE_CMD_CC(x) (((x) >> 2) & CMD_BITS_MASK) argument 35 #define DECODE_CMD_DD(x) ((x) & CMD_BITS_MASK) argument 37 /* Cypress trackpad working mode. */ [all …]
|
H A D | cyapa.h | 2 * Cypress APA trackpad with I2C interface 6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc. 18 /* APA trackpad firmware generation number. */ 20 #define CYAPA_GEN3 0x03 /* support MT-protocol B with tracking ID. */ 21 #define CYAPA_GEN5 0x05 /* support TrueTouch GEN5 trackpad device. */ 22 #define CYAPA_GEN6 0x06 /* support TrueTouch GEN6 trackpad device. */ 24 #define CYAPA_NAME "Cypress APA Trackpad (cyapa)" 36 /* Commands for read/write registers of Cypress trackpad */ 56 #define BL_STATUS_SIZE 3 /* Length of gen3 bootloader status registers */ 63 * bit 6 - 4: Reserved [all …]
|
H A D | bcm5974.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Scott Shawcroft as part of the touchd user-space driver project: 13 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com) 16 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de) 18 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch) 170 u8 rel_x; /* relative x coordinate */ 174 /* trackpad header types */ 176 TYPE1, /* plain trackpad */ 177 TYPE2, /* button integrated in trackpad */ 182 /* trackpad finger data offsets, le16-aligned */ [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 25 includes the standard 2 or 3-button PS/2 mouse, as well as PS/2 99 Say Y here if you have a Cypress PS/2 Trackpad connected to 109 Say Y here if you have a Fujitsu B-series Lifebook PS/2 171 Say Y here if you have an OLPC XO-1 laptop (with built-in 193 this option, you remove the xf86-input-vmmouse user-space driver 194 or upgrade it to at least xf86-input-vmmouse 13.1.0, which doesn't 195 load in the presence of an in-kernel vmmouse driver. 207 Say Y here if you have a serial (RS-232, COM port) mouse connected 223 These are the touchpads that can be found on post-February 2005 [all …]
|
H A D | cyapa_gen5.c | 2 * Cypress APA trackpad with I2C interface 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 - \ 82 #define RECORD_EVENT_LIFTOFF 3 141 * Bit 7 - 3: reserved 142 * Bit 2 - 0: touch type; 146 * 3 - 15 : reserved. 154 * Bit 6 - 5: indicates an event associated with this touch instance 158 * 3 : liftoff (record reports last known coordinates) [all …]
|
H A D | cyapa_gen6.c | 2 * Cypress APA trackpad with I2C interface 21 #include <linux/crc-itu-t.h> 105 return error ? error : -EIO; in cyapa_get_pip_fixed_info() 107 pip_info->family_id = resp_data[8]; in cyapa_get_pip_fixed_info() 108 pip_info->silicon_id_low = resp_data[10]; in cyapa_get_pip_fixed_info() 109 pip_info->silicon_id_high = resp_data[11]; in cyapa_get_pip_fixed_info() 121 return error ? error : -EIO; in cyapa_get_pip_fixed_info() 126 return -EINVAL; in cyapa_get_pip_fixed_info() 128 pip_info->family_id = resp_data[19]; in cyapa_get_pip_fixed_info() 129 pip_info->silicon_id_low = resp_data[21]; in cyapa_get_pip_fixed_info() [all …]
|
H A D | cyapa_gen3.c | 2 * Cypress APA trackpad with I2C interface 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 28 #define GEN3_FINGER_NUM(x) (((x) >> 4) & 0x07) argument 59 * CYAPA trackpad device states. 60 * Used in register 0x00, bit1-0, DeviceStatus field. 87 * high bits or x/y position value 88 * bit 7 - 4: high 4 bits of x position value 89 * bit 3 - 0: high 4 bits of y position value 92 u8 x_lo; /* low 8 bits of x position value. */ [all …]
|
H A D | cyapa.c | 2 * Cypress APA trackpad with I2C interface 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 36 #define CYAPA_ADAPTER_FUNC_BOTH 3 46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode() 49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode() 57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode() 60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode() 71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode() 72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode() [all …]
|
H A D | trackpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 * Power-on Reset: Resets all trackpoint parameters, including RAM values, 31 * Returns zero on success, non-zero on failure. 42 /* Check for success response -- 0xAA00 */ in trackpoint_power_on_reset() 44 return -ENODEV; in trackpoint_power_on_reset() 61 u8 param[3] = { TP_WRITE_MEM, loc, val }; in trackpoint_write() 63 return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); in trackpoint_write() 68 u8 param[3] = { TP_TOGGLE, loc, mask }; in trackpoint_toggle_bit() 72 return -EINVAL; in trackpoint_toggle_bit() 74 return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); in trackpoint_toggle_bit() [all …]
|
/openbmc/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# 7 title: Azoteq IQS7210A/7211A/E Trackpad/Touchscreen Controller 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 [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | iqs626a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * inductive keys as well as Hall-effect switches, and one for a trackpad that 45 #define IQS626_SYS_SETTINGS_PWR_MODE_MAX 3 58 #define IQS626_MISC_A_ATI_LP_ONLY BIT(3) 63 #define IQS626_EVENT_MASK_GESTURE BIT(3) 76 #define IQS626_MISC_B_RESEED_UI_SEL_MAX 3 79 #define IQS626_MISC_B_TPx_SWIPE BIT(3) 90 #define IQS626_CHx_ENG_0_DUAL_DIR BIT(3) 93 #define IQS626_CHx_ENG_0_ATI_MODE_MAX 3 99 #define IQS626_CHx_ENG_1_PROJ_BIAS_MAX 3 [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-magicmouse.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 #include "hid-ids.h" 27 static int middle_button_start = -350; 39 return -EINVAL; in param_set_scroll_speed() 52 MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state field using a MSC_RAW … 66 * to be some kind of bit mask -- 0x20 may be a near-field reading, 75 /* Number of high-resolution events for each low-resolution detent. */ 84 #define MOUSE_MIN_X -1100 86 #define MOUSE_RES_X ((MOUSE_MAX_X - MOUSE_MIN_X) / (MOUSE_DIMENSION_X / 100)) 88 #define MOUSE_MIN_Y -1589 [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 most commonly used to refer to the USB-HID specification, but other 27 removed from the HID bus by the transport-layer drivers, such as 58 to work on raw hid events when they want to, and avoid using transport-specific 64 tristate "User-space I/O driver support for HID subsystem" 67 Say Y here if you want to provide HID I/O Drivers from user-space. 68 This allows to write I/O drivers in user-space and feed the data from 71 user-space device. 73 This driver cannot be used to parse HID-reports in user-space and write 74 special HID-drivers. You should use hidraw for that. [all …]
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | chromeos_laptop.c | 1 // SPDX-License-Identifier: GPL-2.0+ 85 const unsigned short addr_list[] = { info->addr, I2C_CLIENT_END }; in chromes_laptop_instantiate_i2c_device() 96 I2C_BOARD_INFO("dummy", info->addr), in chromes_laptop_instantiate_i2c_device() 106 pr_debug("%d-%02x is probed at %02x\n", in chromes_laptop_instantiate_i2c_device() 107 adapter->nr, info->addr, dummy->addr); in chromes_laptop_instantiate_i2c_device() 115 pr_debug("failed to register device %d-%02x\n", in chromes_laptop_instantiate_i2c_device() 116 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device() 118 pr_debug("added i2c device %d-%02x\n", in chromes_laptop_instantiate_i2c_device() 119 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device() 141 for (i = 0; i < cros_laptop->num_i2c_peripherals; i++) { in chromeos_laptop_check_adapter() [all …]
|
/openbmc/linux/drivers/macintosh/ |
H A D | adbhid.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * - Standard 1 button mouse 20 * - All standard Apple Extended protocol (handler ID 4) 21 * - mouseman and trackman mice & trackballs 22 * - PowerBook Trackpad (default setup: enable tapping) 23 * - MicroSpeed mouse & trackball (needs testing) 24 * - CH Products Trackball Pro (needs testing) 25 * - Contour Design (Contour Mouse) 26 * - Hunter digital (NoHandsMouse) 27 * - Kensignton TurboMouse 5 (needs testing) [all …]
|
H A D | adb.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * - /sys/bus/adb to list the devices and infos 15 * - more /dev/adb to allow userland to receive the 16 * flow of auto-polling datas from a given device. 17 * - move bus probe to a kernel thread 117 printk("adb reply (%d)", req->reply_len); 118 for(i = 0; i < req->reply_len; i++) 119 printk(" %x", req->reply[i]); 149 * Send a "talk register 3" command to address i in adb_scan_bus() 160 adb_request(&req, NULL, ADBREQ_SYNC, 3, in adb_scan_bus() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 support for the built-in touchscreen. 25 module will be called 88pm860x-ts. 34 and your board-specific setup code includes that in its 51 AD7877 controller, and your board-specific initialization 60 tristate "Analog Devices AD7879-1/AD7889-1 touchscreen interface" 63 the AD7879-1/AD7889-1 controller. 75 Say Y here if you have AD7879-1/AD7889-1 hooked to an I2C bus. 78 module will be called ad7879-i2c. 85 Say Y here if you have AD7879-1/AD7889-1 hooked to a SPI bus. [all …]
|
H A D | iqs7211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Azoteq IQS7210A/7211A/E Trackpad/Touchscreen Controller 52 * The following delay is used during instances that must wait for the open- 98 [IQS7211_REG_GRP_TP] = "trackpad", 124 .name = "event-prox", 131 .name = "event-touch", 132 .mask = BIT(3), 138 .name = "event-tap", 145 .name = "event-hold", 152 .name = "event-swipe-x-neg", [all …]
|
H A D | iqs5xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS550/572/525 Trackpad/Touchscreen Controller 7 * These devices require firmware exported from a PC-based configuration tool 11 * Link to PC-based configuration tool and datasheet: https://www.azoteq.com/ 48 #define IQS5XX_ALP_REATI BIT(3) 70 #define IQS5XX_CHKSM_LEN (IQS5XX_APP - IQS5XX_CHKSM) 71 #define IQS5XX_APP_LEN (IQS5XX_CSTM - IQS5XX_APP) 72 #define IQS5XX_CSTM_LEN (IQS5XX_PMAP_END + 1 - IQS5XX_CSTM) 73 #define IQS5XX_PMAP_LEN (IQS5XX_PMAP_END + 1 - IQS5XX_CHKSM) 90 #define IQS5XX_BL_ATTEMPTS 3 [all …]
|
/openbmc/u-boot/include/dt-bindings/input/ |
H A D | linux-event-codes.h | 5 * This file is not only included from C-code but also from devicetree source 8 * Copyright (c) 1999-2002 Vojtech Pavlik 59 #define SYN_DROPPED 3 69 * AC - Application Control 70 * AL - Application Launch Button 71 * SC - System Control 77 #define KEY_2 3 305 outputs (Monitor/LCD/TV-out/etc) */ 408 #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */ 414 #define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */ [all …]
|
/openbmc/linux/arch/arm/include/asm/hardware/ |
H A D | sa1111.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * This file contains definitions for the SA-1111 Companion Chip. 8 * (Structure and naming borrowed from SA-1101.h, by Peter Danielsson.) 10 * Macro that calculates real address for registers in the SA-1111 37 #define SKCR_DOZE (1<<3) 50 * - The October 1999 errata (278260-007) says its bit 13, 1 to enable. 51 * - The Feb 2001 errata (278260-010) says that the previous errata 52 * (278260-009) is wrong, and its bit actually 12, fixed in spec 53 * 278242-003. 54 * - The SA1111 manual (278242) says bit 12, but 0 to enable. [all …]
|
/openbmc/u-boot/arch/x86/cpu/ivybridge/ |
H A D | sdram.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Copyright (C) 2007-2010 coresystems GmbH 65 return -ENODEV; in read_seed_from_cmos() 74 ret = rtc_read32(dev, CMOS_OFFSET_MRC_SEED, &pei_data->scrambler_seed); in read_seed_from_cmos() 77 &pei_data->scrambler_seed_s3); in read_seed_from_cmos() 80 debug("Failed to read from RTC %s\n", dev->name); in read_seed_from_cmos() 84 debug("Read scrambler seed 0x%08x from CMOS 0x%02x\n", in read_seed_from_cmos() 85 pei_data->scrambler_seed, CMOS_OFFSET_MRC_SEED); in read_seed_from_cmos() 86 debug("Read S3 scrambler seed 0x%08x from CMOS 0x%02x\n", in read_seed_from_cmos() 87 pei_data->scrambler_seed_s3, CMOS_OFFSET_MRC_SEED_S3); in read_seed_from_cmos() [all …]
|