[PATCH v2 0/5] firmware: arm_scmi: add SCMI v2.0 fastchannels and reset protocol support

From: Sudeep Holla
Date: Tue Aug 06 2019 - 13:02:20 EST


SCMI v2.0[1] released recently adds support for:

1. Performance protocol fast channels
2. Reset Management Protocol
among several other features.

This series adds support for the above 2.

The code is based on the cleanup[2] and Rx/async/delayed response series[3]
and is available @[4]

--
Regards,
Sudeep

v1[5]->v2:
- Changed the macro SCMI_PERF_FC_RING_DB to use do {} while(0)
- Renamed RESET_ARM_SCMI to RESET_SCMI and reworded Kconfig text
- Dropped unused struct device pointer from scmi_reset_data
- Added to_scmi_handle which helped to remove some repetitive code
- Fixed some doxygen comments
- Initialised rcdev.nr_resets
- Fixed MODULE_DESCRIPTION

[1] http://infocenter.arm.com/help/topic/com.arm.doc.den0056b/DEN0056B_System_Control_and_Management_Interface_v2_0.pdf
[2] https://lore.kernel.org/lkml/20190726134531.8928-1-sudeep.holla@xxxxxxx
[3] https://lore.kernel.org/lkml/20190726135138.9858-1-sudeep.holla@xxxxxxx/
[4] git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git scmi_updates
[5] https://lore.kernel.org/lkml/20190726135954.11078-1-sudeep.holla@xxxxxxx/

Sudeep Holla (5):
firmware: arm_scmi: Add discovery of SCMI v2.0 performance fastchannels
firmware: arm_scmi: Make use SCMI v2.0 fastchannel for performance protocol
dt-bindings: arm: Extend SCMI to support new reset protocol
firmware: arm_scmi: Add RESET protocol in SCMI v2.0
reset: Add support for resets provided by SCMI

.../devicetree/bindings/arm/arm,scmi.txt | 17 ++
MAINTAINERS | 1 +
drivers/firmware/arm_scmi/Makefile | 2 +-
drivers/firmware/arm_scmi/perf.c | 257 +++++++++++++++++-
drivers/firmware/arm_scmi/reset.c | 231 ++++++++++++++++
drivers/reset/Kconfig | 11 +
drivers/reset/Makefile | 1 +
drivers/reset/reset-scmi.c | 126 +++++++++
include/linux/scmi_protocol.h | 26 ++
9 files changed, 663 insertions(+), 9 deletions(-)
create mode 100644 drivers/firmware/arm_scmi/reset.c
create mode 100644 drivers/reset/reset-scmi.c

--
2.17.1