support for gpio as ipmb sensor
Andrew Jeffery
andrew at aj.id.au
Wed Oct 6 11:16:40 AEDT 2021
Hi Naveen,
On Tue, 5 Oct 2021, at 23:46, naveen moses wrote:
> Hi All,
>
> we have a couple of gpios ( input ) accessed via ipmb commands in our platform.
> which cannot be directly monitored using gpio monitor.
What do you mean when you say "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).
What about modelling the behaviour the GPIO state represents rather
than just providing a DBus interface to the GPIO values?
Andrew
More information about the openbmc
mailing list