commit | 5c738445228bc3916d24f582fe8b82e6ef7c539e | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Tue Nov 27 12:33:58 2018 -0600 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Jan 15 22:28:29 2019 +0000 |
tree | 6b8ebe4a84d0848f4b561466085b7dd7add20a8f | |
parent | 1e56c7eccc807199e69ec2858cf49839d8718947 [diff] |
Switch to phosphor-buttons for button handling Use the 2 button packages from the phosphor-buttons repo for button press handling: obmc-phosphor-buttons-signals - Sends signals when buttons are pressed and released obmc-phosphor-buttons-handler - Listens for the signals and performs the corresponding actions, which are the same as the current button code that lives in skeleton. These support the power, host reset, and ID buttons, All buttons are optional, and for a button to be configured its GPIO must reside in /etc/default/obmc/gpio/gpio_defs.json. If the GPIO isn't found, then nothing will listen for those button presses. See the phosphor-buttons code for the naming requirements. Tested: Built and ran image. Change-Id: I01f65b8abe04decd69c76f56bb49e3f4c478de33 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.