]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
soc: tegra-pmc: add API to show last reset status
authorJeetesh Burman <jburman@nvidia.com>
Thu, 24 Aug 2017 10:33:13 +0000 (16:03 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Sun, 27 Aug 2017 13:14:59 +0000 (06:14 -0700)
commitc13d760b2216ba32cf4d57b6decf6be032bcdc60
treeb9909897a854bde5556945a78f9ee2b8855fbec6
parent2361a38bbe5970e884de6ae5eea6cb139bf319a4
soc: tegra-pmc: add API to show last reset status

Export API to show last reset reason, so that if other
driver need to act on particular reset source, they can act
based reset status.
For example, if other driver need to do some work
if watchdog-timeout was the last reset-reason, that driver can call
this API to get the last reset status and based on reset-status,
driver can proceed further.

Bug 1846039

Change-Id: I980985770bbe2307ea0d85976eca74aae28f155d
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1544981
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
drivers/soc/tegra/pmc.c
include/soc/tegra/pmc.h