[PATCH v3 0/2] Expose UFSHCD capabilities in sysfs.
From: Daniil Lunev
Date: Thu Jul 28 2022 - 22:05:28 EST
The patchset introduces new sysfs nodes, which userspace can check to
determine support for certain capabilities. Specifically the patchset
exposes Clock Scaling, Write Booster, and Inline Crypto Engine
capabilities.
Changes in v3:
* Expose each capability as an individual node
* Add preleminary CL to align checking for capabilities
* Modify documentation to represent new scheme
Changes in v2:
* Add documentation entry for the new sysfs node.
Daniil Lunev (2):
ufs: add function to check CRYPTO capability
ufs: core: print UFSHCD capabilities in controller's sysfs node
Documentation/ABI/testing/sysfs-driver-ufs | 39 ++++++++++++++++++++
drivers/ufs/core/ufs-sysfs.c | 41 ++++++++++++++++++++++
drivers/ufs/core/ufshcd-crypto.c | 8 ++---
drivers/ufs/host/ufs-mediatek.c | 2 +-
drivers/ufs/host/ufs-qcom-ice.c | 4 +--
drivers/ufs/host/ufshcd-pci.c | 2 +-
include/ufs/ufshcd.h | 5 +++
7 files changed, 93 insertions(+), 8 deletions(-)
--
2.31.0