xref: /linux/drivers/hid/i2c-hid/Kconfig (revision 60684c2bd35064043360e6f716d1b7c20e967b7d)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig I2C_HID
3	tristate "I2C HID support"
4	default y
5	depends on I2C && INPUT && HID
6
7if I2C_HID
8
9config I2C_HID_ACPI
10	tristate "HID over I2C transport layer ACPI driver"
11	depends on ACPI
12	select I2C_HID_CORE
13	help
14	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
15	  other HID based devices which is connected to your computer via I2C.
16	  This driver supports ACPI-based systems.
17
18	  If unsure, say N.
19
20	  This support is also available as a module.  If so, the module
21	  will be called i2c-hid-acpi.  It will also build/depend on the
22	  module i2c-hid.
23
24config I2C_HID_OF
25	tristate "HID over I2C transport layer Open Firmware driver"
26	depends on OF
27	select I2C_HID_CORE
28	help
29	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
30	  other HID based devices which is connected to your computer via I2C.
31	  This driver supports Open Firmware (Device Tree)-based systems.
32
33	  If unsure, say N.
34
35	  This support is also available as a module.  If so, the module
36	  will be called i2c-hid-of.  It will also build/depend on the
37	  module i2c-hid.
38
39config I2C_HID_OF_ELAN
40	tristate "Driver for Elan hid-i2c based devices on OF systems"
41	depends on OF
42	select I2C_HID_CORE
43	help
44	  Say Y here if you want support for Elan i2c devices that use
45	  the i2c-hid protocol on Open Firmware (Device Tree)-based
46	  systems.
47
48	  If unsure, say N.
49
50	  This support is also available as a module.  If so, the module
51	  will be called i2c-hid-of-elan.  It will also build/depend on
52	  the module i2c-hid.
53
54config I2C_HID_OF_GOODIX
55	tristate "Driver for Goodix hid-i2c based devices on OF systems"
56	depends on OF
57	select I2C_HID_CORE
58	help
59	  Say Y here if you want support for Goodix i2c devices that use
60	  the i2c-hid protocol on Open Firmware (Device Tree)-based
61	  systems.
62
63	  If unsure, say N.
64
65	  This support is also available as a module.  If so, the module
66	  will be called i2c-hid-of-goodix.  It will also build/depend on
67	  the module i2c-hid.
68
69config I2C_HID_CORE
70	tristate
71endif
72
73