diff mbox

[2/3] mfd: db8500-prcmu: Add 8520 PRCMU variant

Message ID 1331837440-17798-1-git-send-email-linus.walleij@stericsson.com
State Accepted
Commit 5f96a1a6d5d82f79015e5e480e4ac8772607f69b
Headers show

Commit Message

Linus Walleij March 15, 2012, 6:50 p.m. UTC
From: Bengt Jonsson <bengt.g.jonsson@stericsson.com>

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>
---
 drivers/mfd/db8500-prcmu.c       |    2 ++
 include/linux/mfd/db8500-prcmu.h |    1 +
 2 files changed, 3 insertions(+)
diff mbox

Patch

diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index c1addd7..b088156 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -2498,6 +2498,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 a0ac1d2..aed4e5e 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;