[PATCH v5 0/3] Add support for runtime features

From: Ronak Jain
Date: Wed Feb 09 2022 - 03:27:29 EST


Add support for runtime feature configuration by using the IOCTL
calls. The user can enable or disable as well as can configure the
runtime features. The support is added for the over temperature and
external watchdog. The user can configure the over temperature limit
and external watchdog timer interval at runtime by using PM_IOCTL
calls.

Also, added support for sysfs interface for runtime feature
configuration for the over temperature and external watchdog features.

Added zynqmp_devinfo structure to handle multiple driver instances
when accessed by multiple devices.

Changes in v5:
- Resolved merge conflict
- Update kernel version for sysfs documentation

Changes in v4:
- Update documentation for sysfs entries in #2 patch
- Add separate entries for sysfs files

Changes in v3:
- Added zynqmp_devinfo structure to store device instances
- Modified feature_conf_id from atomic variable to u32
- Update commit message
- Resolved merge conflict

Changes in v2:
- Remove default footer from email
- Update commit message
- Resolved merged conflict

Ronak Jain (3):
firmware: xilinx: Add support for runtime features
firmware: zynqmp: Add documentation for runtime feature config
firmware: xilinx: Add sysfs support for feature config

.../ABI/stable/sysfs-driver-firmware-zynqmp | 141 ++++++++++++++++++
drivers/firmware/xilinx/zynqmp.c | 120 +++++++++++++++
include/linux/firmware/xlnx-zynqmp.h | 25 ++++
3 files changed, 286 insertions(+)

--
2.32.0.93.g670b81a