Skip to contentSkip to conversation

arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard configuration EEPROM layout DTOs

PATCH Superseded Marek Vasut 3 participants 4 messages Aug 25

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard configuration EEPROM layout DTOs

Add DT overlays which describe configuration EEPROM VHIP section, for VHIP section v1.0.0.0, v1.1.0.0, v2.0.0.0, used on ifm VHIP4 EvalBoard .

With the DTO applied, the VHIP section fields become accessible via sysfs nvmem interface. The entire EEPROM is accessible via the nvmem interface as well.

---
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
NOTE: Depends on https://lore.kernel.org/all/[email protected]/

---
 arch/arm64/boot/dts/freescale/Makefile        |  17 ++-
 .../imx8mn-vhip4-overlay-eeprom-1000.dtso     | 103 +++++++++++++++++
 .../imx8mn-vhip4-overlay-eeprom-1100.dtso     | 103 +++++++++++++++++
 .../imx8mn-vhip4-overlay-eeprom-2000.dtso     | 107 ++++++++++++++++++
 4 files changed, 329 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso
arch/arm64/boot/dts/freescale/Makefile +16 -1
index 95ae85ab4adf5..1215d8f6aa813 100644
@@ -245,15 +245,25 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mn-var-som-symphony.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-var-som-symphony-legacy.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-venice-gw7902.dtb
 
+imx8mn-vhip4-evalboard-v1-overlay-eeprom-1000-dtbs := imx8mn-vhip4-evalboard-v1.dtb \
+						      imx8mn-vhip4-overlay-eeprom-1000.dtbo
+imx8mn-vhip4-evalboard-v1-overlay-eeprom-1100-dtbs := imx8mn-vhip4-evalboard-v1.dtb \
+						      imx8mn-vhip4-overlay-eeprom-1100.dtbo
 imx8mn-vhip4-evalboard-v1-overlay-ksz8794-dtbs := imx8mn-vhip4-evalboard-v1.dtb \
 						  imx8mn-vhip4-evalboard-v1-overlay-ksz8794.dtbo
 imx8mn-vhip4-evalboard-v1-overlay-ksz9031-dtbs := imx8mn-vhip4-evalboard-v1.dtb \
 						  imx8mn-vhip4-evalboard-v1-overlay-ksz9031.dtbo
 imx8mn-vhip4-evalboard-v2-overlay-adin1300-dtbs := imx8mn-vhip4-evalboard-v2.dtb \
 						   imx8mn-vhip4-evalboard-v2-overlay-adin1300.dtbo
+imx8mn-vhip4-evalboard-v2-overlay-eeprom-1100-dtbs := imx8mn-vhip4-evalboard-v2.dtb \
+						      imx8mn-vhip4-overlay-eeprom-1100.dtbo
+imx8mn-vhip4-evalboard-v2-overlay-eeprom-2000-dtbs := imx8mn-vhip4-evalboard-v2.dtb \
+						      imx8mn-vhip4-overlay-eeprom-2000.dtbo
 imx8mn-vhip4-evalboard-v2-overlay-ksz8794-dtbs := imx8mn-vhip4-evalboard-v2.dtb \
 						  imx8mn-vhip4-evalboard-v2-overlay-ksz8794.dtbo
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-vhip4-evalboard-v1.dtb \
+			  imx8mn-vhip4-evalboard-v1-overlay-eeprom-1000.dtb \
+			  imx8mn-vhip4-evalboard-v1-overlay-eeprom-1100.dtb \
 			  imx8mn-vhip4-evalboard-v1-overlay-ksz8794.dtb \
 			  imx8mn-vhip4-evalboard-v1-overlay-ksz8794.dtbo \
 			  imx8mn-vhip4-evalboard-v1-overlay-ksz9031.dtb \
@@ -261,8 +271,13 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mn-vhip4-evalboard-v1.dtb \
 			  imx8mn-vhip4-evalboard-v2.dtb \
 			  imx8mn-vhip4-evalboard-v2-overlay-adin1300.dtb \
 			  imx8mn-vhip4-evalboard-v2-overlay-adin1300.dtbo \
+			  imx8mn-vhip4-evalboard-v2-overlay-eeprom-1100.dtb \
+			  imx8mn-vhip4-evalboard-v2-overlay-eeprom-2000.dtb \
 			  imx8mn-vhip4-evalboard-v2-overlay-ksz8794.dtb \
-			  imx8mn-vhip4-evalboard-v2-overlay-ksz8794.dtbo
+			  imx8mn-vhip4-evalboard-v2-overlay-ksz8794.dtbo \
+			  imx8mn-vhip4-overlay-eeprom-1000.dtbo \
+			  imx8mn-vhip4-overlay-eeprom-1100.dtbo \
+			  imx8mn-vhip4-overlay-eeprom-2000.dtbo
 
 imx8mn-tqma8mqnl-mba8mx-lvds-g133han01-dtbs += imx8mn-tqma8mqnl-mba8mx.dtb imx8mm-tqma8mqml-mba8mx-lvds-g133han01.dtbo
 imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33-dtbs += imx8mn-tqma8mqnl-mba8mx.dtb imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtbo
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso new file +103 -0

103 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso new file +103 -0

103 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso new file +107 -0

107 lines not on this page · raw message

Signature · 1 line
2.53.0
#1 lore raw
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] The device tree node for the software compatibility field is misspelled as…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The device tree node for the software compatibility field is misspelled as 'software-comatibility' (missing 'p'). As these fields are exposed via the sysfs nvmem interface, this typo will become a permanent userspace ABI. --

--- Patch [1]: [PATCH] arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard configuration EEPROM layout DTOs --- commit a29716c722da3485b2bb345e32239ee52540c286
Author: Marek Vasut <[email protected]>

arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard configuration EEPROM layout DTOs

Add DT overlays which describe configuration EEPROM VHIP section, for VHIP section v1.0.0.0, v1.1.0.0, v2.0.0.0, used on ifm VHIP4 EvalBoard. With the DTO applied, the VHIP section fields become accessible via the sysfs nvmem interface.

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso new file +0 -0
new file mode 100644
index 0000000000000..41641c54164f1

[ ... ]

arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso line 50

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso new file +5 -0
+		product-type@64 {
+			reg = <0x64 0x20>;
+		};
+
+		software-comatibility@84 {

[Severity: Medium]
Is there a typo in this node name? It appears to be missing a 'p' and should perhaps be software-compatibility@84.

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso new file +4 -0
+			reg = <0x84 0x4>;
+		};
+
+		manufacturing-date@88 {

[ ... ]

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso new file +0 -0
new file mode 100644
index 0000000000000..5f89b1af6874d

[ ... ]

arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso line 50

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso new file +5 -0
+		product-type@84 {
+			reg = <0x84 0x20>;
+		};
+
+		software-comatibility@a4 {

[Severity: Medium]
Does this node name also contain the same missing 'p' typo?

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso new file +4 -0
+			reg = <0xa4 0x4>;
+		};
+
+		manufacturing-date@a8 {

[ ... ]

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso new file +0 -0
new file mode 100644
index 0000000000000..01599bf46ac18

[ ... ]

arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso line 62

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso new file +5 -0
+		product-type@90 {
+			reg = <0x90 0x20>;
+		};
+
+		software-comatibility@b0 {

[Severity: Medium]
Could this node name be corrected to software-compatibility as well?

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso new file +4 -0
+			reg = <0xb0 0x4>;
+		};
+
+		manufacturing-date@b4 {
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#2 lore raw
Quoted 23 lines · On Tue, Aug 25, 2026 at 02:02:50PM +0000, [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The device tree node for the software compatibility field is misspelled as 'software-comatibility' (missing 'p'). As these fields are exposed via the sysfs nvmem interface, this typo will become a permanent userspace ABI. --

--- Patch [1]: [PATCH] arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard configuration EEPROM layout DTOs --- commit a29716c722da3485b2bb345e32239ee52540c286
Author: Marek Vasut <[email protected]>

arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard configuration EEPROM layout DTOs

Add DT overlays which describe configuration EEPROM VHIP section, for VHIP section v1.0.0.0, v1.1.0.0, v2.0.0.0, used on ifm VHIP4 EvalBoard. With the DTO applied, the VHIP section fields become accessible via the sysfs nvmem interface.

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso new file +0 -0
new file mode 100644
index 0000000000000..41641c54164f1

[ ... ]

Quoted 9 lines

arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso line 50

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso new file +5 -0
+		product-type@64 {
+			reg = <0x64 0x20>;
+		};
+
+		software-comatibility@84 {

[Severity: Medium]
Is there a typo in this node name? It appears to be missing a 'p' and should perhaps be software-compatibility@84.

Please fix it

Frank

Quoted 56 lines
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1000.dtso new file +4 -0
+			reg = <0x84 0x4>;
+		};
+
+		manufacturing-date@88 {

[ ... ]

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso new file +0 -0
new file mode 100644
index 0000000000000..5f89b1af6874d

[ ... ]

arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso line 50

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso new file +5 -0
+		product-type@84 {
+			reg = <0x84 0x20>;
+		};
+
+		software-comatibility@a4 {

[Severity: Medium]
Does this node name also contain the same missing 'p' typo?

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-1100.dtso new file +4 -0
+			reg = <0xa4 0x4>;
+		};
+
+		manufacturing-date@a8 {

[ ... ]

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso new file +0 -0
new file mode 100644
index 0000000000000..01599bf46ac18

[ ... ]

arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso line 62

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso new file +5 -0
+		product-type@90 {
+			reg = <0x90 0x20>;
+		};
+
+		software-comatibility@b0 {

[Severity: Medium]
Could this node name be corrected to software-compatibility as well?

arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso line 66

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mn-vhip4-overlay-eeprom-2000.dtso new file +4 -0
+			reg = <0xb0 0x4>;
+		};
+
+		manufacturing-date@b4 {

--
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1

#3 lore raw

On 8/25/26 4:17 PM, Frank Li wrote:

Hello Frank,

Quoted 4 lines
Quoted 2 lines

Is there a typo in this node name? It appears to be missing a 'p' and should perhaps be software-compatibility@84.

Please fix it

Fixed in V2, thanks.