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