public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add ARM SCMI Powercap driver
@ 2022-08-17 10:54 Cristian Marussi
  2022-08-17 10:54 ` [PATCH 1/3] powercap: arm_scmi: Add SCMI Powercap based driver Cristian Marussi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Cristian Marussi @ 2022-08-17 10:54 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, linux-pm
  Cc: sudeep.holla, james.quinlan, Jonathan.Cameron, f.fainelli,
	etienne.carriere, vincent.guittot, daniel.lezcano,
	tarek.el-sherbiny, adrian.slatineanu, souvik.chakravarty,
	wleavitt, wbartczak, dan.carpenter, Cristian Marussi

Hi all,

this short series builts on top of recently introduced SCMI v3.1 Powercap
protocol to implement an ARM SCMI Powercap driver which takes care to
expose via the Powercap framework all the SCMI Powercap zones that have
been discovered asking the SCMI platform firmware.

Basic testing has been performed against an emulated SCMI platform
supporting SCMIv3.1 Powercap protocol using powercap-utils.

A couple of fixes spotted with Smatch by Dan are queued on top of the
driver itself; these may have to be squashed finally into the driver itself
(with the Fixes tags removed) but for now I have just added them here as
patches on top, for clarity and to preserve authorship.

The series is based on v6.0-rc1:

Thanks,
Cristian

Cristian Marussi (1):
  powercap: arm_scmi: Add SCMI Powercap based driver

Dan Carpenter (2):
  powercap: arm_scmi: Fix signedness bug in probe
  powercap: arm_scmi: Fix a NULL vs IS_ERR() bug

 drivers/powercap/Kconfig             |  13 +
 drivers/powercap/Makefile            |   1 +
 drivers/powercap/arm_scmi_powercap.c | 545 +++++++++++++++++++++++++++
 3 files changed, 559 insertions(+)
 create mode 100644 drivers/powercap/arm_scmi_powercap.c

-- 
2.32.0


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

end of thread, other threads:[~2022-09-05  8:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-17 10:54 [PATCH 0/3] Add ARM SCMI Powercap driver Cristian Marussi
2022-08-17 10:54 ` [PATCH 1/3] powercap: arm_scmi: Add SCMI Powercap based driver Cristian Marussi
2022-08-30 13:16   ` Lukasz Luba
2022-09-04 15:41     ` Cristian Marussi
2022-09-05  8:45       ` Lukasz Luba
2022-08-17 10:54 ` [PATCH 2/3] powercap: arm_scmi: Fix signedness bug in probe Cristian Marussi
2022-08-17 10:54 ` [PATCH 3/3] powercap: arm_scmi: Fix a NULL vs IS_ERR() bug Cristian Marussi

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