]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaeb5e5b3d6cfbb97f0f5fc39648e21f438316d1e
treeeb46db347340bb19767091a3eed6dad3a6e28c08
parenta034cb655d002cb29f03549507e1e0ac1345d904
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