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

From: Linus Walleij
Date: Thu Mar 15 2012 - 14:51:20 EST


From: Bengt Jonsson <bengt.g.jonsson@xxxxxxxxxxxxxx>

Signed-off-by: Bengt Jonsson <bengt.g.jonsson@xxxxxxxxxxxxxx>
Reviewed-by: Mattias Nilssson <mattias.i.nilsson@xxxxxxxxxxxxxx>
Reviewed-by: Jonas Aberg <jonas.aberg@xxxxxxxxxxxxxx>
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
drivers/mfd/db8500-prcmu.c | 2 ++
include/linux/mfd/db8500-prcmu.h | 1 +
2 files changed, 3 insertions(+)

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;
--
1.7.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/