Commit 5809ac3a authored by Steve Twiss's avatar Steve Twiss Committed by Kleber Sacilotto de Souza

mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L

BugLink: https://bugs.launchpad.net/bugs/1832661

commit 6b4814a9 upstream.

Mismatch between what is found in the Datasheets for DA9063 and DA9063L
provided by Dialog Semiconductor, and the register names provided in the
MFD registers file. The changes are for the OTP (one-time-programming)
control registers. The two naming errors are OPT instead of OTP, and
COUNT instead of CONT (i.e. control).

Cc: Stable <stable@vger.kernel.org>
Signed-off-by: default avatarSteve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 924c998e
...@@ -215,9 +215,9 @@ ...@@ -215,9 +215,9 @@
/* DA9063 Configuration registers */ /* DA9063 Configuration registers */
/* OTP */ /* OTP */
#define DA9063_REG_OPT_COUNT 0x101 #define DA9063_REG_OTP_CONT 0x101
#define DA9063_REG_OPT_ADDR 0x102 #define DA9063_REG_OTP_ADDR 0x102
#define DA9063_REG_OPT_DATA 0x103 #define DA9063_REG_OTP_DATA 0x103
/* Customer Trim and Configuration */ /* Customer Trim and Configuration */
#define DA9063_REG_T_OFFSET 0x104 #define DA9063_REG_T_OFFSET 0x104
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment