162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig I2C_HID
362306a36Sopenharmony_ci	tristate "I2C HID support"
462306a36Sopenharmony_ci	default y
562306a36Sopenharmony_ci	depends on I2C && INPUT && HID
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciif I2C_HID
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciconfig I2C_HID_ACPI
1062306a36Sopenharmony_ci	tristate "HID over I2C transport layer ACPI driver"
1162306a36Sopenharmony_ci	depends on ACPI
1262306a36Sopenharmony_ci	depends on DRM || !DRM
1362306a36Sopenharmony_ci	select I2C_HID_CORE
1462306a36Sopenharmony_ci	help
1562306a36Sopenharmony_ci	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
1662306a36Sopenharmony_ci	  other HID based devices which is connected to your computer via I2C.
1762306a36Sopenharmony_ci	  This driver supports ACPI-based systems.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci	  If unsure, say N.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci	  This support is also available as a module.  If so, the module
2262306a36Sopenharmony_ci	  will be called i2c-hid-acpi.  It will also build/depend on the
2362306a36Sopenharmony_ci	  module i2c-hid.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig I2C_HID_OF
2662306a36Sopenharmony_ci	tristate "HID over I2C transport layer Open Firmware driver"
2762306a36Sopenharmony_ci	# No "depends on OF" because this can also be used for manually
2862306a36Sopenharmony_ci	# (board-file) instantiated "hid-over-i2c" type i2c-clients.
2962306a36Sopenharmony_ci	depends on DRM || !DRM
3062306a36Sopenharmony_ci	select I2C_HID_CORE
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  Say Y here if you use a keyboard, a touchpad, a touchscreen, or any
3362306a36Sopenharmony_ci	  other HID based devices which is connected to your computer via I2C.
3462306a36Sopenharmony_ci	  This driver supports Open Firmware (Device Tree)-based systems as
3562306a36Sopenharmony_ci	  well as binding to manually (board-file) instantiated i2c-hid-clients.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci	  If unsure, say N.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci	  This support is also available as a module.  If so, the module
4062306a36Sopenharmony_ci	  will be called i2c-hid-of.  It will also build/depend on the
4162306a36Sopenharmony_ci	  module i2c-hid.
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciconfig I2C_HID_OF_ELAN
4462306a36Sopenharmony_ci	tristate "Driver for Elan hid-i2c based devices on OF systems"
4562306a36Sopenharmony_ci	depends on OF
4662306a36Sopenharmony_ci	depends on DRM || !DRM
4762306a36Sopenharmony_ci	select I2C_HID_CORE
4862306a36Sopenharmony_ci	help
4962306a36Sopenharmony_ci	  Say Y here if you want support for Elan i2c devices that use
5062306a36Sopenharmony_ci	  the i2c-hid protocol on Open Firmware (Device Tree)-based
5162306a36Sopenharmony_ci	  systems.
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ci	  If unsure, say N.
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ci	  This support is also available as a module.  If so, the module
5662306a36Sopenharmony_ci	  will be called i2c-hid-of-elan.  It will also build/depend on
5762306a36Sopenharmony_ci	  the module i2c-hid.
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciconfig I2C_HID_OF_GOODIX
6062306a36Sopenharmony_ci	tristate "Driver for Goodix hid-i2c based devices on OF systems"
6162306a36Sopenharmony_ci	depends on OF
6262306a36Sopenharmony_ci	depends on DRM || !DRM
6362306a36Sopenharmony_ci	select I2C_HID_CORE
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  Say Y here if you want support for Goodix i2c devices that use
6662306a36Sopenharmony_ci	  the i2c-hid protocol on Open Firmware (Device Tree)-based
6762306a36Sopenharmony_ci	  systems.
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ci	  If unsure, say N.
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ci	  This support is also available as a module.  If so, the module
7262306a36Sopenharmony_ci	  will be called i2c-hid-of-goodix.  It will also build/depend on
7362306a36Sopenharmony_ci	  the module i2c-hid.
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ciconfig I2C_HID_CORE
7662306a36Sopenharmony_ci	tristate
7762306a36Sopenharmony_ci	# We need to call into panel code so if DRM=m, this can't be 'y'
7862306a36Sopenharmony_ci	depends on DRM || !DRM
7962306a36Sopenharmony_ciendif
8062306a36Sopenharmony_ci
81