* [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL
@ 2023-10-09 7:57 Peng Fan (OSS)
2023-10-09 7:57 ` [PATCH v2 1/3] nvmem: imx: correct nregs for i.MX6SLL Peng Fan (OSS)
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Peng Fan (OSS) @ 2023-10-09 7:57 UTC (permalink / raw)
To: Srinivas Kandagatla, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Stefan Wahren
Cc: Greg Kroah-Hartman, linux-arm-kernel, linux-kernel, Peng Fan, Stable
The current code does not include the register space hole, after check
the fuse map of the three SoCs, update the nregs to fix the issue.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Changes in v2:
- Cc stable kernel list in patch
- Link to v1: https://lore.kernel.org/r/20231008-nvmem-imx-v1-0-cabeb18ab676@nxp.com
---
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(-)
---
base-commit: 0f0fe5040de5e5fd9b040672e37725b046e312f0
change-id: 20231008-nvmem-imx-1af696badaf5
Best regards,
--
Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/3] nvmem: imx: correct nregs for i.MX6SLL
2023-10-09 7:57 [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL Peng Fan (OSS)
@ 2023-10-09 7:57 ` Peng Fan (OSS)
2023-10-09 7:57 ` [PATCH v2 2/3] nvmem: imx: correct nregs for i.MX6UL Peng Fan (OSS)
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Peng Fan (OSS) @ 2023-10-09 7:57 UTC (permalink / raw)
To: Srinivas Kandagatla, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Stefan Wahren
Cc: Greg Kroah-Hartman, linux-arm-kernel, linux-kernel, Peng Fan, Stable
From: Peng Fan <peng.fan@nxp.com>
The nregs for i.MX6SLL should be 80 per fuse map, correct it.
Fixes: 6da27821a6f5 ("nvmem: imx-ocotp: add support for imx6sll")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
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 434f197e27bf..c59cfe13a5f8 100644
--- a/drivers/nvmem/imx-ocotp.c
+++ b/drivers/nvmem/imx-ocotp.c
@@ -498,7 +498,7 @@ static const struct ocotp_params imx6sl_params = {
};
static const struct ocotp_params imx6sll_params = {
- .nregs = 128,
+ .nregs = 80,
.bank_address_words = 0,
.set_timing = imx_ocotp_set_imx6_timing,
.ctrl = IMX_OCOTP_BM_CTRL_DEFAULT,
--
2.37.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/3] nvmem: imx: correct nregs for i.MX6UL
2023-10-09 7:57 [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL Peng Fan (OSS)
2023-10-09 7:57 ` [PATCH v2 1/3] nvmem: imx: correct nregs for i.MX6SLL Peng Fan (OSS)
@ 2023-10-09 7:57 ` Peng Fan (OSS)
2023-10-09 7:57 ` [PATCH v2 3/3] nvmem: imx: correct nregs for i.MX6ULL Peng Fan (OSS)
2023-10-13 12:47 ` [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL Srinivas Kandagatla
3 siblings, 0 replies; 5+ messages in thread
From: Peng Fan (OSS) @ 2023-10-09 7:57 UTC (permalink / raw)
To: Srinivas Kandagatla, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Stefan Wahren
Cc: Greg Kroah-Hartman, linux-arm-kernel, linux-kernel, Peng Fan, Stable
From: Peng Fan <peng.fan@nxp.com>
The nregs for i.MX6UL should be 144 per fuse map, correct it.
Fixes: 4aa2b4802046 ("nvmem: octop: Add support for imx6ul")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
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 c59cfe13a5f8..8d30c8bfdbcf 100644
--- a/drivers/nvmem/imx-ocotp.c
+++ b/drivers/nvmem/imx-ocotp.c
@@ -512,7 +512,7 @@ static const struct ocotp_params imx6sx_params = {
};
static const struct ocotp_params imx6ul_params = {
- .nregs = 128,
+ .nregs = 144,
.bank_address_words = 0,
.set_timing = imx_ocotp_set_imx6_timing,
.ctrl = IMX_OCOTP_BM_CTRL_DEFAULT,
--
2.37.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 3/3] nvmem: imx: correct nregs for i.MX6ULL
2023-10-09 7:57 [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL Peng Fan (OSS)
2023-10-09 7:57 ` [PATCH v2 1/3] nvmem: imx: correct nregs for i.MX6SLL Peng Fan (OSS)
2023-10-09 7:57 ` [PATCH v2 2/3] nvmem: imx: correct nregs for i.MX6UL Peng Fan (OSS)
@ 2023-10-09 7:57 ` Peng Fan (OSS)
2023-10-13 12:47 ` [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL Srinivas Kandagatla
3 siblings, 0 replies; 5+ messages in thread
From: Peng Fan (OSS) @ 2023-10-09 7:57 UTC (permalink / raw)
To: Srinivas Kandagatla, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Stefan Wahren
Cc: Greg Kroah-Hartman, linux-arm-kernel, linux-kernel, Peng Fan, Stable
From: Peng Fan <peng.fan@nxp.com>
The nregs for i.MX6ULL should be 80 per fuse map, correct it.
Fixes: ffbc34bf0e9c ("nvmem: imx-ocotp: Implement i.MX6ULL/ULZ support")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
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 8d30c8bfdbcf..f1e202efaa49 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.37.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL
2023-10-09 7:57 [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL Peng Fan (OSS)
` (2 preceding siblings ...)
2023-10-09 7:57 ` [PATCH v2 3/3] nvmem: imx: correct nregs for i.MX6ULL Peng Fan (OSS)
@ 2023-10-13 12:47 ` Srinivas Kandagatla
3 siblings, 0 replies; 5+ messages in thread
From: Srinivas Kandagatla @ 2023-10-13 12:47 UTC (permalink / raw)
To: Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Stefan Wahren, Peng Fan (OSS)
Cc: Greg Kroah-Hartman, linux-arm-kernel, linux-kernel, Peng Fan, Stable
On Mon, 09 Oct 2023 15:57:26 +0800, Peng Fan (OSS) wrote:
> The current code does not include the register space hole, after check
> the fuse map of the three SoCs, update the nregs to fix the issue.
>
>
Applied, thanks!
[1/3] nvmem: imx: correct nregs for i.MX6SLL
commit: e898831a66834fb7c9ec5816c9683e746656c25c
[2/3] nvmem: imx: correct nregs for i.MX6UL
commit: f46cfdaf5c0723abcec6da48408fc52d710b424d
[3/3] nvmem: imx: correct nregs for i.MX6ULL
commit: d0b450caca6f07826dfac1f60faabadf0a226b05
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-10-13 12:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-09 7:57 [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL Peng Fan (OSS)
2023-10-09 7:57 ` [PATCH v2 1/3] nvmem: imx: correct nregs for i.MX6SLL Peng Fan (OSS)
2023-10-09 7:57 ` [PATCH v2 2/3] nvmem: imx: correct nregs for i.MX6UL Peng Fan (OSS)
2023-10-09 7:57 ` [PATCH v2 3/3] nvmem: imx: correct nregs for i.MX6ULL Peng Fan (OSS)
2023-10-13 12:47 ` [PATCH v2 0/3] nvmem: imx: correct nregs for i.MX6UL/ULL/SLL Srinivas Kandagatla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®