xref: /openbmc/linux/drivers/hid/i2c-hid/Kconfig (revision b33752c3)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
24a200c3bSBenjamin Tissoiresmenu "I2C HID support"
34a200c3bSBenjamin Tissoires	depends on I2C
44a200c3bSBenjamin Tissoires
5*b33752c3SDouglas Andersonconfig I2C_HID_ACPI
6*b33752c3SDouglas Anderson	tristate "HID over I2C transport layer ACPI driver"
74a200c3bSBenjamin Tissoires	default n
8*b33752c3SDouglas 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.
12*b33752c3SDouglas 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
17*b33752c3SDouglas Anderson	  will be called i2c-hid-acpi.  It will also build/depend on the
18*b33752c3SDouglas Anderson	  module i2c-hid.
19*b33752c3SDouglas Anderson
20*b33752c3SDouglas Andersonconfig I2C_HID_OF
21*b33752c3SDouglas Anderson	tristate "HID over I2C transport layer Open Firmware driver"
22*b33752c3SDouglas Anderson	default n
23*b33752c3SDouglas Anderson	depends on I2C && INPUT && OF
24*b33752c3SDouglas Anderson	help
25*b33752c3SDouglas Anderson	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
26*b33752c3SDouglas Anderson	  other HID based devices which is connected to your computer via I2C.
27*b33752c3SDouglas Anderson	  This driver supports Open Firmware (Device Tree)-based systems.
28*b33752c3SDouglas Anderson
29*b33752c3SDouglas Anderson	  If unsure, say N.
30*b33752c3SDouglas Anderson
31*b33752c3SDouglas Anderson	  This support is also available as a module.  If so, the module
32*b33752c3SDouglas Anderson	  will be called i2c-hid-of.  It will also build/depend on the
33*b33752c3SDouglas Anderson	  module i2c-hid.
344a200c3bSBenjamin Tissoires
354a200c3bSBenjamin Tissoiresendmenu
36*b33752c3SDouglas Anderson
37*b33752c3SDouglas Andersonconfig I2C_HID_CORE
38*b33752c3SDouglas Anderson	tristate
39*b33752c3SDouglas Anderson	default y if I2C_HID_ACPI=y || I2C_HID_OF=y
40*b33752c3SDouglas Anderson	default m if I2C_HID_ACPI=m || I2C_HID_OF=m
41*b33752c3SDouglas Anderson	select HID
42