aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>2015-08-25 05:04:28 -0400
committerLee Jones <lee.jones@linaro.org>2015-10-26 10:48:56 -0400
commit62a2e633474107a9ae93dfedf16341ec6414a907 (patch)
tree6e1d52f1096ce6b427c8eea99b6e34998f88fae1
parent385c0012dfa0b1cdcb16907d847eb2a720f17a9a (diff)
mfd: 88pm80x: Add 88pm860 chip type support
Add chip identification support for 88PM860 device to the pm80x_chip_mapping table. Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/88pm80x.c2
-rw-r--r--include/linux/mfd/88pm80x.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/88pm80x.c b/drivers/mfd/88pm80x.c
index 5e72f65ef94c..63445ea6b0bf 100644
--- a/drivers/mfd/88pm80x.c
+++ b/drivers/mfd/88pm80x.c
@@ -33,6 +33,8 @@ static struct pm80x_chip_mapping chip_mapping[] = {
33 {0x3, CHIP_PM800}, 33 {0x3, CHIP_PM800},
34 /* 88PM805 chip id number */ 34 /* 88PM805 chip id number */
35 {0x0, CHIP_PM805}, 35 {0x0, CHIP_PM805},
36 /* 88PM860 chip id number */
37 {0x4, CHIP_PM860},
36}; 38};
37 39
38/* 40/*
diff --git a/include/linux/mfd/88pm80x.h b/include/linux/mfd/88pm80x.h
index 8fcad63fab55..d409ceb2231e 100644
--- a/include/linux/mfd/88pm80x.h
+++ b/include/linux/mfd/88pm80x.h
@@ -21,6 +21,7 @@ enum {
21 CHIP_INVALID = 0, 21 CHIP_INVALID = 0,
22 CHIP_PM800, 22 CHIP_PM800,
23 CHIP_PM805, 23 CHIP_PM805,
24 CHIP_PM860,
24 CHIP_MAX, 25 CHIP_MAX,
25}; 26};
26 27