[PATCH v10 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-17 Thread Johannes Thumshirn
This patch adds a sysfs interface for the watchdog device found on MEN A21 Boards. The newly generated files are: * rebootcause: Can be one of: Power on Reset, CPU Reset Request, Push Button, FPGA Reset Request, Watchdog, Local Power Bad, Invalid or BDI and shows the reason of the boards last

[PATCH v10 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-17 Thread Johannes Thumshirn
This patch adds a sysfs interface for the watchdog device found on MEN A21 Boards. The newly generated files are: * rebootcause: Can be one of: Power on Reset, CPU Reset Request, Push Button, FPGA Reset Request, Watchdog, Local Power Bad, Invalid or BDI and shows the reason of the boards last