Chen,Yugang | a270e78 | 2019-04-26 09:56:14 +0800 | [diff] [blame] | 1 | description: > |
| 2 | NMI button is a Diagnostic Interrupt(Front Panel NMI).Diagnostic interrupt |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 3 | is a non-maskable interrupt or signal for generating diagnostic traces and |
| 4 | core dumps from the operating system. The diagnostic interrupt button is |
| 5 | connected to the BMC through a front panel connector. user can press NMI |
| 6 | button on the front panel and then trigger NMI signal. |
Chen,Yugang | a270e78 | 2019-04-26 09:56:14 +0800 | [diff] [blame] | 7 | methods: |
| 8 | - name: simPress |
| 9 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 10 | Emulate NMI button press. |
Chen,Yugang | a270e78 | 2019-04-26 09:56:14 +0800 | [diff] [blame] | 11 | errors: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 12 | - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand |
| 13 | - xyz.openbmc_project.Chassis.Common.Error.IOError |
Chen,Yugang | a270e78 | 2019-04-26 09:56:14 +0800 | [diff] [blame] | 14 | |
| 15 | properties: |
| 16 | - name: Enabled |
| 17 | type: boolean |
| 18 | default: true |
| 19 | description: > |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 20 | Enable/disable NMI button. false means NMI button is disabled true |
| 21 | means NMI button is enabled |
Chen,Yugang | a270e78 | 2019-04-26 09:56:14 +0800 | [diff] [blame] | 22 | errors: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 23 | - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand |
| 24 | - xyz.openbmc_project.Chassis.Common.Error.IOError |
Chen,Yugang | a270e78 | 2019-04-26 09:56:14 +0800 | [diff] [blame] | 25 | |
| 26 | signals: |
| 27 | - name: Released |
| 28 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 29 | NMI button released signal |
Chen,Yugang | a270e78 | 2019-04-26 09:56:14 +0800 | [diff] [blame] | 30 | - name: Pressed |
| 31 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 32 | NMI button pressed signal |