diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-09-15 18:12:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-09-15 18:12:01 -0400 |
commit | b92178623f190a9898fed3632fb40b17f6789673 (patch) | |
tree | 6c0742d47f8ce10e3c553b948a5003253ee4524e | |
parent | f3b5933190c1fc5ad8f3a1dec594e9e849e088c0 (diff) | |
parent | 807362cd960daac415e2c8906750b2472c22c80e (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input updates from Dmitry Torokhov:
"A few quirks for i8042/AT keyboards and a small device tree doc fix
for Atmel Touchscreens"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: atmel_mxt_ts - fix merge in DT documentation
Input: i8042 - also set the firmware id for MUXed ports
Input: i8042 - add nomux quirk for Avatar AVIU-145A6
Input: i8042 - add Fujitsu U574 to no_timeout dmi table
Input: atkbd - do not try 'deactivate' keyboard on any LG laptops
-rw-r--r-- | Documentation/devicetree/bindings/input/atmel,maxtouch.txt | 4 | ||||
-rw-r--r-- | drivers/input/keyboard/atkbd.c | 8 | ||||
-rw-r--r-- | drivers/input/serio/i8042-x86ia64io.h | 15 | ||||
-rw-r--r-- | drivers/input/serio/i8042.c | 2 |
4 files changed, 17 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt index 0ac23f2ed104..1852906517ab 100644 --- a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt +++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt | |||
@@ -11,10 +11,6 @@ Required properties: | |||
11 | 11 | ||
12 | Optional properties for main touchpad device: | 12 | Optional properties for main touchpad device: |
13 | 13 | ||
14 | - linux,gpio-keymap: An array of up to 4 entries indicating the Linux | ||
15 | keycode generated by each GPIO. Linux keycodes are defined in | ||
16 | <dt-bindings/input/input.h>. | ||
17 | |||
18 | - linux,gpio-keymap: When enabled, the SPT_GPIOPWN_T19 object sends messages | 14 | - linux,gpio-keymap: When enabled, the SPT_GPIOPWN_T19 object sends messages |
19 | on GPIO bit changes. An array of up to 8 entries can be provided | 15 | on GPIO bit changes. An array of up to 8 entries can be provided |
20 | indicating the Linux keycode mapped to each bit of the status byte, | 16 | indicating the Linux keycode mapped to each bit of the status byte, |
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 2dd1d0dd4f7d..6f5d79569136 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -1791,14 +1791,6 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = { | |||
1791 | { | 1791 | { |
1792 | .matches = { | 1792 | .matches = { |
1793 | DMI_MATCH(DMI_SYS_VENDOR, "LG Electronics"), | 1793 | DMI_MATCH(DMI_SYS_VENDOR, "LG Electronics"), |
1794 | DMI_MATCH(DMI_PRODUCT_NAME, "LW25-B7HV"), | ||
1795 | }, | ||
1796 | .callback = atkbd_deactivate_fixup, | ||
1797 | }, | ||
1798 | { | ||
1799 | .matches = { | ||
1800 | DMI_MATCH(DMI_SYS_VENDOR, "LG Electronics"), | ||
1801 | DMI_MATCH(DMI_PRODUCT_NAME, "P1-J273B"), | ||
1802 | }, | 1794 | }, |
1803 | .callback = atkbd_deactivate_fixup, | 1795 | .callback = atkbd_deactivate_fixup, |
1804 | }, | 1796 | }, |
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 136b7b204f56..713e3ddb43bd 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h | |||
@@ -465,6 +465,13 @@ static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = { | |||
465 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv4 Notebook PC"), | 465 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv4 Notebook PC"), |
466 | }, | 466 | }, |
467 | }, | 467 | }, |
468 | { | ||
469 | /* Avatar AVIU-145A6 */ | ||
470 | .matches = { | ||
471 | DMI_MATCH(DMI_SYS_VENDOR, "Intel"), | ||
472 | DMI_MATCH(DMI_PRODUCT_NAME, "IC4I"), | ||
473 | }, | ||
474 | }, | ||
468 | { } | 475 | { } |
469 | }; | 476 | }; |
470 | 477 | ||
@@ -608,6 +615,14 @@ static const struct dmi_system_id __initconst i8042_dmi_notimeout_table[] = { | |||
608 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv4 Notebook PC"), | 615 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv4 Notebook PC"), |
609 | }, | 616 | }, |
610 | }, | 617 | }, |
618 | { | ||
619 | /* Fujitsu U574 laptop */ | ||
620 | /* https://bugzilla.kernel.org/show_bug.cgi?id=69731 */ | ||
621 | .matches = { | ||
622 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), | ||
623 | DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK U574"), | ||
624 | }, | ||
625 | }, | ||
611 | { } | 626 | { } |
612 | }; | 627 | }; |
613 | 628 | ||
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 3807c3e971cc..f5a98af3b325 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c | |||
@@ -1254,6 +1254,8 @@ static int __init i8042_create_aux_port(int idx) | |||
1254 | } else { | 1254 | } else { |
1255 | snprintf(serio->name, sizeof(serio->name), "i8042 AUX%d port", idx); | 1255 | snprintf(serio->name, sizeof(serio->name), "i8042 AUX%d port", idx); |
1256 | snprintf(serio->phys, sizeof(serio->phys), I8042_MUX_PHYS_DESC, idx + 1); | 1256 | snprintf(serio->phys, sizeof(serio->phys), I8042_MUX_PHYS_DESC, idx + 1); |
1257 | strlcpy(serio->firmware_id, i8042_aux_firmware_id, | ||
1258 | sizeof(serio->firmware_id)); | ||
1257 | } | 1259 | } |
1258 | 1260 | ||
1259 | port->serio = serio; | 1261 | port->serio = serio; |