[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200916101827.48047-1-cristian.marussi@arm.com>
Date: Wed, 16 Sep 2020 11:18:26 +0100
From: Cristian Marussi <cristian.marussi@....com>
To: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Cc: sudeep.holla@....com, lukasz.luba@....com,
james.quinlan@...adcom.com, Jonathan.Cameron@...wei.com,
etienne.carriere@...aro.org, cristian.marussi@....com
Subject: [PATCH 0/1] SCMI SystemPower Control driver
Hi all,
This patch, building on top of the recently introduced SCMI System Power
Protocol support, adds a new SCMI driver which, registering for SCMI System
Power notifications, acts accordingly to satisfy such SCMI plaform
system-wide transition requests (which can be of forceful or graceful kind)
In order to comply with graceful requests, and co-operate with userspace
entities to drive a clean shutdown/reboot, the logic of the driver relies
on the same orderly_* API methods used by ACPI when handling ACPI Shutdown
bus events.
As an alternative method to tunnel graceful requests to userspace, though,
it is possible to configure, via module parameters, a specific signal to be
sent to CAD pid.
It is currently based on for-next/scmi [1] on top of:
commit 66d90f6ecee7 ("firmware: arm_scmi: Enable building as a single
module")
Thanks,
Cristian
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/log/?h=for-next/scmi
Cristian Marussi (1):
firmware: arm_scmi: Add SCMI System Power Control driver
drivers/firmware/Kconfig | 12 +
drivers/firmware/arm_scmi/Makefile | 1 +
.../firmware/arm_scmi/scmi_power_control.c | 387 ++++++++++++++++++
3 files changed, 400 insertions(+)
create mode 100644 drivers/firmware/arm_scmi/scmi_power_control.c
--
2.17.1
Powered by blists - more mailing lists