[PATCH 3/3] mfd: db8500-prcmu: Add 8420 variant

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


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

Signed-off-by: Bengt Jonsson <bengt.g.jonsson@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 b088156..eec8f91 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -2500,6 +2500,8 @@ static char *fw_project_name(u8 project)
return "U9500 C2";
case PRCMU_FW_PROJECT_U8520:
return "U8520";
+ case PRCMU_FW_PROJECT_U8420:
+ return "U8420";
default:
return "Unknown";
}
diff --git a/include/linux/mfd/db8500-prcmu.h b/include/linux/mfd/db8500-prcmu.h
index aed4e5e..dc4bf4c 100644
--- a/include/linux/mfd/db8500-prcmu.h
+++ b/include/linux/mfd/db8500-prcmu.h
@@ -498,6 +498,7 @@ struct prcmu_auto_pm_config {
#define PRCMU_FW_PROJECT_U8500_C2 7
#define PRCMU_FW_PROJECT_U9500_C2 11
#define PRCMU_FW_PROJECT_U8520 13
+#define PRCMU_FW_PROJECT_U8420 14

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/