Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b8a7df9 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull input updates from Dmitry Torokhov:
 "A new driver for slidebar on Ideapad laptops and a bunch of assorted
  driver fixes"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (32 commits)
  Input: add SYN_MAX and SYN_CNT constants
  Input: max11801_ts - convert to devm
  Input: egalax-ts - fix typo and improve text
  Input: MAINTAINERS - change maintainer for cyttsp driver
  Input: cyttsp4 - kill 'defined but not used' compiler warnings
  Input: add driver for slidebar on Lenovo IdeaPad laptops
  Input: omap-keypad - set up irq type from DT
  Input: omap-keypad - enable wakeup capability for keypad.
  Input: omap-keypad - clear interrupts on open
  Input: omap-keypad - convert to threaded IRQ
  Input: omap-keypad - use bitfiled instead of hardcoded values
  Input: cyttsp4 - remove useless NULL test from cyttsp4_watchdog_timer()
  Input: wacom - fix error return code in wacom_probe()
  Input: as5011 - fix error return code in as5011_probe()
  Input: keyboard, serio - simplify use of devm_ioremap_resource
  Input: tegra-kbc - simplify use of devm_ioremap_resource
  Input: htcpen - fix incorrect placement of __initdata
  Input: qt1070 - add power management ops
  Input: wistron_btns - add MODULE_DEVICE_TABLE
  Input: wistron_btns - mark the Medion MD96500 keymap as tested
  ...
parents b04c99e3 07176b98
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
Input: sysrq reset sequence

A simple binding to represent a set of keys as described in
include/uapi/linux/input.h. This is to communicate a sequence of keys to the
sysrq driver. Upon holding the keys for a specified amount of time (if
specified) the system is sync'ed and reset.

Key sequences are global to the system but all the keys in a set must be coming
from the same input device.

The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define
a set of keys.

Required property:
sysrq-reset-seq: array of Linux keycodes, one keycode per cell.

Optional property:
timeout-ms: duration keys must be pressed together in milliseconds before
generating a sysrq. If omitted the system is rebooted immediately when a valid
sequence has been recognized.

Example:

 chosen {
                linux,sysrq-reset-seq {
                        keyset = <0x03
                                  0x04
                                  0x0a>;
                        timeout-ms = <3000>;
                };
         };

Would represent KEY_2, KEY_3 and KEY_9.
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ Required properties:
- interrupt-parent: the phandle for the interrupt controller
- interrupts: touch controller interrupt
- wakeup-gpios: the gpio pin to be used for waking up the controller
  as well as uased as irq pin
  and also used as irq pin

Example:

+9 −2
Original line number Diff line number Diff line
@@ -2494,9 +2494,9 @@ S: Maintained
F:	drivers/media/common/cypress_firmware*

CYTTSP TOUCHSCREEN DRIVER
M:	Javier Martinez Canillas <javier@dowhile0.org>
M:	Ferruh Yigit <fery@cypress.com>
L:	linux-input@vger.kernel.org
S:	Maintained
S:	Supported
F:	drivers/input/touchscreen/cyttsp*
F:	include/linux/input/cyttsp.h

@@ -4141,6 +4141,13 @@ W: http://launchpad.net/ideapad-laptop
S:	Maintained
F:	drivers/platform/x86/ideapad-laptop.c

IDEAPAD LAPTOP SLIDEBAR DRIVER
M:	Andrey Moiseev <o2g.org.ru@gmail.com>
L:	linux-input@vger.kernel.org
W:	https://github.com/o2genum/ideapad-slidebar
S:	Maintained
F:	drivers/input/misc/ideapad_slidebar.c

IDE/ATAPI DRIVERS
M:	Borislav Petkov <bp@alien8.de>
L:	linux-ide@vger.kernel.org
+2 −1
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ static int as5011_probe(struct i2c_client *client,
	int irq;
	int error;

	plat_data = client->dev.platform_data;
	plat_data = dev_get_platdata(&client->dev);
	if (!plat_data)
		return -EINVAL;

@@ -288,6 +288,7 @@ static int as5011_probe(struct i2c_client *client,
	if (irq < 0) {
		dev_err(&client->dev,
			"Failed to get irq number for button gpio\n");
		error = irq;
		goto err_free_button_gpio;
	}

+2 −2
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ static void dc_pad_callback(struct mapleq *mq)

static int dc_pad_open(struct input_dev *dev)
{
	struct dc_pad *pad = dev->dev.platform_data;
	struct dc_pad *pad = dev_get_platdata(&dev->dev);

	maple_getcond_callback(pad->mdev, dc_pad_callback, HZ/20,
		MAPLE_FUNC_CONTROLLER);
@@ -71,7 +71,7 @@ static int dc_pad_open(struct input_dev *dev)

static void dc_pad_close(struct input_dev *dev)
{
	struct dc_pad *pad = dev->dev.platform_data;
	struct dc_pad *pad = dev_get_platdata(&dev->dev);

	maple_getcond_callback(pad->mdev, dc_pad_callback, 0,
		MAPLE_FUNC_CONTROLLER);
Loading