Skip to contentSkip to conversation

arm64: dts: qcom: apq8016: Add Schneider HMIBSC board DTS

PATCH Applied Sumit Garg 2 participants 5 messages May 27, 2024 – May 28, 2024

Subsystems (3)
lore
Share & tools
lore

Sumit Garg

author
#0 lore raw

v5 cover arm64: dts: qcom: apq8016: Add Schneider HMIBSC board DTS

Add Schneider Electric HMIBSC board DTS. The HMIBSC board is an IIoT Edge Box Core board based on the Qualcomm APQ8016E SoC. For more information refer to the product page [1].

One of the major difference from db410c is serial port where HMIBSC board uses UART1 as the debug console with a default RS232 mode (UART1 mode mux configured via gpio99 and gpio100).

Support for Schneider Electric HMIBSC. Features:
- Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306)
- 1GiB RAM
- 8GiB eMMC, SD slot
- WiFi and Bluetooth
- 2x Host, 1x Device USB port
- HDMI
- Discrete TPM2 chip over SPI
- USB ethernet adaptors (soldered)

This series is a v2 since v1 of this DTS file has been reviewed on the U-Boot mailing list [2].

Changes in v5:
- Resend again as the v6.10-rc1 is out.
- Addressed another nitpick from Stephen.
- Collected Stephen's review tag.
- Warnings reported by Rob's DT check bot aren't related to HMIBSC board DTS but rather they are due to msm8916.dtsi or extcon-usb-gpio.txt still not converted to YAML format.

Changes in v4:
- Dropped IRQ_TYPE_EDGE_FALLING for pm8916_resin given the expectations of Linux kernel driver. Instead depend on systemd workaround suggested by Caleb to get expected HMIBSC reset behaviour.
- Incorporated further DT coding style comments from Stephen.
- Warnings reported by Rob's DT check bot aren't related to HMIBSC board DTS but rather they are due to msm8916.dtsi or extcon-usb-gpio.txt still not converted to YAML format.

Changes in v3:
- Picked up tags.
- Fixed further DT schema warnings.
- Configure resin/power button interrupt as falling edge.
- Incorporate DTS coding style comments from Krzysztof and Konrad.

Changes in v2:
- Fix DT schema warnings.
- Incorporate suggestions from Stephan.
- Document UART1 mode GPIOs based mux.

[1] https://www.se.com/us/en/product/HMIBSCEA53D1L0T/iiot-edge-box-core-harmony-ipc-emmc-dc-linux-tpm/
[2] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Sumit Garg (3):
dt-bindings: vendor-prefixes: Add Schneider Electric
dt-bindings: arm: qcom: Add Schneider Electric HMIBSC board
arm64: dts: qcom: apq8016: Add Schneider HMIBSC board DTS

 .../devicetree/bindings/arm/qcom.yaml         |   1 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../dts/qcom/apq8016-schneider-hmibsc.dts     | 491 ++++++++++++++++++
 4 files changed, 495 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/apq8016-schneider-hmibsc.dts
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v5 1/3 dt-bindings: vendor-prefixes: Add Schneider Electric

Add vendor prefix for Schneider Electric (https://www.se.com/).

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 1a0dc04f1db4..4ef38573e411 100644
@@ -1211,6 +1211,8 @@ patternProperties:
     description: Smart Battery System
   "^schindler,.*":
     description: Schindler
+  "^schneider,.*":
+    description: Schneider Electric
   "^seagate,.*":
     description: Seagate Technology PLC
   "^seeed,.*":
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH v5 2/3 dt-bindings: arm: qcom: Add Schneider Electric HMIBSC board

In reply to Sumit Garg

Document the compatible for the Schneider Electric HMIBSC IIoT edge box core board based on the Qualcomm APQ8016E SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index 1a5fb889a444..c8c91754fe04 100644
@@ -137,6 +137,7 @@ properties:
       - items:
           - enum:
               - qcom,apq8016-sbc
+              - schneider,apq8016-hmibsc
           - const: qcom,apq8016
 
       - items:
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH v5 3/3 arm64: dts: qcom: apq8016: Add Schneider HMIBSC board DTS

In reply to Sumit Garg

Add Schneider Electric HMIBSC board DTS. The HMIBSC board is an IIoT Edge Box Core board based on the Qualcomm APQ8016E SoC.

Support for Schneider Electric HMIBSC. Features:
- Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306)
- 1GiB RAM
- 8GiB eMMC, SD slot
- WiFi and Bluetooth
- 2x Host, 1x Device USB port
- HDMI
- Discrete TPM2 chip over SPI
- USB ethernet adaptors (soldered)

---
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../dts/qcom/apq8016-schneider-hmibsc.dts     | 491 ++++++++++++++++++
 2 files changed, 492 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/apq8016-schneider-hmibsc.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 39889d5f8e12..ad55e52e950b 100644
@@ -5,6 +5,7 @@ apq8016-sbc-usb-host-dtbs	:= apq8016-sbc.dtb apq8016-sbc-usb-host.dtbo
 
 dtb-$(CONFIG_ARCH_QCOM)	+= apq8016-sbc-usb-host.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= apq8016-sbc-d3-camera-mezzanine.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= apq8016-schneider-hmibsc.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= apq8039-t2.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= apq8094-sony-xperia-kitakami-karin_windy.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= apq8096-db820c.dtb
arch/arm64/boot/dts/qcom/apq8016-schneider-hmibsc.dts new file +491 -0

491 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer Applied
#4 lore raw
In reply to Sumit Garg
Quoted 9 lines · Sumit Garg

Add Schneider Electric HMIBSC board DTS. The HMIBSC board is an IIoT Edge Box Core board based on the Qualcomm APQ8016E SoC. For more information refer to the product page [1].

One of the major difference from db410c is serial port where HMIBSC board uses UART1 as the debug console with a default RS232 mode (UART1 mode mux configured via gpio99 and gpio100).

[...]

Applied, thanks!

[1/3] dt-bindings: vendor-prefixes: Add Schneider Electric

      commit: 1fabbb0888c3d74366133de848228a899477aa34
[2/3] dt-bindings: arm: qcom: Add Schneider Electric HMIBSC board
      commit: 6cf67a2b51edfcef998b545f8aec18b9e8cefc80
[3/3] arm64: dts: qcom: apq8016: Add Schneider HMIBSC board DTS
      commit: cceb16d201bb129dc019bb7df6ec746bf12b398d

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>