bus: mhi: core: Introduce debugfs entries for MHI
authorBhaumik Bhatt <bbhatt@codeaurora.org>
Tue, 29 Sep 2020 17:52:13 +0000 (23:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2020 09:33:47 +0000 (11:33 +0200)
commitc7bd825e52b3d0b9ae519a006b80521d4587f864
treeeb46db347340bb19767091a3eed6dad3a6e28c08
parente0af24acdabc3cdb00bb8c8e23f117ae5d8a4ef4
bus: mhi: core: Introduce debugfs entries for MHI

Introduce debugfs entries to show state, register, channel, device,
and event rings information. Allow the host to dump registers,
issue device wake, and change the MHI timeout to help in debug.

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200929175218.8178-15-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/mhi/Kconfig
drivers/bus/mhi/core/Makefile
drivers/bus/mhi/core/debugfs.c [new file with mode: 0644]
drivers/bus/mhi/core/init.c
drivers/bus/mhi/core/internal.h
include/linux/mhi.h