Input: elan_i2c - Add more hardware ID for Lenovo laptop
diff mbox series

Message ID 001e01d5a368$24946950$6dbd3bf0$@emc.com.tw
State New
Headers show
Series
  • Input: elan_i2c - Add more hardware ID for Lenovo laptop
Related show

Commit Message

Dave Wang Nov. 25, 2019, 8:12 a.m. UTC
Add more hardware ID for Lenovo laptop.

Signed-off-by: Dave Wang <dave.wang@emc.com.tw>
---
 include/linux/input/elan-i2c-ids.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Dmitry Torokhov Dec. 2, 2019, 1:02 a.m. UTC | #1
Hi Dave,

On Mon, Nov 25, 2019 at 04:12:56PM +0800, Dave.Wang wrote:
> Add more hardware ID for Lenovo laptop.

Any chance you could also list what devices use which hardware ID?

Thanks!

> 
> Signed-off-by: Dave Wang <dave.wang@emc.com.tw>
> ---
>  include/linux/input/elan-i2c-ids.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/include/linux/input/elan-i2c-ids.h
> b/include/linux/input/elan-i2c-ids.h
> index 1ecb6b45812c..247e3f75bae7 100644
> --- a/include/linux/input/elan-i2c-ids.h
> +++ b/include/linux/input/elan-i2c-ids.h
> @@ -67,8 +67,15 @@ static const struct acpi_device_id elan_acpi_id[] = {
>  	{ "ELAN062B", 0 },
>  	{ "ELAN062C", 0 },
>  	{ "ELAN062D", 0 },
> +	{ "ELAN062E", 0 },
> +	{ "ELAN062F", 0 },
>  	{ "ELAN0631", 0 },
>  	{ "ELAN0632", 0 },
> +	{ "ELAN0633", 0 },
> +	{ "ELAN0634", 0 },
> +	{ "ELAN0635", 0 },
> +	{ "ELAN0636", 0 },
> +	{ "ELAN0637", 0 },
>  	{ "ELAN1000", 0 },
>  	{ }
>  };
> -- 
> 2.17.1
>
Dave Wang Dec. 2, 2019, 3:07 a.m. UTC | #2
Hi Dmitry,

List device with its corresponding hardware ID as below patch,
Please check , thanks!

Add more hardware ID for Lenovo laptop.

Signed-off-by: Dave Wang <dave.wang@emc.com.tw>
---
 include/linux/input/elan-i2c-ids.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/linux/input/elan-i2c-ids.h
b/include/linux/input/elan-i2c-ids.h
index 1ecb6b45812c..520858d12680 100644
--- a/include/linux/input/elan-i2c-ids.h
+++ b/include/linux/input/elan-i2c-ids.h
@@ -67,8 +67,15 @@ static const struct acpi_device_id elan_acpi_id[] = {
 	{ "ELAN062B", 0 },
 	{ "ELAN062C", 0 },
 	{ "ELAN062D", 0 },
+	{ "ELAN062E", 0 }, /* Lenovo V340 Whiskey Lake U */
+	{ "ELAN062F", 0 }, /* Lenovo V340 Comet Lake U */
 	{ "ELAN0631", 0 },
 	{ "ELAN0632", 0 },
+	{ "ELAN0633", 0 }, /* Lenovo S145 */
+	{ "ELAN0634", 0 }, /* Lenovo V340 Ice lake */
+	{ "ELAN0635", 0 }, /* Lenovo V1415-IIL */
+	{ "ELAN0636", 0 }, /* Lenovo V1415-Dali */
+	{ "ELAN0637", 0 }, /* Lenovo V1415-IGLR */
 	{ "ELAN1000", 0 },
 	{ }
 };

Patch
diff mbox series

diff --git a/include/linux/input/elan-i2c-ids.h
b/include/linux/input/elan-i2c-ids.h
index 1ecb6b45812c..247e3f75bae7 100644
--- a/include/linux/input/elan-i2c-ids.h
+++ b/include/linux/input/elan-i2c-ids.h
@@ -67,8 +67,15 @@  static const struct acpi_device_id elan_acpi_id[] = {
 	{ "ELAN062B", 0 },
 	{ "ELAN062C", 0 },
 	{ "ELAN062D", 0 },
+	{ "ELAN062E", 0 },
+	{ "ELAN062F", 0 },
 	{ "ELAN0631", 0 },
 	{ "ELAN0632", 0 },
+	{ "ELAN0633", 0 },
+	{ "ELAN0634", 0 },
+	{ "ELAN0635", 0 },
+	{ "ELAN0636", 0 },
+	{ "ELAN0637", 0 },
 	{ "ELAN1000", 0 },
 	{ }
 };