From: Bhaumik Bhatt <bbhatt@codeaurora.org>
To: manivannan.sadhasivam@linaro.org
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
hemantk@codeaurora.org, jhugo@codeaurora.org,
Bhaumik Bhatt <bbhatt@codeaurora.org>
Subject: [PATCH v2 0/6] Introduce features and debugfs/sysfs entries for MHI
Date: Tue, 12 May 2020 10:42:08 -0700 [thread overview]
Message-ID: <1589305334-19466-1-git-send-email-bbhatt@codeaurora.org> (raw)
Introduce independent bus and device voting mechanism for clients and save
hardware information from BHI.
Allow reading and modifying some MHI variables for debug, test, and
information purposes using debugfs.
Read values for device specific hardware information to be used by OEMs in
factory testing such as serial number and PK hash using sysfs.
This set of patches was tested on arm64 and x86.
v2:
-Please note: an upcoming ath11k driver patch will depend on the following patch:
"bus: mhi: core: Introduce independent voting mechanism"
-Fixed typo in one of the patches
-Updated MAINTAINERS for the sysfs ABI documentation
Bhaumik Bhatt (6):
bus: mhi: core: Introduce independent voting mechanism
bus: mhi: core: Use generic name field for an MHI device
bus: mhi: core: Introduce helper function to check device state
bus: mhi: core: Introduce debugfs entries and counters for MHI
bus: mhi: core: Read and save device hardware information from BHI
bus: mhi: core: Introduce sysfs entries for MHI
Documentation/ABI/stable/sysfs-bus-mhi | 25 ++
MAINTAINERS | 1 +
drivers/bus/mhi/Kconfig | 8 +
drivers/bus/mhi/core/Makefile | 5 +-
drivers/bus/mhi/core/boot.c | 17 +-
drivers/bus/mhi/core/debugfs.c | 431 +++++++++++++++++++++++++++++++++
drivers/bus/mhi/core/init.c | 80 +++++-
drivers/bus/mhi/core/internal.h | 29 +++
drivers/bus/mhi/core/main.c | 6 +-
drivers/bus/mhi/core/pm.c | 79 ++++--
include/linux/mhi.h | 39 ++-
11 files changed, 673 insertions(+), 47 deletions(-)
create mode 100644 Documentation/ABI/stable/sysfs-bus-mhi
create mode 100644 drivers/bus/mhi/core/debugfs.c
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
next reply other threads:[~2020-05-12 17:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-12 17:42 Bhaumik Bhatt [this message]
2020-05-12 17:42 ` [PATCH v2 1/6] bus: mhi: core: Introduce independent voting mechanism Bhaumik Bhatt
2020-05-12 17:42 ` [PATCH v2 2/6] bus: mhi: core: Use generic name field for an MHI device Bhaumik Bhatt
2020-05-12 17:42 ` [PATCH v2 3/6] bus: mhi: core: Introduce helper function to check device state Bhaumik Bhatt
2020-05-12 17:42 ` [PATCH v2 4/6] bus: mhi: core: Introduce debugfs entries and counters for MHI Bhaumik Bhatt
2020-05-12 18:51 ` kbuild test robot
2020-05-12 19:43 ` kbuild test robot
2020-05-12 17:42 ` [PATCH v2 5/6] bus: mhi: core: Read and save device hardware information from BHI Bhaumik Bhatt
2020-05-12 17:42 ` [PATCH v2 6/6] bus: mhi: core: Introduce sysfs entries for MHI Bhaumik Bhatt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1589305334-19466-1-git-send-email-bbhatt@codeaurora.org \
--to=bbhatt@codeaurora.org \
--cc=hemantk@codeaurora.org \
--cc=jhugo@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox