summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBengt Jonsson <bengt.g.jonsson@stericsson.com>2012-03-15 19:50:40 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-16 20:59:01 +0100
commit5f96a1a6d5d82f79015e5e480e4ac8772607f69b (patch)
treeba1439a41b5e4056eeb153850f76c46df3db89a5
parentd902d0d18c50fe195c66e60c615cfa0b81169454 (diff)
mfd: Add 8520 PRCMU variant to db8500-prcmu
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-by: Mattias Nilssson <mattias.i.nilsson@stericsson.com> Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--drivers/mfd/db8500-prcmu.c2
-rw-r--r--include/linux/mfd/db8500-prcmu.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index 09fd6a39d7fa..06a3c32b2e6a 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -2634,6 +2634,8 @@ static char *fw_project_name(u8 project)
return "U9500";
case PRCMU_FW_PROJECT_U9500_C2:
return "U9500 C2";
+ case PRCMU_FW_PROJECT_U8520:
+ return "U8520";
default:
return "Unknown";
}
diff --git a/include/linux/mfd/db8500-prcmu.h b/include/linux/mfd/db8500-prcmu.h
index a220905337b5..19ea0a6b542a 100644
--- a/include/linux/mfd/db8500-prcmu.h
+++ b/include/linux/mfd/db8500-prcmu.h
@@ -497,6 +497,7 @@ struct prcmu_auto_pm_config {
#define PRCMU_FW_PROJECT_U9500 4
#define PRCMU_FW_PROJECT_U8500_C2 7
#define PRCMU_FW_PROJECT_U9500_C2 11
+#define PRCMU_FW_PROJECT_U8520 13
struct prcmu_fw_version {
u8 project;