linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Couple of questions on SCMI sensor protocol and Linux implementation
@ 2019-04-03  3:22 Florian Fainelli
  2019-04-12 13:57 ` Sudeep Holla
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2019-04-03  3:22 UTC (permalink / raw)
  To: Sudeep Holla,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	linux-hwmon
  Cc: Guenter Roeck

Hi Sudeep,

There are a couple of things on which I would appreciate your feedback
regarding the Linux SCMI sensor protocol:

1) The Linux SCMI implementation has all the nuts and bolts to allow
configuring trip points, but the hwmon subsystem through the use of
hwmon_thermal_add_sensor() API does not actually make use of that
capability. Would it be a big stretch to use the hwmon_ops::write
function to get to support that feature? The other thing that puzzles me
is that there does not appear to be provision in the SCMI sensor
protocol to describe thermal zones, so I assume that people still have
to provide supplemental data through Device Tree for
devm_thermal_zone_of_sensor_register() to pick up the thermal zones
definitions?

2) Support for regulators through SCMI

I work with a device where the regulators can only be controlled via a
dedicated piece of HW which is accessible through SCMI from the Linux
side. Do you think there is value in coming up with a scmi-regulator.c
driver that makes use of the sensor protocol for discovering and
reporting regulators or would that be something that belongs more to the
power domain protocol?

Thanks for reading me! Cheers
-- 
Florian

_______________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2019-04-12 22:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-03  3:22 Couple of questions on SCMI sensor protocol and Linux implementation Florian Fainelli
2019-04-12 13:57 ` Sudeep Holla
2019-04-12 15:38   ` Guenter Roeck
2019-04-12 22:40   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).