Skip to content

Commit 563b3f6

Browse files
committed
Merge tag 'input-for-v6.17-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input fixes from Dmitry Torokhov: - a quirk to i8042 for yet another TUXEDO laptop - a fix to mtk-pmic-keys driver to properly handle MT6359 - a fix to iqs7222 driver to only enable proximity interrupt if it is mapped to a key or a switch event - an update to xpad controller driver to recognize Flydigi Apex 5 controller - an update to maintainers file to drop bounding entry for Melfas touch controller * tag 'input-for-v6.17-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: MAINTAINERS: Input: Drop melfas-mip4 section Input: mtk-pmic-keys - MT6359 has a specific release irq Input: i8042 - add TUXEDO InfinityBook Pro Gen10 AMD to i8042 quirk table Input: iqs7222 - avoid enabling unused interrupts Input: xpad - add support for Flydigi Apex 5
2 parents f83a4f2 + 30989f6 commit 563b3f6

File tree

5 files changed

+23
-8
lines changed

5 files changed

+23
-8
lines changed

MAINTAINERS

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15748,13 +15748,6 @@ S: Supported
1574815748
W: http://www.melexis.com
1574915749
F: drivers/iio/temperature/mlx90635.c
1575015750

15751-
MELFAS MIP4 TOUCHSCREEN DRIVER
15752-
M: Sangwon Jee <[email protected]>
15753-
S: Supported
15754-
W: http://www.melfas.com
15755-
F: Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt
15756-
F: drivers/input/touchscreen/melfas_mip4.c
15757-
1575815751
MELLANOX BLUEFIELD I2C DRIVER
1575915752
M: Khalil Blaiech <[email protected]>
1576015753
M: Asmaa Mnebhi <[email protected]>

drivers/input/joystick/xpad.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ static const struct xpad_device {
422422
{ 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE },
423423
{ 0x366c, 0x0005, "ByoWave Proteus Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE, FLAG_DELAY_INIT },
424424
{ 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX },
425+
{ 0x37d7, 0x2501, "Flydigi Apex 5", 0, XTYPE_XBOX360 },
425426
{ 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 },
426427
{ 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },
427428
{ 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }
@@ -578,6 +579,7 @@ static const struct usb_device_id xpad_table[] = {
578579
XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */
579580
XPAD_XBOXONE_VENDOR(0x3537), /* GameSir Controllers */
580581
XPAD_XBOXONE_VENDOR(0x366c), /* ByoWave controllers */
582+
XPAD_XBOX360_VENDOR(0x37d7), /* Flydigi Controllers */
581583
XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */
582584
{ }
583585
};

drivers/input/keyboard/mtk-pmic-keys.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ struct mtk_pmic_regs {
5555
const struct mtk_pmic_keys_regs keys_regs[MTK_PMIC_MAX_KEY_COUNT];
5656
u32 pmic_rst_reg;
5757
u32 rst_lprst_mask; /* Long-press reset timeout bitmask */
58+
bool key_release_irq;
5859
};
5960

6061
static const struct mtk_pmic_regs mt6397_regs = {
@@ -116,6 +117,7 @@ static const struct mtk_pmic_regs mt6358_regs = {
116117
MTK_PMIC_HOMEKEY_RST),
117118
.pmic_rst_reg = MT6358_TOP_RST_MISC,
118119
.rst_lprst_mask = MTK_PMIC_RST_DU_MASK,
120+
.key_release_irq = true,
119121
};
120122

121123
static const struct mtk_pmic_regs mt6359_regs = {
@@ -129,6 +131,7 @@ static const struct mtk_pmic_regs mt6359_regs = {
129131
MTK_PMIC_HOMEKEY_RST),
130132
.pmic_rst_reg = MT6359_TOP_RST_MISC,
131133
.rst_lprst_mask = MTK_PMIC_RST_DU_MASK,
134+
.key_release_irq = true,
132135
};
133136

134137
struct mtk_pmic_keys_info {
@@ -368,7 +371,7 @@ static int mtk_pmic_keys_probe(struct platform_device *pdev)
368371
if (keys->keys[index].irq < 0)
369372
return keys->keys[index].irq;
370373

371-
if (of_device_is_compatible(node, "mediatek,mt6358-keys")) {
374+
if (mtk_pmic_regs->key_release_irq) {
372375
keys->keys[index].irq_r = platform_get_irq_byname(pdev,
373376
irqnames_r[index]);
374377

drivers/input/misc/iqs7222.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,6 +2427,9 @@ static int iqs7222_parse_chan(struct iqs7222_private *iqs7222,
24272427
if (error)
24282428
return error;
24292429

2430+
if (!iqs7222->kp_type[chan_index][i])
2431+
continue;
2432+
24302433
if (!dev_desc->event_offset)
24312434
continue;
24322435

drivers/input/serio/i8042-acpipnpio.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,20 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
11551155
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
11561156
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
11571157
},
1158+
{
1159+
.matches = {
1160+
DMI_MATCH(DMI_BOARD_NAME, "XxHP4NAx"),
1161+
},
1162+
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
1163+
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
1164+
},
1165+
{
1166+
.matches = {
1167+
DMI_MATCH(DMI_BOARD_NAME, "XxKK4NAx_XxSP4NAx"),
1168+
},
1169+
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
1170+
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
1171+
},
11581172
/*
11591173
* A lot of modern Clevo barebones have touchpad and/or keyboard issues
11601174
* after suspend fixable with the forcenorestore quirk.

0 commit comments

Comments
 (0)