[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220817105424.3124006-1-cristian.marussi@arm.com>
Date: Wed, 17 Aug 2022 11:54:21 +0100
From: Cristian Marussi <cristian.marussi@....com>
To: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-pm@...r.kernel.org
Cc: sudeep.holla@....com, james.quinlan@...adcom.com,
Jonathan.Cameron@...wei.com, f.fainelli@...il.com,
etienne.carriere@...aro.org, vincent.guittot@...aro.org,
daniel.lezcano@...aro.org, tarek.el-sherbiny@....com,
adrian.slatineanu@....com, souvik.chakravarty@....com,
wleavitt@...vell.com, wbartczak@...vell.com,
dan.carpenter@...cle.com,
Cristian Marussi <cristian.marussi@....com>
Subject: [PATCH 0/3] Add ARM SCMI Powercap driver
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
Powered by blists - more mailing lists