Skip to contentSkip to conversation

Add Variscite VAR-SOM-MX93 support

PATCH Superseded Mathieu Othacehe 2 participants 5 messages Dec 23, 2023 – Dec 24, 2023

Subsystems (2)

v2 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add Variscite VAR-SOM-MX93 support

Hey,

This is a v2 adding support for the Variscite VAR-SOM-MX93 SoM on Symphony Board.

Support for "nxp,pca9451a" is not mainlined yet, it has been proposed here:
https://lore.kernel.org/lkml/[email protected]/T/

I removed it from the device-tree for now.

Thanks,

---
Changes in v2:
- Remove "nxp,pca9451a" block
- Fixed checkpatch warnings
- Fixed dtb_checks warnings
- Introduce dt-bindings documentation

v1: https://lore.kernel.org/linux-devicetree/[email protected]/T/#t

---
Mathieu Othacehe (2):
dt-bindings: arm: fsl: Add VAR-SOM-MX93 with Symphony
arm64: dts: imx93-var-som: Add Variscite VAR-SOM-MX93

 .../devicetree/bindings/arm/fsl.yaml          |   6 +
 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 .../dts/freescale/imx93-var-som-symphony.dts  | 306 ++++++++++++++++++
 .../boot/dts/freescale/imx93-var-som.dtsi     | 209 ++++++++++++
 4 files changed, 522 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx93-var-som.dtsi
Signature · 1 line
2.41.0
#1 lore raw

PATCH v2 1/2 dt-bindings: arm: fsl: Add VAR-SOM-MX93 with Symphony

Add support for Variscite i.MX93 VAR-SOM-MX93 SoM with Symphony board.

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index 228dcc5c7d6f..27936edfe054 100644
@@ -1275,6 +1275,12 @@ properties:
           - const: tq,imx93-tqma9352        # TQ-Systems GmbH i.MX93 TQMa93xxCA/LA SOM
           - const: fsl,imx93
 
+      - description: Variscite VAR-SOM-MX93 based boards
+        items:
+          - const: variscite,var-som-mx93-symphony
+          - const: variscite,var-som-mx93
+          - const: fsl,imx93
+
       - description:
           Freescale Vybrid Platform Device Tree Bindings
 
Signature · 1 line
2.41.0
#3 lore raw

PATCH v2 2/2 arm64: dts: imx93-var-som: Add Variscite VAR-SOM-MX93

In reply to Mathieu Othacehe

Add DTSI for Variscite VAR-SOM-MX93 System on Module and DTS for Variscite VAR-SOM-MX93 on Symphony evaluation board.

This version comes with:
- NXP i.MX 93 Dual, 1.7GHz, Cortex-A55 + Cortex-M33
- 2 GB of RAM
- 16GB eMMC
- 802.11ax/ac/a/b/g/n WiFi with 5.3 Bluetooth
- CAN bus
- Audio codec

---
 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 .../dts/freescale/imx93-var-som-symphony.dts  | 306 ++++++++++++++++++
 .../boot/dts/freescale/imx93-var-som.dtsi     | 209 ++++++++++++
 3 files changed, 516 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx93-var-som.dtsi
arch/arm64/boot/dts/freescale/Makefile +1 -0
index 2e027675d7bb..a6f1700961e3 100644
@@ -203,6 +203,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx93-tqma9352-mba93xxca.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx93-tqma9352-mba93xxla.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx93-var-som-symphony.dtb
 
 imx8mm-venice-gw72xx-0x-imx219-dtbs	:= imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-imx219.dtbo
 imx8mm-venice-gw72xx-0x-rpidsi-dtbs	:= imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-rpidsi.dtbo
arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts new file +306 -0

306 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx93-var-som.dtsi new file +209 -0

209 lines not on this page · raw message

Signature · 1 line
2.41.0
#4 lore raw

Re: [PATCH v2 2/2] arm64: dts: imx93-var-som: Add Variscite VAR-SOM-MX93

Quoted 3 lines · Mathieu Othacehe

Add DTSI for Variscite VAR-SOM-MX93 System on Module and DTS for Variscite VAR-SOM-MX93 on Symphony evaluation board.

Thank you for your patch. There is something to discuss/improve.

Quoted 8 lines

index 000000000000..ab675739e3ba

arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts new file +4 -0
@@ -0,0 +1,306 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2021 NXP
+ * Copyright 2023 Variscite Ltd.

arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts line 14

Quoted 10 lines
arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts new file +10 -0
+ */
+
+/dts-v1/;
+
+#include "imx93-var-som.dtsi"
+
+/{
+	model = "Variscite VAR-SOM-MX93 on Symphony evaluation board";
+	compatible = "variscite,var-som-mx93-symphony",
+	"variscite,var-som-mx93", "fsl,imx93";

Missing indentation. Continued entries must be aligned with previous ".

Best regards,
Krzysztof