xref: /openbmc/linux/drivers/hid/i2c-hid/Kconfig (revision a0769f25)
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
12*a0769f25SArnd Bergmann	depends on DRM || !DRM
13bf7660daSArnd Bergmann	select I2C_HID_CORE
14a7f7f624SMasahiro Yamada	help
158ee0c05aSBenjamin Tissoires	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
168ee0c05aSBenjamin Tissoires	  other HID based devices which is connected to your computer via I2C.
17b33752c3SDouglas Anderson	  This driver supports ACPI-based systems.
184a200c3bSBenjamin Tissoires
194a200c3bSBenjamin Tissoires	  If unsure, say N.
204a200c3bSBenjamin Tissoires
214a200c3bSBenjamin Tissoires	  This support is also available as a module.  If so, the module
22b33752c3SDouglas Anderson	  will be called i2c-hid-acpi.  It will also build/depend on the
23b33752c3SDouglas Anderson	  module i2c-hid.
24b33752c3SDouglas Anderson
25b33752c3SDouglas Andersonconfig I2C_HID_OF
26b33752c3SDouglas Anderson	tristate "HID over I2C transport layer Open Firmware driver"
27728ec8b6SHans de Goede	# No "depends on OF" because this can also be used for manually
28728ec8b6SHans de Goede	# (board-file) instantiated "hid-over-i2c" type i2c-clients.
29*a0769f25SArnd Bergmann	depends on DRM || !DRM
30bf7660daSArnd Bergmann	select I2C_HID_CORE
31b33752c3SDouglas Anderson	help
32b33752c3SDouglas Anderson	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
33b33752c3SDouglas Anderson	  other HID based devices which is connected to your computer via I2C.
34728ec8b6SHans de Goede	  This driver supports Open Firmware (Device Tree)-based systems as
35728ec8b6SHans de Goede	  well as binding to manually (board-file) instantiated i2c-hid-clients.
36b33752c3SDouglas Anderson
37b33752c3SDouglas Anderson	  If unsure, say N.
38b33752c3SDouglas Anderson
39b33752c3SDouglas Anderson	  This support is also available as a module.  If so, the module
40b33752c3SDouglas Anderson	  will be called i2c-hid-of.  It will also build/depend on the
41b33752c3SDouglas Anderson	  module i2c-hid.
424a200c3bSBenjamin Tissoires
43bd3cba00SDouglas Andersonconfig I2C_HID_OF_ELAN
44bd3cba00SDouglas Anderson	tristate "Driver for Elan hid-i2c based devices on OF systems"
45bf7660daSArnd Bergmann	depends on OF
46*a0769f25SArnd Bergmann	depends on DRM || !DRM
47bf7660daSArnd Bergmann	select I2C_HID_CORE
48bd3cba00SDouglas Anderson	help
49bd3cba00SDouglas Anderson	  Say Y here if you want support for Elan i2c devices that use
50bd3cba00SDouglas Anderson	  the i2c-hid protocol on Open Firmware (Device Tree)-based
51bd3cba00SDouglas Anderson	  systems.
52bd3cba00SDouglas Anderson
53bd3cba00SDouglas Anderson	  If unsure, say N.
54bd3cba00SDouglas Anderson
55bd3cba00SDouglas Anderson	  This support is also available as a module.  If so, the module
56bd3cba00SDouglas Anderson	  will be called i2c-hid-of-elan.  It will also build/depend on
57bd3cba00SDouglas Anderson	  the module i2c-hid.
58bd3cba00SDouglas Anderson
59c1ed18c1SDouglas Andersonconfig I2C_HID_OF_GOODIX
60c1ed18c1SDouglas Anderson	tristate "Driver for Goodix hid-i2c based devices on OF systems"
61bf7660daSArnd Bergmann	depends on OF
62*a0769f25SArnd Bergmann	depends on DRM || !DRM
63bf7660daSArnd Bergmann	select I2C_HID_CORE
64c1ed18c1SDouglas Anderson	help
65c1ed18c1SDouglas Anderson	  Say Y here if you want support for Goodix i2c devices that use
66c1ed18c1SDouglas Anderson	  the i2c-hid protocol on Open Firmware (Device Tree)-based
67c1ed18c1SDouglas Anderson	  systems.
68c1ed18c1SDouglas Anderson
69c1ed18c1SDouglas Anderson	  If unsure, say N.
70c1ed18c1SDouglas Anderson
71c1ed18c1SDouglas Anderson	  This support is also available as a module.  If so, the module
72c1ed18c1SDouglas Anderson	  will be called i2c-hid-of-goodix.  It will also build/depend on
73c1ed18c1SDouglas Anderson	  the module i2c-hid.
74c1ed18c1SDouglas Anderson
75b33752c3SDouglas Andersonconfig I2C_HID_CORE
76b33752c3SDouglas Anderson	tristate
7796a37bfdSDouglas Anderson	# We need to call into panel code so if DRM=m, this can't be 'y'
7896a37bfdSDouglas Anderson	depends on DRM || !DRM
79bf7660daSArnd Bergmannendif
80bf7660daSArnd Bergmann
81