[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190506224109.9357-1-f.fainelli@gmail.com>
Date: Mon, 6 May 2019 15:41:07 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: linux-kernel@...r.kernel.org
Cc: bcm-kernel-feedback-list@...adcom.com,
Florian Fainelli <f.fainelli@...il.com>,
Sudeep Holla <sudeep.holla@....com>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
linux-arm-kernel@...ts.infradead.org,
linux-hwmon@...r.kernel.org (open list:HARDWARE MONITORING)
Subject: [PATCH 0/2] hwmon: scmi: Scale values to target desired HWMON units
Hi Sudeep, Guenter,
This patch series adds support for scaling SCMI sensor values read from
firmware. Sudeep, let me know if you think we should be treating scale
== 0 as a special value to preserve some firmware compatibility (not
that this would be desired).
Thanks!
Florian Fainelli (2):
firmware: arm_scmi: Fetch and store sensor scale
hwmon: scmi: Scale values to target desired HWMON units
drivers/firmware/arm_scmi/sensors.c | 7 +++-
drivers/hwmon/scmi-hwmon.c | 55 ++++++++++++++++++++++++-----
include/linux/scmi_protocol.h | 1 +
3 files changed, 53 insertions(+), 10 deletions(-)
--
2.17.1
Powered by blists - more mailing lists