xref: /openbmc/linux/drivers/hid/i2c-hid/Kconfig (revision 728ec8b6)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2bf7660daSArnd Bergmannmenuconfig I2C_HID
3bf7660daSArnd Bergmann	tristate "I2C HID support"
4bf7660daSArnd Bergmann	default y
5bf7660daSArnd Bergmann	depends on I2C && INPUT && HID
6bf7660daSArnd Bergmann
7bf7660daSArnd Bergmannif I2C_HID
84a200c3bSBenjamin Tissoires
9b33752c3SDouglas Andersonconfig I2C_HID_ACPI
10b33752c3SDouglas Anderson	tristate "HID over I2C transport layer ACPI driver"
11bf7660daSArnd Bergmann	depends on ACPI
12bf7660daSArnd 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*728ec8b6SHans de Goede	# No "depends on OF" because this can also be used for manually
27*728ec8b6SHans de Goede	# (board-file) instantiated "hid-over-i2c" type i2c-clients.
28bf7660daSArnd Bergmann	select I2C_HID_CORE
29b33752c3SDouglas Anderson	help
30b33752c3SDouglas Anderson	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
31b33752c3SDouglas Anderson	  other HID based devices which is connected to your computer via I2C.
32*728ec8b6SHans de Goede	  This driver supports Open Firmware (Device Tree)-based systems as
33*728ec8b6SHans de Goede	  well as binding to manually (board-file) instantiated i2c-hid-clients.
34b33752c3SDouglas Anderson
35b33752c3SDouglas Anderson	  If unsure, say N.
36b33752c3SDouglas Anderson
37b33752c3SDouglas Anderson	  This support is also available as a module.  If so, the module
38b33752c3SDouglas Anderson	  will be called i2c-hid-of.  It will also build/depend on the
39b33752c3SDouglas Anderson	  module i2c-hid.
404a200c3bSBenjamin Tissoires
41bd3cba00SDouglas Andersonconfig I2C_HID_OF_ELAN
42bd3cba00SDouglas Anderson	tristate "Driver for Elan hid-i2c based devices on OF systems"
43bf7660daSArnd Bergmann	depends on OF
44bf7660daSArnd Bergmann	select I2C_HID_CORE
45bd3cba00SDouglas Anderson	help
46bd3cba00SDouglas Anderson	  Say Y here if you want support for Elan i2c devices that use
47bd3cba00SDouglas Anderson	  the i2c-hid protocol on Open Firmware (Device Tree)-based
48bd3cba00SDouglas Anderson	  systems.
49bd3cba00SDouglas Anderson
50bd3cba00SDouglas Anderson	  If unsure, say N.
51bd3cba00SDouglas Anderson
52bd3cba00SDouglas Anderson	  This support is also available as a module.  If so, the module
53bd3cba00SDouglas Anderson	  will be called i2c-hid-of-elan.  It will also build/depend on
54bd3cba00SDouglas Anderson	  the module i2c-hid.
55bd3cba00SDouglas Anderson
56c1ed18c1SDouglas Andersonconfig I2C_HID_OF_GOODIX
57c1ed18c1SDouglas Anderson	tristate "Driver for Goodix hid-i2c based devices on OF systems"
58bf7660daSArnd Bergmann	depends on OF
59bf7660daSArnd Bergmann	select I2C_HID_CORE
60c1ed18c1SDouglas Anderson	help
61c1ed18c1SDouglas Anderson	  Say Y here if you want support for Goodix i2c devices that use
62c1ed18c1SDouglas Anderson	  the i2c-hid protocol on Open Firmware (Device Tree)-based
63c1ed18c1SDouglas Anderson	  systems.
64c1ed18c1SDouglas Anderson
65c1ed18c1SDouglas Anderson	  If unsure, say N.
66c1ed18c1SDouglas Anderson
67c1ed18c1SDouglas Anderson	  This support is also available as a module.  If so, the module
68c1ed18c1SDouglas Anderson	  will be called i2c-hid-of-goodix.  It will also build/depend on
69c1ed18c1SDouglas Anderson	  the module i2c-hid.
70c1ed18c1SDouglas Anderson
71b33752c3SDouglas Andersonconfig I2C_HID_CORE
72b33752c3SDouglas Anderson	tristate
73bf7660daSArnd Bergmannendif
74bf7660daSArnd Bergmann
75