xref: /openbmc/linux/drivers/hid/i2c-hid/Kconfig (revision 3db55767)
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	# No "depends on OF" because this can also be used for manually
27	# (board-file) instantiated "hid-over-i2c" type i2c-clients.
28	select I2C_HID_CORE
29	help
30	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
31	  other HID based devices which is connected to your computer via I2C.
32	  This driver supports Open Firmware (Device Tree)-based systems as
33	  well as binding to manually (board-file) instantiated i2c-hid-clients.
34
35	  If unsure, say N.
36
37	  This support is also available as a module.  If so, the module
38	  will be called i2c-hid-of.  It will also build/depend on the
39	  module i2c-hid.
40
41config I2C_HID_OF_ELAN
42	tristate "Driver for Elan hid-i2c based devices on OF systems"
43	depends on OF
44	select I2C_HID_CORE
45	help
46	  Say Y here if you want support for Elan i2c devices that use
47	  the i2c-hid protocol on Open Firmware (Device Tree)-based
48	  systems.
49
50	  If unsure, say N.
51
52	  This support is also available as a module.  If so, the module
53	  will be called i2c-hid-of-elan.  It will also build/depend on
54	  the module i2c-hid.
55
56config I2C_HID_OF_GOODIX
57	tristate "Driver for Goodix hid-i2c based devices on OF systems"
58	depends on OF
59	select I2C_HID_CORE
60	help
61	  Say Y here if you want support for Goodix i2c devices that use
62	  the i2c-hid protocol on Open Firmware (Device Tree)-based
63	  systems.
64
65	  If unsure, say N.
66
67	  This support is also available as a module.  If so, the module
68	  will be called i2c-hid-of-goodix.  It will also build/depend on
69	  the module i2c-hid.
70
71config I2C_HID_CORE
72	tristate
73endif
74
75