]> git.dujemihanovic.xyz Git - u-boot.git/commit
watchdog: ulp_wdog: add driver model for ulp watchdog driver
authorAlice Guo <alice.guo@nxp.com>
Fri, 21 Oct 2022 08:41:18 +0000 (16:41 +0800)
committerStefan Roese <sr@denx.de>
Mon, 24 Oct 2022 09:10:21 +0000 (11:10 +0200)
commit5e112c7ca8ee45860e27f23059d9a319ba8eb6d3
tree73a7fd70aaa1bf21963239271544e9816a74ca00
parenta7fd6335013148fe7e650e0c47b171d051336a31
watchdog: ulp_wdog: add driver model for ulp watchdog driver

Enable driver model for ulp watchdog timer. When CONFIG_WDT=y and the
status of device node is "okay", initr_watchdog will be called and
finally calls ulp_wdt_probe() and ulp_wdt_start().

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/ulp_wdog.c