History

Merge tag 'input-for-v6.12-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

Pull input updates from Dmitry Torokhov: - support for PixArt PS/2 touchpad - updates to tsc2004/5, usbtouchscreen, and zforce_ts drivers - support for GPIO-only mode for ADP55888 controller - support for touch keys in Zinitix driver - support for querying density of Synaptics sensors - sysfs interface for Goodex "Berlin" devices to read and write touch IC registers - more quirks to i8042 to handle various Tuxedo laptops - a number of drivers have been converted to using "guard" notation when acquiring various locks, as well as using other cleanup functions to simplify releasing of resources (with more drivers to follow) - evdev will limit amount of data that can be written into an evdev instance at a given time to 4096 bytes (170 input events) to avoid holding evdev->mutex for too long and starving other users - Spitz has been converted to use software nodes/properties to describe its matrix keypad and GPIO-connected LEDs - msc5000_ts, msc_touchkey and keypad-nomadik-ske drivers have been removed since noone in mainline have been using them - other assorted cleanups and fixes * tag 'input-for-v6.12-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (98 commits) ARM: spitz: fix compile error when matrix keypad driver is enabled Input: hynitron_cstxxx - drop explicit initialization of struct i2c_device_id::driver_data to 0 Input: adp5588-keys - fix check on return code Input: Convert comma to semicolon Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table Input: i8042 - add another board name for TUXEDO Stellaris Gen5 AMD line Input: tegra-kbc - use of_property_read_variable_u32_array() and of_property_present() Input: ps2-gpio - use IRQF_NO_AUTOEN flag in request_irq() Input: ims-pcu - fix calling interruptible mutex Input: zforce_ts - switch to using asynchronous probing Input: zforce_ts - remove assert/deassert wrappers Input: zforce_ts - do not hardcode interrupt level Input: zforce_ts - switch to using devm_regulator_get_enable() Input: zforce_ts - stop treating VDD regulator as optional Input: zforce_ts - make zforce_idtable constant Input: zforce_ts - use dev_err_probe() where appropriate Input: zforce_ts - do not ignore errors when acquiring regulator Input: zforce_ts - make parsing of contacts less confusing Input: zforce_ts - switch to using get_unaligned_le16 Input: zforce_ts - use guard notation when acquiring mutexes ...

Linus Torvalds committed 2 years ago

Commit 9ae29402 parents 6db6a19 358800b82 files · +2501 −6038Browse files

Showing the changes to include/linux/platform_data (4 of 82 files). Show all

Unified · Split

4 files
  1. include/linux/platform_data/cyttsp4.h +0 −62
  2. include/linux/platform_data/keypad-nomadik-ske.h +0 −50
  3. include/linux/platform_data/mcs.h +0 −30
  4. include/linux/platform_data/zforce_ts.h +0 −15
include/linux/platform_data/cyttsp4.h+0−62
@@ -1,62 +0,0 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Header file for:
4 * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.
5 * For use with Cypress Txx3xx parts.
6 * Supported parts include:
7 * CY8CTST341
8 * CY8CTMA340
9 *
10 * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.
11 * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>
12 *
13 * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com)
14 */
15#ifndef _CYTTSP4_H_
16#define _CYTTSP4_H_
17
18#define CYTTSP4_MT_NAME "cyttsp4_mt"
19#define CYTTSP4_I2C_NAME "cyttsp4_i2c_adapter"
20#define CYTTSP4_SPI_NAME "cyttsp4_spi_adapter"
21
22#define CY_TOUCH_SETTINGS_MAX 32
23
24struct touch_framework {
25 const uint16_t *abs;
26 uint8_t size;
27 uint8_t enable_vkeys;
28} __packed;
29
30struct cyttsp4_mt_platform_data {
31 struct touch_framework *frmwrk;
32 unsigned short flags;
33 char const *inp_dev_name;
34};
35
36struct touch_settings {
37 const uint8_t *data;
38 uint32_t size;
39 uint8_t tag;
40} __packed;
41
42struct cyttsp4_core_platform_data {
43 int irq_gpio;
44 int rst_gpio;
45 int level_irq_udelay;
46 int (*xres)(struct cyttsp4_core_platform_data *pdata,
47 struct device *dev);
48 int (*init)(struct cyttsp4_core_platform_data *pdata,
49 int on, struct device *dev);
50 int (*power)(struct cyttsp4_core_platform_data *pdata,
51 int on, struct device *dev, atomic_t *ignore_irq);
52 int (*irq_stat)(struct cyttsp4_core_platform_data *pdata,
53 struct device *dev);
54 struct touch_settings *sett[CY_TOUCH_SETTINGS_MAX];
55};
56
57struct cyttsp4_platform_data {
58 struct cyttsp4_core_platform_data *core_pdata;
59 struct cyttsp4_mt_platform_data *mt_pdata;
60};
61
62#endif /* _CYTTSP4_H_ */
include/linux/platform_data/keypad-nomadik-ske.h+0−50
@@ -1,50 +0,0 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) ST-Ericsson SA 2010
4 *
5 * Author: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
6 *
7 * ux500 Scroll key and Keypad Encoder (SKE) header
8 */
9
10#ifndef __SKE_H
11#define __SKE_H
12
13#include <linux/input/matrix_keypad.h>
14
15/* register definitions for SKE peripheral */
16#define SKE_CR 0x00
17#define SKE_VAL0 0x04
18#define SKE_VAL1 0x08
19#define SKE_DBCR 0x0C
20#define SKE_IMSC 0x10
21#define SKE_RIS 0x14
22#define SKE_MIS 0x18
23#define SKE_ICR 0x1C
24
25/*
26 * Keypad module
27 */
28
29/**
30 * struct keypad_platform_data - structure for platform specific data
31 * @init: pointer to keypad init function
32 * @exit: pointer to keypad deinitialisation function
33 * @keymap_data: matrix scan code table for keycodes
34 * @krow: maximum number of rows
35 * @kcol: maximum number of columns
36 * @debounce_ms: platform specific debounce time
37 * @no_autorepeat: flag for auto repetition
38 * @wakeup_enable: allow waking up the system
39 */
40struct ske_keypad_platform_data {
41 int (*init)(void);
42 int (*exit)(void);
43 const struct matrix_keymap_data *keymap_data;
44 u8 krow;
45 u8 kcol;
46 u8 debounce_ms;
47 bool no_autorepeat;
48 bool wakeup_enable;
49};
50#endif /*__SKE_KPD_H*/
include/linux/platform_data/mcs.h+0−30
@@ -1,30 +0,0 @@
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2009 - 2010 Samsung Electronics Co.Ltd
4 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
5 * Author: HeungJun Kim <riverful.kim@samsung.com>
6 */
7
8#ifndef __LINUX_MCS_H
9#define __LINUX_MCS_H
10
11#define MCS_KEY_MAP(v, c) ((((v) & 0xff) << 16) | ((c) & 0xffff))
12#define MCS_KEY_VAL(v) (((v) >> 16) & 0xff)
13#define MCS_KEY_CODE(v) ((v) & 0xffff)
14
15struct mcs_platform_data {
16 void (*poweron)(bool);
17 void (*cfg_pin)(void);
18
19 /* touchscreen */
20 unsigned int x_size;
21 unsigned int y_size;
22
23 /* touchkey */
24 const u32 *keymap;
25 unsigned int keymap_size;
26 unsigned int key_maxval;
27 bool no_autorepeat;
28};
29
30#endif /* __LINUX_MCS_H */
include/linux/platform_data/zforce_ts.h+0−15
@@ -1,15 +0,0 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
2/* drivers/input/touchscreen/zforce.c
3 *
4 * Copyright (C) 2012-2013 MundoReader S.L.
5 */
6
7#ifndef _LINUX_INPUT_ZFORCE_TS_H
8#define _LINUX_INPUT_ZFORCE_TS_H
9
10struct zforce_ts_platdata {
11 unsigned int x_max;
12 unsigned int y_max;
13};
14
15#endif /* _LINUX_INPUT_ZFORCE_TS_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t