]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
mfd: as3722: add watchdog support
authorBibek Basu <bbasu@nvidia.com>
Thu, 14 Nov 2013 14:18:11 +0000 (19:48 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Fri, 15 Nov 2013 09:29:14 +0000 (01:29 -0800)
Add watchdog support fo as3722

Bug 1396052

Change-Id: I7bd16a8f7316c039800dd5c823067c6b53d0667d
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/328825
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/mfd/as3722.c

index d65db525fc591c88f238194b43b7eb6d147fe3ed..3c552389f8720f500fe58374207c36bec8e10e66 100644 (file)
@@ -43,6 +43,7 @@ enum {
        AS3722_ADC,
        AS3722_POWER_OFF_ID,
        AS3722_CLK_ID,
+       AS3722_WATCHDOG_ID,
 };
 
 static const struct resource as3722_rtc_resource[] = {
@@ -92,6 +93,10 @@ static struct mfd_cell as3722_devs[] = {
                .name = "as3722-power-off",
                .id = AS3722_POWER_OFF_ID,
        },
+       {
+               .name = "as3722-wdt",
+               .id = AS3722_WATCHDOG_ID,
+       },
 };
 
 static const struct regmap_irq as3722_irqs[] = {