]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
watchdog: tegra: select timer based on timer base
authorShreshtha SAHU <ssahu@nvidia.com>
Mon, 5 Jun 2017 14:11:44 +0000 (19:41 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 7 Jul 2017 23:29:57 +0000 (16:29 -0700)
commit7f5ad900a3b2f2defc3e32c4970b32f95d334d80
treee5367aa2b2776113a354049b5465f450f62c424e
parentc11b5748efb4f3cbf51bc4f25e5b59f3bddfffa8
watchdog: tegra: select timer based on timer base

Remove hardcoding of timer ID and select watchdog timer source
based on timer base provided in DT timer resource property

Bug 200314562

Change-Id: Ic12b881663b48b5ad260b39b3985ffdd505873bf
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: https://git-master/r/1515196
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
drivers/watchdog/tegra_wdt.c