diff options
author | Sean Nyekjaer <sean@geanix.com> | 2023-06-02 09:24:25 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-06-15 11:19:39 +0300 |
commit | 48b4371b98676e8db3f72e4355af7707103d9c07 (patch) | |
tree | d9dc61eb0321664e90f60612568298e58002b31b /drivers/mfd | |
parent | 2ce68cf10081f906f29a1ad9027c2bcfc2f8465d (diff) | |
download | linux-48b4371b98676e8db3f72e4355af7707103d9c07.tar.xz |
mfd: stpmic1: Fixup main control register and bits naming
Fixup main control register and bits naming so the match the naming from
the datasheet.
https://www.st.com/resource/en/datasheet/stpmic1.pdf
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230602062426.3947116-1-sean@geanix.com
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/stpmic1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/stpmic1.c b/drivers/mfd/stpmic1.c index d0ff46961910..a79dfb9923d7 100644 --- a/drivers/mfd/stpmic1.c +++ b/drivers/mfd/stpmic1.c @@ -19,7 +19,7 @@ static const struct regmap_range stpmic1_readable_ranges[] = { regmap_reg_range(TURN_ON_SR, VERSION_SR), - regmap_reg_range(SWOFF_PWRCTRL_CR, LDO6_STDBY_CR), + regmap_reg_range(MAIN_CR, LDO6_STDBY_CR), regmap_reg_range(BST_SW_CR, BST_SW_CR), regmap_reg_range(INT_PENDING_R1, INT_PENDING_R4), regmap_reg_range(INT_CLEAR_R1, INT_CLEAR_R4), @@ -30,7 +30,7 @@ static const struct regmap_range stpmic1_readable_ranges[] = { }; static const struct regmap_range stpmic1_writeable_ranges[] = { - regmap_reg_range(SWOFF_PWRCTRL_CR, LDO6_STDBY_CR), + regmap_reg_range(MAIN_CR, LDO6_STDBY_CR), regmap_reg_range(BST_SW_CR, BST_SW_CR), regmap_reg_range(INT_CLEAR_R1, INT_CLEAR_R4), regmap_reg_range(INT_SET_MASK_R1, INT_SET_MASK_R4), |