* [PATCH] nvmem: ocotp: Support for i.MX6ULL/ULZ
@ 2020-01-17 12:12 Christian Eggers
2020-01-20 8:04 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Christian Eggers @ 2020-01-17 12:12 UTC (permalink / raw)
To: barebox; +Cc: Christian Eggers, ceggers
[-- Attachment #1: Type: text/plain, Size: 2410 bytes --]
i.MX6ULL and i.MX6ULZ have only half of the fuses as i.MX6UL
Linux commit: ffbc34bf0e ("nvmem: imx-ocotp: Implement i.MX6ULL/ULZ
support")
Fixes: 1dc748b3b2 ("dts: update to v5.1-rc1")
Signed-off-by: Christian Eggers <ceggers@arri.de>
---
drivers/nvmem/ocotp.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/nvmem/ocotp.c b/drivers/nvmem/ocotp.c
index 79693e22e..34e33dee8 100644
--- a/drivers/nvmem/ocotp.c
+++ b/drivers/nvmem/ocotp.c
@@ -712,6 +712,14 @@ static struct imx_ocotp_data imx6ul_ocotp_data = {
.format_mac = imx_ocotp_format_mac,
};
+static struct imx_ocotp_data imx6ull_ocotp_data = {
+ .num_regs = 256,
+ .addr_to_offset = imx6q_addr_to_offset,
+ .mac_offsets_num = 2,
+ .mac_offsets = { MAC_OFFSET_0, IMX6UL_MAC_OFFSET_1 },
+ .format_mac = imx_ocotp_format_mac,
+};
+
static struct imx_ocotp_data vf610_ocotp_data = {
.num_regs = 512,
.addr_to_offset = vf610_addr_to_offset,
@@ -741,6 +749,9 @@ static __maybe_unused struct of_device_id imx_ocotp_dt_ids[] = {
}, {
.compatible = "fsl,imx6ul-ocotp",
.data = &imx6ul_ocotp_data,
+ }, {
+ .compatible = "fsl,imx6ull-ocotp",
+ .data = &imx6ull_ocotp_data,
}, {
.compatible = "fsl,imx8mq-ocotp",
.data = &imx8mq_ocotp_data,
--
2.16.4
________________________________
[http://assets.arri.com/media/sign/2019-12-13a-ARRI-E-mail-Signatur-Parkstadt.jpg] <https://www.google.com/maps/place/Herbert-Bayer-Stra%C3%9Fe+10,+80807+M%C3%BCnchen/data=!4m2!3m1!1s0x479e74379489f045:0x4bbf0c7a9e893d66?sa=X&ved=2ahUKEwjjvdSlh8TmAhWIp4sKHe3vDlQQ8gEwAHoECAsQAQ>
Get all the latest information from www.arri.com<https://www.arri.com/>, Facebook<https://www.facebook.com/TeamARRI>, Twitter<https://twitter.com/ARRIChannel>, Instagram<https://instagram.com/arri> and YouTube<https://www.youtube.com/user/ARRIChannel>.
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRA 57918
Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 54477
Geschäftsführer: Dr. Michael Neuhäuser; Stephan Schenk; Walter Trauninger; Markus Zeiler
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] nvmem: ocotp: Support for i.MX6ULL/ULZ
2020-01-17 12:12 [PATCH] nvmem: ocotp: Support for i.MX6ULL/ULZ Christian Eggers
@ 2020-01-20 8:04 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2020-01-20 8:04 UTC (permalink / raw)
To: Christian Eggers; +Cc: barebox, ceggers
Hi Christian,
On Fri, Jan 17, 2020 at 01:12:49PM +0100, Christian Eggers wrote:
> i.MX6ULL and i.MX6ULZ have only half of the fuses as i.MX6UL
>
> Linux commit: ffbc34bf0e ("nvmem: imx-ocotp: Implement i.MX6ULL/ULZ
> support")
>
> Fixes: 1dc748b3b2 ("dts: update to v5.1-rc1")
> Signed-off-by: Christian Eggers <ceggers@arri.de>
> ---
Your mailer replaces tabs with spaces and does a few other funny things.
I applied manually this time, but please see if you can improve this
next time. git-send-email normally does what you want.
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-20 8:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17 12:12 [PATCH] nvmem: ocotp: Support for i.MX6ULL/ULZ Christian Eggers
2020-01-20 8:04 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox