mfd: da9061: Fix to remove BBAT_CONT register from chip model
authorSteve Twiss <stwiss.opensource@diasemi.com>
Mon, 5 Jun 2017 14:35:10 +0000 (15:35 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:13 +0000 (08:29 +0100)
Remove the register DA9062AA_BBAT_CONT (0x0C5) from the DA9061 chip model
regmap access ranges. This applies to both da9061_aa_readable_ranges[]
and da9061_aa_writeable_ranges[].

This change is to correct the DA9061 chip model and align it with the
latest DA9061 Datasheet.

This register previously appeared in the DA9061 Datasheet, Revision 3.2,
01-Mar-2016 and has been removed from later DA9061 datasheet from Dialog,
Revision 3.3, 04-Apr-2017.

Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9062-core.c

index 7f5e8be0a9ea42f9b7079cae2a5322ef2ed816cf..fe1811523e4a7aac70e0498e7cd70fac55e2046b 100644 (file)
@@ -428,9 +428,6 @@ static const struct regmap_range da9061_aa_readable_ranges[] = {
        }, {
                .range_min = DA9062AA_VLDO1_B,
                .range_max = DA9062AA_VLDO4_B,
-       }, {
-               .range_min = DA9062AA_BBAT_CONT,
-               .range_max = DA9062AA_BBAT_CONT,
        }, {
                .range_min = DA9062AA_INTERFACE,
                .range_max = DA9062AA_CONFIG_E,
@@ -513,9 +510,6 @@ static const struct regmap_range da9061_aa_writeable_ranges[] = {
        }, {
                .range_min = DA9062AA_VLDO1_B,
                .range_max = DA9062AA_VLDO4_B,
-       }, {
-               .range_min = DA9062AA_BBAT_CONT,
-               .range_max = DA9062AA_BBAT_CONT,
        }, {
                .range_min = DA9062AA_GP_ID_0,
                .range_max = DA9062AA_GP_ID_19,