Kconfig 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menu "I2C HID support"
  3. depends on I2C
  4. config I2C_HID_ACPI
  5. tristate "HID over I2C transport layer ACPI driver"
  6. default n
  7. depends on I2C && INPUT && ACPI
  8. help
  9. Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
  10. other HID based devices which is connected to your computer via I2C.
  11. This driver supports ACPI-based systems.
  12. If unsure, say N.
  13. This support is also available as a module. If so, the module
  14. will be called i2c-hid-acpi. It will also build/depend on the
  15. module i2c-hid.
  16. config I2C_HID_OF
  17. tristate "HID over I2C transport layer Open Firmware driver"
  18. default n
  19. depends on I2C && INPUT && OF
  20. help
  21. Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
  22. other HID based devices which is connected to your computer via I2C.
  23. This driver supports Open Firmware (Device Tree)-based systems.
  24. If unsure, say N.
  25. This support is also available as a module. If so, the module
  26. will be called i2c-hid-of. It will also build/depend on the
  27. module i2c-hid.
  28. config I2C_HID_OF_ELAN
  29. tristate "Driver for Elan hid-i2c based devices on OF systems"
  30. default n
  31. depends on I2C && INPUT && OF
  32. help
  33. Say Y here if you want support for Elan i2c devices that use
  34. the i2c-hid protocol on Open Firmware (Device Tree)-based
  35. systems.
  36. If unsure, say N.
  37. This support is also available as a module. If so, the module
  38. will be called i2c-hid-of-elan. It will also build/depend on
  39. the module i2c-hid.
  40. config I2C_HID_OF_GOODIX
  41. tristate "Driver for Goodix hid-i2c based devices on OF systems"
  42. default n
  43. depends on I2C && INPUT && OF
  44. help
  45. Say Y here if you want support for Goodix i2c devices that use
  46. the i2c-hid protocol on Open Firmware (Device Tree)-based
  47. systems.
  48. If unsure, say N.
  49. This support is also available as a module. If so, the module
  50. will be called i2c-hid-of-goodix. It will also build/depend on
  51. the module i2c-hid.
  52. endmenu
  53. config I2C_HID_CORE
  54. tristate
  55. default y if I2C_HID_ACPI=y || I2C_HID_OF=y || I2C_HID_OF_ELAN=y || I2C_HID_OF_GOODIX=y
  56. default m if I2C_HID_ACPI=m || I2C_HID_OF=m || I2C_HID_OF_ELAN=m || I2C_HID_OF_GOODIX=m
  57. select HID