Skip to contentSkip to conversation

dt-bindings: arm: stm32: Add compatible string for DH electronics DHCOR Testbench board

PATCH In review Marek Vasut 3 participants 4 messages Sep 26, 2022 – Oct 20, 2022

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

PATCH 1/2 dt-bindings: arm: stm32: Add compatible string for DH electronics DHCOR Testbench board

Add DT compatible string for DHCOR Testbench board, which is a testbench for testing of DHCOR SoM during manufacturing. This is effectively a trimmed down version of AV96 board with CSI-2 bridge, HDMI bridge, WiFi, Audio and LEDs removed and used as GPIOs instead.

---
Cc: Alexandre Torgue <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
To: [email protected]

---
 Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/stm32/stm32.yaml +6 -0
index 4c605bccc474e..44f5c5855af8c 100644
@@ -59,6 +59,12 @@ properties:
               - prt,prtt1s   # Protonic PRTT1S
           - const: st,stm32mp151
 
+      - description: DH STM32MP151 DHCOR SoM based Boards
+        items:
+          - const: dh,stm32mp151a-dhcor-testbench
+          - const: dh,stm32mp151a-dhcor-som
+          - const: st,stm32mp151
+
       - description: DH STM32MP153 DHCOM SoM based Boards
         items:
           - const: dh,stm32mp153c-dhcom-drc02
Signature · 1 line
2.35.1
#1 lore raw

PATCH 2/2 ARM: dts: stm32: Add DHCOR based Testbench board

Add DT for DHCOR Testbench board, which is a testbench for testing of DHCOR SoM during manufacturing. This is effectively a trimmed down version of AV96 board with CSI-2 bridge, HDMI bridge, WiFi, Audio and LEDs removed and used as GPIOs instead. Furthermore, the PMIC Buck3 is always configured from PMIC NVM to cater for both 1V8 and 3V3 SoM variant.

---
Cc: Alexandre Torgue <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]
To: [email protected]

---
 arch/arm/boot/dts/Makefile                    |   1 +
 .../boot/dts/stm32mp151a-dhcor-testbench.dts  |  17 ++
 .../boot/dts/stm32mp15xx-dhcor-testbench.dtsi | 171 ++++++++++++++++++
 3 files changed, 189 insertions(+)
 create mode 100644 arch/arm/boot/dts/stm32mp151a-dhcor-testbench.dts
 create mode 100644 arch/arm/boot/dts/stm32mp15xx-dhcor-testbench.dtsi
arch/arm/boot/dts/Makefile +1 -0
index 1a718157d1a68..962e0003a8d62 100644
@@ -1214,6 +1214,7 @@ dtb-$(CONFIG_ARCH_STM32) += \
 	stm32mp151a-prtt1a.dtb \
 	stm32mp151a-prtt1c.dtb \
 	stm32mp151a-prtt1s.dtb \
+	stm32mp151a-dhcor-testbench.dtb \
 	stm32mp153c-dhcom-drc02.dtb \
 	stm32mp153c-dhcor-drc-compact.dtb \
 	stm32mp157a-avenger96.dtb \
arch/arm/boot/dts/stm32mp151a-dhcor-testbench.dts new file +17 -0
new file mode 100644
index 0000000000000..e0f828ecc2faf
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
+/*
+ * Copyright (C) 2022 Marek Vasut <[email protected]>
+ */
+
+/dts-v1/;
+
+#include "stm32mp151.dtsi"
+#include "stm32mp15xx-dhcor-som.dtsi"
+#include "stm32mp15xx-dhcor-testbench.dtsi"
+
+/ {
+	model = "DH electronics STM32MP151A DHCOR Testbench";
+	compatible = "dh,stm32mp151a-dhcor-testbench",
+		     "dh,stm32mp151a-dhcor-som",
+		     "st,stm32mp151";
+};
arch/arm/boot/dts/stm32mp15xx-dhcor-testbench.dtsi new file +171 -0

171 lines not on this page · raw message

Signature · 7 lines
2.35.1


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

Re: [PATCH 2/2] ARM: dts: stm32: Add DHCOR based Testbench board

arch/arm/boot/dts/stm32mp151a-dhcor-testbench.dts

Quoted 37 lines · Marek Vasut

Add DT for DHCOR Testbench board, which is a testbench for testing of DHCOR SoM during manufacturing. This is effectively a trimmed down version of AV96 board with CSI-2 bridge, HDMI bridge, WiFi, Audio and LEDs removed and used as GPIOs instead. Furthermore, the PMIC Buck3 is always configured from PMIC NVM to cater for both 1V8 and 3V3 SoM variant.

---
Cc: Alexandre Torgue <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]
To: [email protected]

---
  arch/arm/boot/dts/Makefile                    |   1 +
  .../boot/dts/stm32mp151a-dhcor-testbench.dts  |  17 ++
  .../boot/dts/stm32mp15xx-dhcor-testbench.dtsi | 171 ++++++++++++++++++
  3 files changed, 189 insertions(+)

create mode 100644 arch/arm/boot/dts/stm32mp151a-dhcor-testbench.dts create mode 100644 arch/arm/boot/dts/stm32mp15xx-dhcor-testbench.dtsi

arch/arm/boot/dts/Makefile +1 -0
index 1a718157d1a68..962e0003a8d62 100644
@@ -1214,6 +1214,7 @@ dtb-$(CONFIG_ARCH_STM32) += \
  	stm32mp151a-prtt1a.dtb \
  	stm32mp151a-prtt1c.dtb \
  	stm32mp151a-prtt1s.dtb \
+	stm32mp151a-dhcor-testbench.dtb \
  	stm32mp153c-dhcom-drc02.dtb \
  	stm32mp153c-dhcor-drc-compact.dtb \
  	stm32mp157a-avenger96.dtb \
arch/arm/boot/dts/stm32mp151a-dhcor-testbench.dts new file +0 -0
new file mode 100644
index 0000000000000..e0f828ecc2faf

Series applied on stm32-next.

Regards
Alex

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

maintainer Acked-by on v1 1/2
#3 lore raw
In reply to Marek Vasut
Quoted 14 lines · Marek Vasut

Add DT compatible string for DHCOR Testbench board, which is a testbench for testing of DHCOR SoM during manufacturing. This is effectively a trimmed down version of AV96 board with CSI-2 bridge, HDMI bridge, WiFi, Audio and LEDs removed and used as GPIOs instead.

---
Cc: Alexandre Torgue <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
To: [email protected]

Quoted 4 lines
---
 Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 6 ++++++
 1 file changed, 6 insertions(+)