1 From a38734076be8b4fbb1a9db757e1a69dddef61f63 Mon Sep 17 00:00:00 2001
2 From: Axel Lin <axel.lin@ingics.com>
3 Date: Mon, 9 Dec 2013 15:24:19 +0800
4 Subject: [PATCH 02/10] regulator: pfuze100: Fix address of FABID
5 Organization: O.S. Systems Software LTDA.
7 According to the datasheet, the address of FABID is 0x4. Fix it.
9 Signed-off-by: Axel Lin <axel.lin@ingics.com>
10 Acked-by: Robin Gong <b38343@freescale.com>
11 Signed-off-by: Mark Brown <broonie@linaro.org>
12 Cc: stable@vger.kernel.org
13 (cherry picked from commit c07a24939f36fb6de522a9726369ea64eee5d98d)
14 (cherry picked from commit cfec286ff9f375c2c289072d63cedbb0c7917a48)
16 Upstream-Status: Pending
18 drivers/regulator/pfuze100-regulator.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
22 index ba67b2c..565a631 100644
23 --- a/drivers/regulator/pfuze100-regulator.c
24 +++ b/drivers/regulator/pfuze100-regulator.c
27 #define PFUZE100_DEVICEID 0x0
28 #define PFUZE100_REVID 0x3
29 -#define PFUZE100_FABID 0x3
30 +#define PFUZE100_FABID 0x4
32 #define PFUZE100_SW1ABVOL 0x20
33 #define PFUZE100_SW1CVOL 0x2e