blob: 83c11f9de0308a7a304bc61fda5b6266423ed633 [file] [log] [blame]
Chen,Yuganga270e782019-04-26 09:56:14 +08001description: >
2 NMI button is a Diagnostic Interrupt(Front Panel NMI).Diagnostic interrupt
Patrick Williamsa1347412022-12-06 10:56:22 -06003 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,Yuganga270e782019-04-26 09:56:14 +08007methods:
8 - name: simPress
9 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050010 Emulate NMI button press.
Chen,Yuganga270e782019-04-26 09:56:14 +080011 errors:
Patrick Williams8da396c2022-03-14 14:21:02 -050012 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
13 - xyz.openbmc_project.Chassis.Common.Error.IOError
Chen,Yuganga270e782019-04-26 09:56:14 +080014
15properties:
16 - name: Enabled
17 type: boolean
18 default: true
19 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060020 Enable/disable NMI button. false means NMI button is disabled true
21 means NMI button is enabled
Chen,Yuganga270e782019-04-26 09:56:14 +080022 errors:
Patrick Williams8da396c2022-03-14 14:21:02 -050023 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
24 - xyz.openbmc_project.Chassis.Common.Error.IOError
Chen,Yuganga270e782019-04-26 09:56:14 +080025
26signals:
27 - name: Released
28 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050029 NMI button released signal
Chen,Yuganga270e782019-04-26 09:56:14 +080030 - name: Pressed
31 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050032 NMI button pressed signal