xref: /openbmc/linux/drivers/hid/i2c-hid/Kconfig (revision c1ed18c1)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
24a200c3bSBenjamin Tissoiresmenu "I2C HID support"
34a200c3bSBenjamin Tissoires	depends on I2C
44a200c3bSBenjamin Tissoires
5b33752c3SDouglas Andersonconfig I2C_HID_ACPI
6b33752c3SDouglas Anderson	tristate "HID over I2C transport layer ACPI driver"
74a200c3bSBenjamin Tissoires	default n
8b33752c3SDouglas Anderson	depends on I2C && INPUT && ACPI
9a7f7f624SMasahiro Yamada	help
108ee0c05aSBenjamin Tissoires	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
118ee0c05aSBenjamin Tissoires	  other HID based devices which is connected to your computer via I2C.
12b33752c3SDouglas Anderson	  This driver supports ACPI-based systems.
134a200c3bSBenjamin Tissoires
144a200c3bSBenjamin Tissoires	  If unsure, say N.
154a200c3bSBenjamin Tissoires
164a200c3bSBenjamin Tissoires	  This support is also available as a module.  If so, the module
17b33752c3SDouglas Anderson	  will be called i2c-hid-acpi.  It will also build/depend on the
18b33752c3SDouglas Anderson	  module i2c-hid.
19b33752c3SDouglas Anderson
20b33752c3SDouglas Andersonconfig I2C_HID_OF
21b33752c3SDouglas Anderson	tristate "HID over I2C transport layer Open Firmware driver"
22b33752c3SDouglas Anderson	default n
23b33752c3SDouglas Anderson	depends on I2C && INPUT && OF
24b33752c3SDouglas Anderson	help
25b33752c3SDouglas Anderson	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
26b33752c3SDouglas Anderson	  other HID based devices which is connected to your computer via I2C.
27b33752c3SDouglas Anderson	  This driver supports Open Firmware (Device Tree)-based systems.
28b33752c3SDouglas Anderson
29b33752c3SDouglas Anderson	  If unsure, say N.
30b33752c3SDouglas Anderson
31b33752c3SDouglas Anderson	  This support is also available as a module.  If so, the module
32b33752c3SDouglas Anderson	  will be called i2c-hid-of.  It will also build/depend on the
33b33752c3SDouglas Anderson	  module i2c-hid.
344a200c3bSBenjamin Tissoires
35*c1ed18c1SDouglas Andersonconfig I2C_HID_OF_GOODIX
36*c1ed18c1SDouglas Anderson	tristate "Driver for Goodix hid-i2c based devices on OF systems"
37*c1ed18c1SDouglas Anderson	default n
38*c1ed18c1SDouglas Anderson	depends on I2C && INPUT && OF
39*c1ed18c1SDouglas Anderson	help
40*c1ed18c1SDouglas Anderson	  Say Y here if you want support for Goodix i2c devices that use
41*c1ed18c1SDouglas Anderson	  the i2c-hid protocol on Open Firmware (Device Tree)-based
42*c1ed18c1SDouglas Anderson	  systems.
43*c1ed18c1SDouglas Anderson
44*c1ed18c1SDouglas Anderson	  If unsure, say N.
45*c1ed18c1SDouglas Anderson
46*c1ed18c1SDouglas Anderson	  This support is also available as a module.  If so, the module
47*c1ed18c1SDouglas Anderson	  will be called i2c-hid-of-goodix.  It will also build/depend on
48*c1ed18c1SDouglas Anderson	  the module i2c-hid.
49*c1ed18c1SDouglas Anderson
504a200c3bSBenjamin Tissoiresendmenu
51b33752c3SDouglas Anderson
52b33752c3SDouglas Andersonconfig I2C_HID_CORE
53b33752c3SDouglas Anderson	tristate
54*c1ed18c1SDouglas Anderson	default y if I2C_HID_ACPI=y || I2C_HID_OF=y || I2C_HID_OF_GOODIX=y
55*c1ed18c1SDouglas Anderson	default m if I2C_HID_ACPI=m || I2C_HID_OF=m || I2C_HID_OF_GOODIX=m
56b33752c3SDouglas Anderson	select HID
57