Skip to contentSkip to conversation

dt-bindings: Add Marantec vendor prefix

PATCH Superseded Christoph Niedermaier 3 participants 11 messages Apr 6, 2023

Subsystems (4)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Christoph Niedermaier

author maintainer
#0 lore raw

PATCH v2 1/3 dt-bindings: Add Marantec vendor prefix

Add vendor prefix for Marantec electronics GmbH.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Add this patch to the series

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 055704dce3d1..f58e5ef2bedd 100644
@@ -789,6 +789,8 @@ patternProperties:
     description: Mantix Display Technology Co.,Ltd.
   "^mapleboard,.*":
     description: Mapleboard.org
+  "^marantec,.*":
+    description: Marantec electronics GmbH
   "^marvell,.*":
     description: Marvell Technology Group Ltd.
   "^maxbotix,.*":
Signature · 1 line
2.11.0
author maintainer
#1 lore raw

PATCH v2 2/3 dt-bindings: arm: fsl: Add Marantec maveo box as a DHCOR i.MX6ULL SoM based board

Add Marantec maveo box. The system is used to get a smart conntection to a door drive. The core of this system is a soldered i.MX6ULL DHCOR SoM from DH electronics.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Shawn Guo <[email protected]>
CC: Li Yang <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Correct the vendor prefix

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index b175f2b1bd30..fc1bf43ab54d 100644
@@ -717,6 +717,12 @@ properties:
           - const: dh,imx6ull-dhcor-som
           - const: fsl,imx6ull
 
+      - description: i.MX6ULL DHCOR SoM based Boards
+        items:
+          - const: marantec,imx6ull-dhcor-maveo-box
+          - const: dh,imx6ull-dhcor-som
+          - const: fsl,imx6ull
+
       - description: i.MX6ULL PHYTEC phyBOARD-Segin
         items:
           - enum:
Signature · 1 line
2.11.0
Acked-by on v2 2/3
#2 lore raw

Re: [PATCH V2 2/3] dt-bindings: arm: fsl: Add Marantec maveo box as a DHCOR i.MX6ULL SoM based board

Quoted 7 lines · Christoph Niedermaier

Add Marantec maveo box. The system is used to get a smart conntection to a door drive. The core of this system is a soldered i.MX6ULL DHCOR SoM from DH electronics.

---
Cc: Rob Herring <[email protected]>

Best regards,
Krzysztof

author maintainer
#3 lore raw

PATCH v2 3/3 ARM: dts: imx6ull-dhcor: Add Marantec maveo box

In reply to Christoph Niedermaier

Add support for Marantec maveo box. The system is used to get a smart conntection to a door drive. It has USB, WiFi, Bluetooth, Zigbee and NFC interfaces. The core of this system is a soldered i.MX6ULL DHCOR SoM from DH electronics.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Li Yang <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Correct the vendor prefix
- Change pinconfig of User and Reset button

---
 arch/arm/boot/dts/Makefile                    |   1 +
 arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts | 361 ++++++++++++++++++++++++++
 2 files changed, 362 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts
arch/arm/boot/dts/Makefile +1 -0
index aa8fb4b7cdcc..58d3334164e2 100644
@@ -751,6 +751,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
 	imx6ull-dhcom-drc02.dtb \
 	imx6ull-dhcom-pdk2.dtb \
 	imx6ull-dhcom-picoitx.dtb \
+	imx6ull-dhcor-maveo-box.dtb \
 	imx6ull-jozacp.dtb \
 	imx6ull-kontron-bl.dtb \
 	imx6ull-myir-mys-6ulx-eval.dtb \
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +361 -0

361 lines not on this page · raw message

Signature · 1 line
2.11.0
#4 lore raw

Re: [PATCH V2 3/3] ARM: dts: imx6ull-dhcor: Add Marantec maveo box

Quoted 57 lines · Christoph Niedermaier

Add support for Marantec maveo box. The system is used to get a smart conntection to a door drive. It has USB, WiFi, Bluetooth, Zigbee and NFC interfaces. The core of this system is a soldered i.MX6ULL DHCOR SoM from DH electronics.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Li Yang <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Correct the vendor prefix
- Change pinconfig of User and Reset button

---
 arch/arm/boot/dts/Makefile                    |   1 +
 arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts | 361 ++++++++++++++++++++++++++
 2 files changed, 362 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts
arch/arm/boot/dts/Makefile +1 -0
index aa8fb4b7cdcc..58d3334164e2 100644
@@ -751,6 +751,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
 	imx6ull-dhcom-drc02.dtb \
 	imx6ull-dhcom-pdk2.dtb \
 	imx6ull-dhcom-picoitx.dtb \
+	imx6ull-dhcor-maveo-box.dtb \
 	imx6ull-jozacp.dtb \
 	imx6ull-kontron-bl.dtb \
 	imx6ull-myir-mys-6ulx-eval.dtb \
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +12 -0
new file mode 100644
index 000000000000..83bacac19933
@@ -0,0 +1,361 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright (C) 2023 DH electronics GmbH
+ * Copyright (C) 2023 Marantec electronics GmbH
+ *
+ * DHCOM iMX6ULL variant:
+ * DHCR-iMX6ULL-C080-R051-SPI-WBT-I-01LG
+ * DHCOR PCB number: 578-200 or newer
+ * maveo box PCB number: 525-200 or newer
+ */
+
+/dts-v1/;

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 22

Quoted 10 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +10 -0
+
+#include "imx6ull-dhcor-som.dtsi"
+
+/ {
+	model = "DH electronics i.MX6ULL DHCOR on maveo box";
+	compatible = "marantec,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som",
+		     "fsl,imx6ull";
+
+	aliases {
+		/delete-property/ mmc0; /* Avoid double definitions */

I don't understand it. What is "double definition" of aliases?

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 24

Quoted 2 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +2 -0
+		/delete-property/ mmc1;
+		mmc2 = &usdhc2; /* eMMC should be mmc2 */

Why? How is this labeled on the board (physically or on schematics)? If you answer here "for booting", then the answer is NAK. Don't add software policies to Devicetree.

Best regards,
Krzysztof

author maintainer
#5 lore raw

RE: [PATCH V2 3/3] ARM: dts: imx6ull-dhcor: Add Marantec maveo box

From: Krzysztof Kozlowski [mailto:[email protected]]
Sent: Thursday, April 6, 2023 6:40 PM

Quoted 62 lines · Christoph Niedermaier
Quoted 61 lines

Add support for Marantec maveo box. The system is used to get a smart conntection to a door drive. It has USB, WiFi, Bluetooth, Zigbee and NFC interfaces. The core of this system is a soldered i.MX6ULL DHCOR SoM from DH electronics.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Li Yang <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Correct the vendor prefix
- Change pinconfig of User and Reset button

---
 arch/arm/boot/dts/Makefile                    |   1 +
 arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts | 361 ++++++++++++++++++++++++++
 2 files changed, 362 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts
arch/arm/boot/dts/Makefile +1 -0
index aa8fb4b7cdcc..58d3334164e2 100644
@@ -751,6 +751,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
      imx6ull-dhcom-drc02.dtb \
      imx6ull-dhcom-pdk2.dtb \
      imx6ull-dhcom-picoitx.dtb \
+     imx6ull-dhcor-maveo-box.dtb \
      imx6ull-jozacp.dtb \
      imx6ull-kontron-bl.dtb \
      imx6ull-myir-mys-6ulx-eval.dtb \
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +16 -0
new file mode 100644
index 000000000000..83bacac19933
@@ -0,0 +1,361 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright (C) 2023 DH electronics GmbH
+ * Copyright (C) 2023 Marantec electronics GmbH
+ *
+ * DHCOM iMX6ULL variant:
+ * DHCR-iMX6ULL-C080-R051-SPI-WBT-I-01LG
+ * DHCOR PCB number: 578-200 or newer
+ * maveo box PCB number: 525-200 or newer
+ */
+
+/dts-v1/;
+
+#include "imx6ull-dhcor-som.dtsi"
+
+/ {
Quoted 8 lines

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 22

Quoted 6 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +6 -0
+     model = "DH electronics i.MX6ULL DHCOR on maveo box";
+     compatible = "marantec,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som",
+                  "fsl,imx6ull";
+
+     aliases {
+             /delete-property/ mmc0; /* Avoid double definitions */

I don't understand it. What is "double definition" of aliases?

Otherwise I end up like this:
mmc0 = &usdhc1;
mmc1 = &usdhc2;
mmc2 = &usdhc2;

Is "Ensure unique allocation" a better comment here?

Quoted 7 lines

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 24

Quoted 3 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +2 -0
+             /delete-property/ mmc1;
+             mmc2 = &usdhc2; /* eMMC should be mmc2 */

Why? How is this labeled on the board (physically or on schematics)? If you answer here "for booting", then the answer is NAK. Don't add software policies to Devicetree.

The name in the schematics is "SD2".

Regards
Christoph

#6 lore raw

Re: [PATCH V2 3/3] ARM: dts: imx6ull-dhcor: Add Marantec maveo box

Quoted 35 lines · Christoph Niedermaier
Quoted 18 lines
Quoted 18 lines

+++ b/arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +16 -0
@@ -0,0 +1,361 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright (C) 2023 DH electronics GmbH
+ * Copyright (C) 2023 Marantec electronics GmbH
+ *
+ * DHCOM iMX6ULL variant:
+ * DHCR-iMX6ULL-C080-R051-SPI-WBT-I-01LG
+ * DHCOR PCB number: 578-200 or newer
+ * maveo box PCB number: 525-200 or newer
+ */
+
+/dts-v1/;
+
+#include "imx6ull-dhcor-som.dtsi"
+
+/ {
Quoted 8 lines

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 22

Quoted 6 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +6 -0
+     model = "DH electronics i.MX6ULL DHCOR on maveo box";
+     compatible = "marantec,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som",
+                  "fsl,imx6ull";
+
+     aliases {
+             /delete-property/ mmc0; /* Avoid double definitions */

I don't understand it. What is "double definition" of aliases?

Otherwise I end up like this:
mmc0 = &usdhc1;
mmc1 = &usdhc2;
mmc2 = &usdhc2;

Is "Ensure unique allocation" a better comment here?

Quoted 1 line
Quoted 8 lines
Quoted 6 lines

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 24

Quoted 2 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +2 -0
+             /delete-property/ mmc1;
+             mmc2 = &usdhc2; /* eMMC should be mmc2 */

Why? How is this labeled on the board (physically or on schematics)? If you answer here "for booting", then the answer is NAK. Don't add software policies to Devicetree.

The name in the schematics is "SD2".

Answering also to above - then likely the aliases should be dropped from SoM. I doubt that Som calls it SD1 and your board SD2...

Best regards,
Krzysztof

author maintainer
#7 lore raw

RE: [PATCH V2 3/3] ARM: dts: imx6ull-dhcor: Add Marantec maveo box

From: Krzysztof Kozlowski [mailto:[email protected]]
Sent: Thursday, April 6, 2023 8:00 PM

Quoted 40 lines · Christoph Niedermaier
Quoted 39 lines
Quoted 19 lines
Quoted 19 lines

+++ b/arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +16 -0
@@ -0,0 +1,361 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright (C) 2023 DH electronics GmbH
+ * Copyright (C) 2023 Marantec electronics GmbH
+ *
+ * DHCOM iMX6ULL variant:
+ * DHCR-iMX6ULL-C080-R051-SPI-WBT-I-01LG
+ * DHCOR PCB number: 578-200 or newer
+ * maveo box PCB number: 525-200 or newer
+ */
+
+/dts-v1/;
+
+#include "imx6ull-dhcor-som.dtsi"
+
+/ {
Quoted 8 lines

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 22

Quoted 6 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +6 -0
+     model = "DH electronics i.MX6ULL DHCOR on maveo box";
+     compatible = "marantec,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som",
+                  "fsl,imx6ull";
+
+     aliases {
+             /delete-property/ mmc0; /* Avoid double definitions */

I don't understand it. What is "double definition" of aliases?

Otherwise I end up like this:
mmc0 = &usdhc1;
mmc1 = &usdhc2;
mmc2 = &usdhc2;

Is "Ensure unique allocation" a better comment here?

Quoted 4 lines
Quoted 3 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +2 -0
+             /delete-property/ mmc1;
+             mmc2 = &usdhc2; /* eMMC should be mmc2 */
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Why? How is this labeled on the board (physically or on schematics)? If you answer here "for booting", then the answer is NAK. Don't add software policies to Devicetree.

The name in the schematics is "SD2".

Answering also to above - then likely the aliases should be dropped from SoM. I doubt that Som calls it SD1 and your board SD2...

Maybe I don't quite get it, but the hardware starts counting at 1. The first interface is SD1 and it is used as WiFi. The second one is SD2 which is the eMMC. So with this aliases it should match SD2 to mmc2.
Do you want me to delete the aliases in the include file "imx6ull-dhcor-som.dtsi" or what can I do?

Thanks and regards
Christoph

#8 lore raw

Re: [PATCH V2 3/3] ARM: dts: imx6ull-dhcor: Add Marantec maveo box

Quoted 22 lines · Christoph Niedermaier
Quoted 22 lines
Quoted 21 lines
Quoted 4 lines

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 22

Quoted 2 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +2 -0
+     aliases {
+             /delete-property/ mmc0; /* Avoid double definitions */

I don't understand it. What is "double definition" of aliases?

Otherwise I end up like this:
mmc0 = &usdhc1;
mmc1 = &usdhc2;
mmc2 = &usdhc2;

Is "Ensure unique allocation" a better comment here?

Quoted 7 lines

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 24

Quoted 3 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +2 -0
+             /delete-property/ mmc1;
+             mmc2 = &usdhc2; /* eMMC should be mmc2 */

Why? How is this labeled on the board (physically or on schematics)? If you answer here "for booting", then the answer is NAK. Don't add software policies to Devicetree.

The name in the schematics is "SD2".

Quoted 7 lines
Quoted 2 lines

Answering also to above - then likely the aliases should be dropped from SoM. I doubt that Som calls it SD1 and your board SD2...

Maybe I don't quite get it, but the hardware starts counting at 1. The first interface is SD1 and it is used as WiFi. The second one is SD2 which is the eMMC. So with this aliases it should match SD2 to mmc2.
Do you want me to delete the aliases in the include file "imx6ull-dhcor-som.dtsi"

Yes, because it incorrectly calls eMMC as mmc1. You said it is SD2, right?

Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author maintainer
#9 lore raw

RE: [PATCH V2 3/3] ARM: dts: imx6ull-dhcor: Add Marantec maveo box

From: Krzysztof Kozlowski [mailto:[email protected]]
Sent: Thursday, April 6, 2023 10:38 PM

Quoted 26 lines · Christoph Niedermaier
Quoted 25 lines
Quoted 24 lines
Quoted 13 lines
Quoted 4 lines

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 22

Quoted 2 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +2 -0
+     aliases {
+             /delete-property/ mmc0; /* Avoid double definitions */

I don't understand it. What is "double definition" of aliases?

Otherwise I end up like this:
mmc0 = &usdhc1;
mmc1 = &usdhc2;
mmc2 = &usdhc2;

Is "Ensure unique allocation" a better comment here?

Quoted 1 line
Quoted 8 lines
Quoted 6 lines

arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts line 24

Quoted 2 lines
arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts new file +2 -0
+             /delete-property/ mmc1;
+             mmc2 = &usdhc2; /* eMMC should be mmc2 */

Why? How is this labeled on the board (physically or on schematics)? If you answer here "for booting", then the answer is NAK. Don't add software policies to Devicetree.

The name in the schematics is "SD2".

Answering also to above - then likely the aliases should be dropped from SoM. I doubt that Som calls it SD1 and your board SD2...

Quoted 6 lines
Quoted 4 lines

Maybe I don't quite get it, but the hardware starts counting at 1. The first interface is SD1 and it is used as WiFi. The second one is SD2 which is the eMMC. So with this aliases it should match SD2 to mmc2.
Do you want me to delete the aliases in the include file "imx6ull-dhcor-som.dtsi"

Yes, because it incorrectly calls eMMC as mmc1. You said it is SD2, right?

Yes. I will do this in version 3.

Thanks and best regards
Christoph

Acked-by on v2 1/3
#10 lore raw
In reply to Christoph Niedermaier
Quoted 12 lines · Christoph Niedermaier

Add vendor prefix for Marantec electronics GmbH.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---

Best regards,
Krzysztof