From: Fabio Estevam <festevam@denx.de>
Date: Mon, 16 Sep 2024 15:37:55 +0000 (-0300)
Subject: lxr2: Add DA9063 watchdog support
X-Git-Tag: v2025.01-rc5-pxa1908~294^2~1^2
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/%7B%7B?a=commitdiff_plain;h=ef815d75514da91dd98f9e3278d810439fd1f1ea;p=u-boot.git

lxr2: Add DA9063 watchdog support

The LXR2 board has a DA9063 that can provide watchdog functionality.

The DA9063 watchdog can cause a full POR reset, which is preferred
over the built-in i.MX6 watchdog.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---

diff --git a/configs/lxr2_defconfig b/configs/lxr2_defconfig
index 855366d421..2659b1f14b 100644
--- a/configs/lxr2_defconfig
+++ b/configs/lxr2_defconfig
@@ -104,6 +104,8 @@ CONFIG_RGMII=y
 CONFIG_MII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
+CONFIG_DM_PMIC=y
+CONFIG_DM_PMIC_DA9063=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
@@ -116,3 +118,4 @@ CONFIG_SYSRESET=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_SYSRESET_WATCHDOG_AUTO=y
 CONFIG_IMX_THERMAL=y
+CONFIG_WDT_DA9063=y