aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/db8500-prcmu.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index 7a63fa86bf01..e42a417adc5f 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -32,6 +32,7 @@
32#include <linux/regulator/db8500-prcmu.h> 32#include <linux/regulator/db8500-prcmu.h>
33#include <linux/regulator/machine.h> 33#include <linux/regulator/machine.h>
34#include <linux/cpufreq.h> 34#include <linux/cpufreq.h>
35#include <linux/platform_data/ux500_wdt.h>
35#include <asm/hardware/gic.h> 36#include <asm/hardware/gic.h>
36#include <mach/hardware.h> 37#include <mach/hardware.h>
37#include <mach/irqs.h> 38#include <mach/irqs.h>
@@ -3074,6 +3075,11 @@ static struct resource ab8500_resources[] = {
3074 } 3075 }
3075}; 3076};
3076 3077
3078static struct ux500_wdt_data db8500_wdt_pdata = {
3079 .timeout = 600, /* 10 minutes */
3080 .has_28_bits_resolution = true,
3081};
3082
3077static struct mfd_cell db8500_prcmu_devs[] = { 3083static struct mfd_cell db8500_prcmu_devs[] = {
3078 { 3084 {
3079 .name = "db8500-prcmu-regulators", 3085 .name = "db8500-prcmu-regulators",
@@ -3088,6 +3094,12 @@ static struct mfd_cell db8500_prcmu_devs[] = {
3088 .pdata_size = sizeof(db8500_cpufreq_table), 3094 .pdata_size = sizeof(db8500_cpufreq_table),
3089 }, 3095 },
3090 { 3096 {
3097 .name = "ux500_wdt",
3098 .platform_data = &db8500_wdt_pdata,
3099 .pdata_size = sizeof(db8500_wdt_pdata),
3100 .id = -1,
3101 },
3102 {
3091 .name = "ab8500-core", 3103 .name = "ab8500-core",
3092 .of_compatible = "stericsson,ab8500", 3104 .of_compatible = "stericsson,ab8500",
3093 .num_resources = ARRAY_SIZE(ab8500_resources), 3105 .num_resources = ARRAY_SIZE(ab8500_resources),