]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mfd: 88pm80x: Add 88pm860 chip type support
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Tue, 25 Aug 2015 09:04:28 +0000 (14:34 +0530)
committerLee Jones <lee.jones@linaro.org>
Mon, 26 Oct 2015 14:48:56 +0000 (14:48 +0000)
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>
drivers/mfd/88pm80x.c
include/linux/mfd/88pm80x.h

index 5e72f65ef94c3f48c4643dfa9f366dd8782ac956..63445ea6b0bfe2481c681e657d1b16d0abd7fea3 100644 (file)
@@ -33,6 +33,8 @@ static struct pm80x_chip_mapping chip_mapping[] = {
        {0x3,   CHIP_PM800},
        /* 88PM805 chip id number */
        {0x0,   CHIP_PM805},
+       /* 88PM860 chip id number */
+       {0x4,   CHIP_PM860},
 };
 
 /*
index 8fcad63fab5508a56b0a32e55acba6da68c52155..d409ceb2231ec1908842416a9de1ddb62bef2709 100644 (file)
@@ -21,6 +21,7 @@ enum {
        CHIP_INVALID = 0,
        CHIP_PM800,
        CHIP_PM805,
+       CHIP_PM860,
        CHIP_MAX,
 };