commit | 7897dc6f1a591814c2b73df958e6862cafeddeb2 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Aug 04 11:40:12 2022 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Aug 04 11:40:12 2022 -0500 |
tree | 42d2e7f587c719142a64460dfeaf733d3863e912 | |
parent | ab8dac5102fdacec33076055854cb5b3047d9c72 [diff] |
MAINTAINERS: remove file The MAINTAINERS file is deprecated in favor of OWNERS. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I98ec98d7e78a7437e0583d484c57a188b013bfb9
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" } ] },
}