0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menu "I2C HID support"
0003 depends on I2C
0004
0005 config I2C_HID_ACPI
0006 tristate "HID over I2C transport layer ACPI driver"
0007 default n
0008 depends on I2C && INPUT && ACPI
0009 help
0010 Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
0011 other HID based devices which is connected to your computer via I2C.
0012 This driver supports ACPI-based systems.
0013
0014 If unsure, say N.
0015
0016 This support is also available as a module. If so, the module
0017 will be called i2c-hid-acpi. It will also build/depend on the
0018 module i2c-hid.
0019
0020 config I2C_HID_OF
0021 tristate "HID over I2C transport layer Open Firmware driver"
0022 default n
0023 depends on I2C && INPUT && OF
0024 help
0025 Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
0026 other HID based devices which is connected to your computer via I2C.
0027 This driver supports Open Firmware (Device Tree)-based systems.
0028
0029 If unsure, say N.
0030
0031 This support is also available as a module. If so, the module
0032 will be called i2c-hid-of. It will also build/depend on the
0033 module i2c-hid.
0034
0035 config I2C_HID_OF_ELAN
0036 tristate "Driver for Elan hid-i2c based devices on OF systems"
0037 default n
0038 depends on I2C && INPUT && OF
0039 help
0040 Say Y here if you want support for Elan i2c devices that use
0041 the i2c-hid protocol on Open Firmware (Device Tree)-based
0042 systems.
0043
0044 If unsure, say N.
0045
0046 This support is also available as a module. If so, the module
0047 will be called i2c-hid-of-elan. It will also build/depend on
0048 the module i2c-hid.
0049
0050 config I2C_HID_OF_GOODIX
0051 tristate "Driver for Goodix hid-i2c based devices on OF systems"
0052 default n
0053 depends on I2C && INPUT && OF
0054 help
0055 Say Y here if you want support for Goodix i2c devices that use
0056 the i2c-hid protocol on Open Firmware (Device Tree)-based
0057 systems.
0058
0059 If unsure, say N.
0060
0061 This support is also available as a module. If so, the module
0062 will be called i2c-hid-of-goodix. It will also build/depend on
0063 the module i2c-hid.
0064
0065 endmenu
0066
0067 config I2C_HID_CORE
0068 tristate
0069 default y if I2C_HID_ACPI=y || I2C_HID_OF=y || I2C_HID_OF_GOODIX=y
0070 default m if I2C_HID_ACPI=m || I2C_HID_OF=m || I2C_HID_OF_GOODIX=m
0071 select HID