Skip to contentSkip to conversation

arm64: dts: imx8mm: Add SNVS LPGPR on MX8Menlo board

PATCH In review Marek Vasut 2 participants 3 messages May 21, 2022 – Jun 12, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mm: Add SNVS LPGPR on MX8Menlo board

Add SNVS LPGPR bindings on this system, the LPGPR is used to store boot counter.

Cc Fabio Estevam <[email protected]>
Cc Marcel Ziswiler <[email protected]>
Cc Peng Fan <[email protected]>
Cc Rob Herring <[email protected]>
Cc Shawn Guo <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]
---
NOTE: Depends on

      https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/commit/?h=for-next&id=fee6de80bdd3df976a43f3092a165cb43c072f20
---
 arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts +6 -0
index 92eaf4ef45638..6956c9bb992be 100644
@@ -303,6 +303,12 @@ &sai2 {
 	status = "disabled";
 };
 
+&snvs {
+	snvs-lpgpr {
+		compatible = "fsl,imx7d-snvs-lpgpr";
+	};
+};
+
 &uart1 {
 	uart-has-rtscts;
 	status = "okay";
Signature · 1 line
2.35.1
#1 lore raw
Quoted 24 lines · Marek Vasut

Add SNVS LPGPR bindings on this system, the LPGPR is used to store boot counter.

Cc Fabio Estevam <[email protected]>
Cc Marcel Ziswiler <[email protected]>
Cc Peng Fan <[email protected]>
Cc Rob Herring <[email protected]>
Cc Shawn Guo <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]
---
NOTE: Depends on

      https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/commit/?h=for-next&id=fee6de80bdd3df976a43f3092a165cb43c072f20
---
 arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts +0 -0
index 92eaf4ef45638..6956c9bb992be 100644

arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts &sai2 { · line 308

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts +3 -0
@@ -303,6 +303,12 @@ &sai2 {
 	status = "disabled";
 };
 
+&snvs {
+	snvs-lpgpr {
+		compatible = "fsl,imx7d-snvs-lpgpr";

Should we encode imx8mm specific compatible as well, while you added it in the bindings?

Also this is a SoC rather than board device, so we may want to add it in soc.dtsi instead?

Shawn

Quoted 9 lines
arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts +3 -0
+	};
+};
+
 &uart1 {
 	uart-has-rtscts;
 	status = "okay";
Signature · 1 line
2.35.1
#2 lore raw
Quoted 35 lines · Shawn Guo
Quoted 24 lines · Marek Vasut

Add SNVS LPGPR bindings on this system, the LPGPR is used to store boot counter.

Cc Fabio Estevam <[email protected]>
Cc Marcel Ziswiler <[email protected]>
Cc Peng Fan <[email protected]>
Cc Rob Herring <[email protected]>
Cc Shawn Guo <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]
---
NOTE: Depends on

       https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/commit/?h=for-next&id=fee6de80bdd3df976a43f3092a165cb43c072f20
---
  arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts | 6 ++++++
  1 file changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts +0 -0
index 92eaf4ef45638..6956c9bb992be 100644

arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts &sai2 { · line 308

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8mm-mx8menlo.dts +3 -0
@@ -303,6 +303,12 @@ &sai2 {
  	status = "disabled";
  };
 
+&snvs {
+	snvs-lpgpr {
+		compatible = "fsl,imx7d-snvs-lpgpr";

Should we encode imx8mm specific compatible as well, while you added it in the bindings?

Quoted 2 lines

Also this is a SoC rather than board device, so we may want to add it in soc.dtsi instead?

Right, this patch is already superseded by
[PATCH] arm64: dts: imx8mm: Add SNVS LPGPR