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

From: Ronak Jain
Date: Fri Dec 03 2021 - 04:18:44 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 muliple driver instances
when accessed by multiple devices.

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 sysfs entry for runtime features
firmware: xilinx: Add sysfs support for feature config

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

--
2.32.0.93.g670b81a