That was my original argument when I proposed the sht15 driver. No idea
if anyone actually does this though!
I wondered exactly this when we added the sht15 driver. Never really
came to a firm conclusion though. If you and Jean decide these shouldn't
be in hwmon, I'm happy to take them both in IIO. Given our scope is much
broader and we already have things like light sensors (also sometimes environment
monitoring devices), that would work for me. There are a few sht15 users
out there I know of beyond the imote2 sensor boards (which is how I encountered
them). The imote2 users should be fine as I maintain the platform and most of
the tools anyway, the others maybe have more issues with a move.
Uses I know of are indeed more general environment monitoring.
Not seen one of these in conventional hardware monitoring but could be wrong.
I guess, Urs will have a better idea of where these tend to be used?
Obviously there is an argument for an 'environment' monitoring subsystem, but
my guess in Linus won't pull based on exactly the same issue he had with ALS
when we proposed that. Linus won't take small subsystems for sensors given
he wants them all in the same one. Actually he mostly wanted them to be in input
but Dmitry quite rightly pushed back hard against that for exactly the reason
you are wondering whether they ought to be in hwmon, avoidance of scope spread.
--