I want to use a watchdog timer in my application.
I am using the yocto build system on the msm8953 platform.
As per compatible field in .dtsi
file, corresponding driver configured in .defconfig
file(i.e. CONFIG_MSM_WATCHDOG_V2 = y
) and I am getting following dmesg:
[ 0.270444] msm_watchdog b017000.qcom,wdt: wdog absent resource not present
[ 0.270845] msm_watchdog b017000.qcom,wdt: MSM Watchdog Initialized
But, watchdog node is not created in /dev
directory.
I have also configured WATCHDOG and WATCHDOG_CORE driver as default in Kconfig file, but still the watchdog node is not present in /dev
directory.
Edit 1: added default value as Y in /drivers/watchdog/Kconfig
menuconfig WATCHDOG
bool "Watchdog Timer Support"
default Y
if WATCHDOG
config WATCHDOG_CORE
bool "WatchDog Timer Driver Core"
default Y