# SPDX-License-Identifier: GPL-2.0

config MHI_BUS_LOOPBACK
	tristate "MHI LOOPBACK client driver"
	depends on MHI_BUS
	help
	  MHI LOOPBACK client driver that binds to the MHI LOOPBACK channel
	  as defined in the MHI specification. The LOOPBACK channel is
	  implemented by MHI-based devices (e.g. modems, WLAN) in the field,
	  where the endpoint firmware echoes back whatever the host sends.

	  This driver exposes a sysfs interface for testing MHI data path
	  integrity between host and endpoint. Users can configure the TRE
	  size and count, and trigger a loopback test.

	  To compile this driver as a module, choose M here. The module
	  will be called mhi_loopback.
