Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

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>

authored by

Steve Twiss and committed by
Lee Jones
6b4814a9 9e364e87

+3 -3
+3 -3
include/linux/mfd/da9063/registers.h
··· 210 210 211 211 /* DA9063 Configuration registers */ 212 212 /* OTP */ 213 - #define DA9063_REG_OPT_COUNT 0x101 214 - #define DA9063_REG_OPT_ADDR 0x102 215 - #define DA9063_REG_OPT_DATA 0x103 213 + #define DA9063_REG_OTP_CONT 0x101 214 + #define DA9063_REG_OTP_ADDR 0x102 215 + #define DA9063_REG_OTP_DATA 0x103 216 216 217 217 /* Customer Trim and Configuration */ 218 218 #define DA9063_REG_T_OFFSET 0x104