GPIO Centralized Control Daemon
Brad Bishop
bradleyb at fuzziesquirrel.com
Mon Sep 18 08:10:48 AEST 2017
On Sun, 2017-09-17 at 14:49 -0700, Patrick Venture wrote:
>
> Ahh - yeah, sorry, I didn't explain the entire use-case path
> initially. I assumed gpio-gated sensors were just a normal thing.
No problemo!
> I'll reach out and see if this should go into the adc driver or the
> iio-hwmon. Since those are the paths that are involved. The sensor
> itself it plugged into the aspeed adc, and then controlled by a
> gpio. My initial thought is the adc should be configured to know if
> such things are required for its sensors, so that iio-hwmon wouldn't
> need to know.
Excellent. Thx Patrick.
> That's what I'm thinking, if I can put it in the driver as something
> that can be configured - then perhaps that'll be a neater solution.
> Although, depending on how it gets added, it might be too platform
> specific. I'm using an Aspeed part, but I know there are other
> manufacturers, and if this type of arrangement exists elsewhere, more
> drivers will need modification in-lieu of a solution at the highest
> level. I see the value in both approaches.
I can too. Adding to that I'd like for our standard operating
procedure in general to be that we work with upstream Linux to set the
kernel direction and then we react to that to meet OpenBMCs needs.
-brad
More information about the openbmc
mailing list