public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] SCMI SystemPower Control driver
@ 2020-10-26 20:55 Cristian Marussi
  2020-10-26 20:55 ` [PATCH v2 1/1] firmware: arm_scmi: Add SCMI System Power " Cristian Marussi
  0 siblings, 1 reply; 3+ messages in thread
From: Cristian Marussi @ 2020-10-26 20:55 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel
  Cc: Jonathan.Cameron, cristian.marussi, james.quinlan, lukasz.luba,
	sudeep.holla

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 b9ceca6be432 ("firmware: arm_scmi: Fix duplicate workqueue name")

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-12 14:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-26 20:55 [PATCH v2 0/1] SCMI SystemPower Control driver Cristian Marussi
2020-10-26 20:55 ` [PATCH v2 1/1] firmware: arm_scmi: Add SCMI System Power " Cristian Marussi
2020-11-12 14:57   ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox