Re: [PATCH v11 4/4] bus: mhi: Add userspace client interface driver

From: Randy Dunlap
Date: Fri Oct 30 2020 - 01:48:45 EST


On 10/29/20 7:45 PM, Hemant Kumar wrote:
> diff --git a/drivers/bus/mhi/Kconfig b/drivers/bus/mhi/Kconfig
> index e841c10..476cc55 100644
> --- a/drivers/bus/mhi/Kconfig
> +++ b/drivers/bus/mhi/Kconfig
> @@ -20,3 +20,16 @@ config MHI_BUS_DEBUG
> Enable debugfs support for use with the MHI transport. Allows
> reading and/or modifying some values within the MHI controller
> for debug and test purposes.
> +
> +config MHI_UCI
> + tristate "MHI UCI"
> + depends on MHI_BUS
> + help
> + MHI based Userspace Client Interface (UCI) driver is used for

MHI-based

> + transferring raw data between host and device using standard file
> + operations from userspace. Open, read, write, and close operations
> + are supported by this driver. Please check mhi_uci_match_table for

also poll according to the documentation.

> + all supported channels that are exposed to userspace.
> +
> + To compile this driver as a module, choose M here: the module will be
> + called mhi_uci.


--
~Randy