]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
authorSteve Twiss <stwiss.opensource@diasemi.com>
Fri, 26 Apr 2019 13:33:35 +0000 (14:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 10:23:37 +0000 (12:23 +0200)
commit 6b4814a9451add06d457e198be418bf6a3e6a990 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: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/mfd/da9063/registers.h

index 2e0ba6d5fbc3c4496f70b2204fc13fd895e98580..f97173bef5819989c3a69020713aaf5938b12df0 100644 (file)
 
 /* DA9063 Configuration registers */
 /* OTP */
-#define        DA9063_REG_OPT_COUNT            0x101
-#define        DA9063_REG_OPT_ADDR             0x102
-#define        DA9063_REG_OPT_DATA             0x103
+#define        DA9063_REG_OTP_CONT             0x101
+#define        DA9063_REG_OTP_ADDR             0x102
+#define        DA9063_REG_OTP_DATA             0x103
 
 /* Customer Trim and Configuration */
 #define        DA9063_REG_T_OFFSET             0x104