summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/msm/qpnp-revid.c3
-rw-r--r--include/linux/qpnp/qpnp-revid.h5
2 files changed, 6 insertions, 2 deletions
diff --git a/drivers/platform/msm/qpnp-revid.c b/drivers/platform/msm/qpnp-revid.c
index 4333df7a0d77..8c060974436f 100644
--- a/drivers/platform/msm/qpnp-revid.c
+++ b/drivers/platform/msm/qpnp-revid.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -53,6 +53,7 @@ static const char *const pmic_names[] = {
[PMI8996_SUBTYPE] = "PMI8996",
[PM8998_SUBTYPE] = "PM8998",
[PMI8998_SUBTYPE] = "PMI8998",
+ [PM8005_SUBTYPE] = "PM8005",
[PM8937_SUBTYPE] = "PM8937",
[PMI8937_SUBTYPE] = "PMI8937",
};
diff --git a/include/linux/qpnp/qpnp-revid.h b/include/linux/qpnp/qpnp-revid.h
index 4998d93eb094..9e50fe48612f 100644
--- a/include/linux/qpnp/qpnp-revid.h
+++ b/include/linux/qpnp/qpnp-revid.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -177,6 +177,9 @@
/* PMI8998 */
#define PMI8998_SUBTYPE 0x15
+/* PM8005 */
+#define PM8005_SUBTYPE 0x18
+
/* PM8937 */
#define PM8937_SUBTYPE 0x19