openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* support for gpio  as ipmb sensor
@ 2021-10-05 13:16 naveen moses
  2021-10-06  0:16 ` Andrew Jeffery
  0 siblings, 1 reply; 6+ messages in thread
From: naveen moses @ 2021-10-05 13:16 UTC (permalink / raw)
  To: openbmc; +Cc: zhikui.ren, jae.hyun.yoo, andrew, vernon.mauery, ed, naveen moses

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]

Hi All,

we have a couple of gpios ( input ) accessed via ipmb commands in our platform.
which cannot be directly monitored using gpio monitor.

our idea is to expose them as ipmb sensors which has gpio state as property which is updated based
on the current state of the gpio.

at present there is no compatible interface under xyz/openbmc_project/sensors for gpio as sensor.

So is this acceptable to create a new interface for gpio state under xyz/openbmc_project/sensors :
interface name : gpioState
which has a property named value whose possible values are boolean (true or false).

any alternate implementation suggestions or corrections are welcome.

Thanks,
Naveen.


[-- Attachment #2: Type: text/html, Size: 3053 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-07 10:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05 13:16 support for gpio as ipmb sensor naveen moses
2021-10-06  0:16 ` Andrew Jeffery
2021-10-06 14:40   ` Patrick Williams
2021-10-07  6:12   ` naveen moses
2021-10-07  7:45     ` naveen moses
2021-10-07 10:01       ` Andrei Kartashev

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).