2023-10-13 12:49:24

by Srinivas Kandagatla

[permalink] [raw]
Subject: [PATCH 0/3] nvmem: fixes for v6.6

From: Srinivas Kandagatla <[email protected]>

Hi Greg,

Here are some fixes in nvmem mostly around imx register count.

Can you please apply them for v6.6

thanks,
Srini



Peng Fan (3):
nvmem: imx: correct nregs for i.MX6SLL
nvmem: imx: correct nregs for i.MX6UL
nvmem: imx: correct nregs for i.MX6ULL

drivers/nvmem/imx-ocotp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--
2.25.1


2023-10-13 12:49:30

by Srinivas Kandagatla

[permalink] [raw]
Subject: [PATCH 3/3] nvmem: imx: correct nregs for i.MX6ULL

From: Peng Fan <[email protected]>

The nregs for i.MX6ULL should be 80 per fuse map, correct it.

Fixes: ffbc34bf0e9c ("nvmem: imx-ocotp: Implement i.MX6ULL/ULZ support")
Cc: <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
---
drivers/nvmem/imx-ocotp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c
index 921afe114a2c..e8b6f194925d 100644
--- a/drivers/nvmem/imx-ocotp.c
+++ b/drivers/nvmem/imx-ocotp.c
@@ -519,7 +519,7 @@ static const struct ocotp_params imx6ul_params = {
};

static const struct ocotp_params imx6ull_params = {
- .nregs = 64,
+ .nregs = 80,
.bank_address_words = 0,
.set_timing = imx_ocotp_set_imx6_timing,
.ctrl = IMX_OCOTP_BM_CTRL_DEFAULT,
--
2.25.1