linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
@ 2019-04-26 13:33 Steve Twiss
  2019-05-08 10:32 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Twiss @ 2019-04-26 13:33 UTC (permalink / raw)
  To: Lee Jones; +Cc: Support Opensource, LKML

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>
---
 include/linux/mfd/da9063/registers.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/mfd/da9063/registers.h b/include/linux/mfd/da9063/registers.h
index 5d42859..844fc29 100644
--- a/include/linux/mfd/da9063/registers.h
+++ b/include/linux/mfd/da9063/registers.h
@@ -215,9 +215,9 @@
 
 /* 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
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
  2019-04-26 13:33 [PATCH] mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L Steve Twiss
@ 2019-05-08 10:32 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2019-05-08 10:32 UTC (permalink / raw)
  To: Steve Twiss; +Cc: Support Opensource, LKML

On Fri, 26 Apr 2019, Steve Twiss wrote:

> 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>
> ---
>  include/linux/mfd/da9063/registers.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-08 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-26 13:33 [PATCH] mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L Steve Twiss
2019-05-08 10:32 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).