commit | 98a0ccd5c5275e2e2e2d09265f2d4be4d9f6f4bb | [log] [tgz] |
---|---|---|
author | Arvin Farahmand <arvinf@ip-logix.com> | Thu Apr 30 22:32:52 2020 -0400 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Jun 08 10:16:17 2021 +0200 |
tree | 44bbc4d1673bc9f01cbda8b44ee12149d0adb0e9 | |
parent | 38eaabc9c75c9a0932bbd272952dc81a2f2939ef [diff] |
drivers: hwinfo: Add reset cause support Add `hwinfo_get_reset_cause` and `hwinfo_clear_reset_cause` to retrieve and to clear cause of system reset on supported platforms. Different platforms can provide different causes of reset, however there is a great deal of overlap. `enum reset_cause` can be expanded in the future to support additional reasons, as additional platforms are supported. Signed-off-by: Arvin Farahmand <arvinf@ip-logix.com>