commit | 8d281f1b73cd102c619c857a700f7352580d55f5 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Jul 22 15:53:35 2022 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Jul 22 15:53:35 2022 -0500 |
tree | b08e0c4030afef4ea1c839e8284b8e9da66e4562 | |
parent | ba33275d9fbf89bdaa75c241b87b5520bb54c440 [diff] |
OWNERS: switch 'matches' to 'matchers' The original OWNERS template had a mistake which used 'matches' instead of the field supported by the Gerrit plugin 'matchers'. Update the OWNERS file to have the correct field. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3abf54e79b1dba1e3583dac623ddcf6cdb9b1c8c
Phosphor-buttons has a collection of IO event handler interfaces for physical inputs which are part of OCP front panel.
It defines an individual dbus interface object for each physical button/switch inputs such as power button, reset button etc. Each of this button interfaces monitors it's associated io for event changes and calls the respective event handlers.
In order to monitor a button/input interface the
respective gpio config details should be mentioned in the gpio defs json file - "/etc/default/obmc/gpio/gpio_defs.json"
{ "gpio_definitions": [ { "name": "POWER_BUTTON", "gpio_config" :[ { "pin": "D0", "direction": "both" } ] }, { "name": "RESET_BUTTON", "gpio_config" :[ { "pin": "AB0", "direction": "both" } ] }, { "name" : "HOST_SELECTOR",
"gpio_config" : [ { "pin": "AA4", "direction": "both" }, { "pin": "AA5", "direction": "both" }, { "pin": "AA6", "direction": "both" }, { "pin": "AA7", "direction": "both" } ] },
}