All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Initial support for Qualcomm Hamoa IOT COME board
@ 2026-07-27  7:07 Yuanjie Yang
  2026-07-27  7:07 ` [PATCH v2 1/2] dt-bindings: arm: qcom: Add HAMOA-IOT-COME board Yuanjie Yang
  2026-07-27  7:07 ` [PATCH v2 2/2] arm64: dts: qcom: Add base " Yuanjie Yang
  0 siblings, 2 replies; 7+ messages in thread
From: Yuanjie Yang @ 2026-07-27  7:07 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, yuanjie.yang,
	tingwei.zhang, Gaurav Kohli, Ziyue zhang

Introduce the device tree, DT bindings for HAMOA-IOT-COME board.

The system consists of a SoM mounted on a carrier board. The HAMOA-IOT-COME
SoM integrates the core system, including a SiP that contains the SoC and
related components.

The SiP on the HAMOA-IOT-COME SoM is equivalent to the HAMOA-IOT-EVK SoM.

┌───────────────────────────────┐
│          SoM (Module)         │
│   System on Module (small     │
│   pluggable board)            │
│                               │
│   ┌───────────────────────┐   │
│   │        SiP            │   │
│   │   System in Package   │   │
│   │        (chip)         │   │
│   │                       │   │
│   │   ┌───────────────┐   │   │
│   │   │     SoC       │   │   │
│   │   │               │   │   │
│   │   └───────────────┘   │   │
│   │                       │   │
│   │                       │   │
│   └───────────────────────┘   │
│                               │
└──────────────┬────────────────┘
               │ Plugs into
┌──────────────▼────────────────┐
│   Carrier Board (COME)        │
│                               │
└───────────────────────────────┘

Co-developed-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Co-developed-by: Ziyue zhang <ziyue.zhang@oss.qualcomm.com>
Signed-off-by: Ziyue zhang <ziyue.zhang@oss.qualcomm.com>
Signed-off-by: Yuanjie Yang <yuanjie.yang@oss.qualcomm.com>
---

Changes in v2:
- update commit msg
- fix binding error
- update pcie and usb DT
- Link to v1: https://lore.kernel.org/all/20260630071022.3256-1-yuanjie.yang@oss.qualcomm.com/
---

Yuanjie Yang (2):
  dt-bindings: arm: qcom: Add HAMOA-IOT-COME board
  arm64: dts: qcom: Add base HAMOA-IOT-COME board

 .../devicetree/bindings/arm/qcom.yaml         |   7 ++
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../boot/dts/qcom/hamoa-iot-come-som.dtsi     |  52 ++++++++
 arch/arm64/boot/dts/qcom/hamoa-iot-come.dts   | 116 ++++++++++++++++++
 4 files changed, 176 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/hamoa-iot-come-som.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/hamoa-iot-come.dts


base-commit: c5e32e86ca02b003f86e095d379b38148999293d
-- 
2.43.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2 1/2] dt-bindings: arm: qcom: Add HAMOA-IOT-COME board
  2026-07-27  7:07 [PATCH v2 0/2] Initial support for Qualcomm Hamoa IOT COME board Yuanjie Yang
@ 2026-07-27  7:07 ` Yuanjie Yang
  2026-07-30  6:51   ` Krzysztof Kozlowski
  2026-07-27  7:07 ` [PATCH v2 2/2] arm64: dts: qcom: Add base " Yuanjie Yang
  1 sibling, 1 reply; 7+ messages in thread
From: Yuanjie Yang @ 2026-07-27  7:07 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, yuanjie.yang,
	tingwei.zhang

Document the device tree binding for the HAMOA-IOT-COME board based on
the Qualcomm X1E80100 SoC.

The platform consists of a system-on-module (SoM) mounted on a carrier
board. The SoM integrates the core system functionality, including a
SiP containing the X1E80100 SoC and its supporting components.

The COME SiP hardware is effectively the same as the SoM used on the
Qualcomm HAMOA EVK, while the carrier board provides the board-specific
peripherals and connectivity.

Signed-off-by: Yuanjie Yang <yuanjie.yang@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/arm/qcom.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index c7c9a9279684..443191b12137 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -1209,6 +1209,13 @@ properties:
               - qcom,x1e80100-qcp
           - const: qcom,x1e80100
 
+      - items:
+          - enum:
+              - qcom,hamoa-iot-come
+          - const: qcom,hamoa-iot-come-som
+          - const: qcom,hamoa-iot-som
+          - const: qcom,x1e80100
+
       - items:
           - enum:
               - qcom,hamoa-iot-evk
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 2/2] arm64: dts: qcom: Add base HAMOA-IOT-COME board
  2026-07-27  7:07 [PATCH v2 0/2] Initial support for Qualcomm Hamoa IOT COME board Yuanjie Yang
  2026-07-27  7:07 ` [PATCH v2 1/2] dt-bindings: arm: qcom: Add HAMOA-IOT-COME board Yuanjie Yang
@ 2026-07-27  7:07 ` Yuanjie Yang
  1 sibling, 0 replies; 7+ messages in thread
From: Yuanjie Yang @ 2026-07-27  7:07 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, yuanjie.yang,
	tingwei.zhang, Gaurav Kohli, Ziyue zhang

Add the initial device tree for the HAMOA-IOT-COME platform based on
the Qualcomm X1E80100 SoC.

The platform consists of a system-on-module (SoM) mounted on a carrier
board. The SoM integrates the core system functionality through a SiP
containing the X1E80100 SoC and its supporting components.

Hierarchy:

    Carrier Board
        -> SoM
            -> SiP
                -> SoC

The COME SiP hardware is effectively the same as the SoM used on the
Qualcomm HAMOA EVK, while the carrier board provides the platform-specific
peripherals and connectivity.

Compared to the HAMOA EVK, PCIe controllers 3, 5 and 6 are routed to
expansion slots, while PCIe controller 4 is connected to an ASM1164
SATA controller. The platform does not provide a USB Type-C connector.
The eUSB repeater (TUSB2E111YCGR) is configured through hardware strapping
pins and therefore requires no software control.

The initial device tree includes support for:
- UART
- Regulators
- USB
- PCIe
- Pinctrl
- ADSP, CDSP
- UFS
- Graphics
- Video

Regulators, pinctrl, graphics, video, ADSP and CDSP support are
inherited from the common hamoa-iot-som.dtsi description.

Co-developed-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Co-developed-by: Ziyue zhang <ziyue.zhang@oss.qualcomm.com>
Signed-off-by: Ziyue zhang <ziyue.zhang@oss.qualcomm.com>
Signed-off-by: Yuanjie Yang <yuanjie.yang@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../boot/dts/qcom/hamoa-iot-come-som.dtsi     |  52 ++++++++
 arch/arm64/boot/dts/qcom/hamoa-iot-come.dts   | 116 ++++++++++++++++++
 3 files changed, 169 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/hamoa-iot-come-som.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/hamoa-iot-come.dts

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index e05414290d8e..09847b4ff337 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -17,6 +17,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= apq8096-ifc6640.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= eliza-cqs-evk.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= eliza-mtp.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-crd.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= hamoa-iot-come.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= hamoa-iot-evk.dtb
 
 hamoa-iot-evk-el2-dtbs	:= hamoa-iot-evk.dtb x1-el2.dtbo
diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-come-som.dtsi b/arch/arm64/boot/dts/qcom/hamoa-iot-come-som.dtsi
new file mode 100644
index 000000000000..d8d9765be64b
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/hamoa-iot-come-som.dtsi
@@ -0,0 +1,52 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+#include "hamoa-iot-som.dtsi"
+
+/ {
+	vph_pwr: regulator-vph-pwr {
+		compatible = "regulator-fixed";
+
+		regulator-name = "vph_pwr";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+
+		regulator-always-on;
+		regulator-boot-on;
+	};
+};
+
+&ufs_mem_phy {
+	vdda-phy-supply = <&vreg_l3i_0p8>;
+	vdda-pll-supply = <&vreg_l3e_1p2>;
+
+	status = "okay";
+};
+
+&ufs_mem_hc {
+	reset-gpios = <&tlmm 238 GPIO_ACTIVE_LOW>;
+
+	vcc-supply = <&vreg_l17b_2p5>;
+	vcc-max-microamp = <1300000>;
+	vccq-supply = <&vreg_l2i_1p2>;
+	vccq-max-microamp = <1200000>;
+
+	status = "okay";
+};
+
+&usb_1_ss0 {
+	/delete-property/ usb-role-switch;
+	dr_mode = "peripheral";
+};
+
+&usb_1_ss1 {
+	/delete-property/ usb-role-switch;
+	dr_mode = "host";
+};
+
+&usb_1_ss2 {
+	/delete-property/ usb-role-switch;
+	dr_mode = "host";
+};
diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-come.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-come.dts
new file mode 100644
index 000000000000..735a2b4efd97
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/hamoa-iot-come.dts
@@ -0,0 +1,116 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/dts-v1/;
+
+#include "hamoa-iot-come-som.dtsi"
+
+/ {
+	model = "Qualcomm Technologies, Inc. Hamoa IoT ComE";
+	compatible = "qcom,hamoa-iot-come", "qcom,hamoa-iot-come-som",
+		     "qcom,hamoa-iot-som", "qcom,x1e80100";
+	chassis-type = "embedded";
+
+	aliases {
+		serial0 = &uart21;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+};
+
+&pcie3_port0 {
+	reset-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
+	wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
+};
+
+&pcie4_port0 {
+	reset-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
+	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
+};
+
+&pcie5_port0 {
+	reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
+	wake-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
+};
+
+&pcie6a_port0 {
+	reset-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
+	wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
+};
+
+&thermal_zones {
+	gpuss-0-thermal {
+		trips {
+			trip-point0 {
+				temperature = <105000>;
+			};
+		};
+	};
+
+	gpuss-1-thermal {
+		trips {
+			trip-point0 {
+				temperature = <105000>;
+			};
+		};
+	};
+
+	gpuss-2-thermal {
+		trips {
+			trip-point0 {
+				temperature = <105000>;
+			};
+		};
+	};
+
+	gpuss-3-thermal {
+		trips {
+			trip-point0 {
+				temperature = <105000>;
+			};
+		};
+	};
+
+	gpuss-4-thermal {
+		trips {
+			trip-point0 {
+				temperature = <105000>;
+			};
+		};
+	};
+
+	gpuss-5-thermal {
+		trips {
+			trip-point0 {
+				temperature = <105000>;
+			};
+		};
+	};
+
+	gpuss-6-thermal {
+		trips {
+			trip-point0 {
+				temperature = <105000>;
+			};
+		};
+	};
+
+	gpuss-7-thermal {
+		trips {
+			trip-point0 {
+				temperature = <105000>;
+			};
+		};
+	};
+};
+
+&uart21 {
+	compatible = "qcom,geni-debug-uart";
+
+	status = "okay";
+};
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: arm: qcom: Add HAMOA-IOT-COME board
  2026-07-27  7:07 ` [PATCH v2 1/2] dt-bindings: arm: qcom: Add HAMOA-IOT-COME board Yuanjie Yang
@ 2026-07-30  6:51   ` Krzysztof Kozlowski
  2026-07-30  9:54     ` yuanjiey
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-07-30  6:51 UTC (permalink / raw)
  To: Yuanjie Yang
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel, tingwei.zhang

On Mon, Jul 27, 2026 at 03:07:16PM +0800, Yuanjie Yang wrote:
> Document the device tree binding for the HAMOA-IOT-COME board based on
> the Qualcomm X1E80100 SoC.
> 
> The platform consists of a system-on-module (SoM) mounted on a carrier
> board. The SoM integrates the core system functionality, including a
> SiP containing the X1E80100 SoC and its supporting components.
> 
> The COME SiP hardware is effectively the same as the SoM used on the

Effectively the same or the same? I googled for "hamoa iot come" and it
gives me zero results. Provide some URLs describing both.

Are you calling same SoM differently based where did you mount it? That
would be complete opposite of the idea of SoM, so I have doubts that
this is SoM in the first place.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: arm: qcom: Add HAMOA-IOT-COME board
  2026-07-30  6:51   ` Krzysztof Kozlowski
@ 2026-07-30  9:54     ` yuanjiey
  2026-07-30 10:08       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 7+ messages in thread
From: yuanjiey @ 2026-07-30  9:54 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel, tingwei.zhang

On Thu, Jul 30, 2026 at 08:51:40AM +0200, Krzysztof Kozlowski wrote:
> On Mon, Jul 27, 2026 at 03:07:16PM +0800, Yuanjie Yang wrote:
> > Document the device tree binding for the HAMOA-IOT-COME board based on
> > the Qualcomm X1E80100 SoC.
> > 
> > The platform consists of a system-on-module (SoM) mounted on a carrier
> > board. The SoM integrates the core system functionality, including a
> > SiP containing the X1E80100 SoC and its supporting components.
> > 
> > The COME SiP hardware is effectively the same as the SoM used on the
> 
> Effectively the same or the same? I googled for "hamoa iot come" and it
> gives me zero results. Provide some URLs describing both.
The same.


Here is pdf about the "hamoa iot come" SiP and SoM
link: https://advdownload.advantech.com.cn/productfile/PIS/SOM-6820/file/SOM-6820_DS(052925)20250529110758.pdf

The preliminary figure provides a complete overview of architecture, including the SiP, SoM.

In Block Diagram
hamoa come Qualcomm X-Elite SiP Module is the SoM on haoma evk.

Thanks,
Yuanjie

> Are you calling same SoM differently based where did you mount it? That
> would be complete opposite of the idea of SoM, so I have doubts that
> this is SoM in the first place.
> 
> Best regards,
> Krzysztof
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: arm: qcom: Add HAMOA-IOT-COME board
  2026-07-30  9:54     ` yuanjiey
@ 2026-07-30 10:08       ` Krzysztof Kozlowski
  2026-07-30 10:23         ` Krzysztof Kozlowski
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-07-30 10:08 UTC (permalink / raw)
  To: yuanjiey
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel, tingwei.zhang

On 30/07/2026 11:54, yuanjiey wrote:
> On Thu, Jul 30, 2026 at 08:51:40AM +0200, Krzysztof Kozlowski wrote:
>> On Mon, Jul 27, 2026 at 03:07:16PM +0800, Yuanjie Yang wrote:
>>> Document the device tree binding for the HAMOA-IOT-COME board based on
>>> the Qualcomm X1E80100 SoC.
>>>
>>> The platform consists of a system-on-module (SoM) mounted on a carrier
>>> board. The SoM integrates the core system functionality, including a
>>> SiP containing the X1E80100 SoC and its supporting components.
>>>
>>> The COME SiP hardware is effectively the same as the SoM used on the
>>
>> Effectively the same or the same? I googled for "hamoa iot come" and it
>> gives me zero results. Provide some URLs describing both.
> The same.
> 
> 
> Here is pdf about the "hamoa iot come" SiP and SoM
> link: https://advdownload.advantech.com.cn/productfile/PIS/SOM-6820/file/SOM-6820_DS(052925)20250529110758.pdf
> 
> The preliminary figure provides a complete overview of architecture, including the SiP, SoM.
> 
> In Block Diagram
> hamoa come Qualcomm X-Elite SiP Module is the SoM on haoma evk.

I see on that PDF "SOM-6820", not "Hamoa IoT Come".

I have an impression that all this and previous bindings and DTs did not
match reality at all. Or did not match how upstream works with such
hardware.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: arm: qcom: Add HAMOA-IOT-COME board
  2026-07-30 10:08       ` Krzysztof Kozlowski
@ 2026-07-30 10:23         ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-07-30 10:23 UTC (permalink / raw)
  To: yuanjiey
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel, tingwei.zhang

On 30/07/2026 12:08, Krzysztof Kozlowski wrote:
> On 30/07/2026 11:54, yuanjiey wrote:
>> On Thu, Jul 30, 2026 at 08:51:40AM +0200, Krzysztof Kozlowski wrote:
>>> On Mon, Jul 27, 2026 at 03:07:16PM +0800, Yuanjie Yang wrote:
>>>> Document the device tree binding for the HAMOA-IOT-COME board based on
>>>> the Qualcomm X1E80100 SoC.
>>>>
>>>> The platform consists of a system-on-module (SoM) mounted on a carrier
>>>> board. The SoM integrates the core system functionality, including a
>>>> SiP containing the X1E80100 SoC and its supporting components.
>>>>
>>>> The COME SiP hardware is effectively the same as the SoM used on the
>>>
>>> Effectively the same or the same? I googled for "hamoa iot come" and it
>>> gives me zero results. Provide some URLs describing both.
>> The same.
>>
>>
>> Here is pdf about the "hamoa iot come" SiP and SoM
>> link: https://advdownload.advantech.com.cn/productfile/PIS/SOM-6820/file/SOM-6820_DS(052925)20250529110758.pdf
>>
>> The preliminary figure provides a complete overview of architecture, including the SiP, SoM.
>>
>> In Block Diagram
>> hamoa come Qualcomm X-Elite SiP Module is the SoM on haoma evk.
> 
> I see on that PDF "SOM-6820", not "Hamoa IoT Come".
> 
> I have an impression that all this and previous bindings and DTs did not
> match reality at all. Or did not match how upstream works with such
> hardware.
> 

Adding more: I did ask in the past to properly represent SoM and
carriers. I pointed to other examples how this is done correctly. I did
look now inside and found absolutely no reference of actual product
called "Hamoa IoT" or "Purwa IoT". For sure there is no "Hamoa IoT Come"
SoM (sometimes COMe appears).

Look, this is a SoM:
https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx95

And you can find corresponding bindings and DTS in tree.

I refuse to accept more of this fake products trying to imitate well
known industry standards in their own way and effectively pushing some
downstream crap, just because that's how we do it in downstream.

Unless you can present us with such product details matching what you
send, I will be NAK-ing these and future patches like that.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-07-30 10:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-27  7:07 [PATCH v2 0/2] Initial support for Qualcomm Hamoa IOT COME board Yuanjie Yang
2026-07-27  7:07 ` [PATCH v2 1/2] dt-bindings: arm: qcom: Add HAMOA-IOT-COME board Yuanjie Yang
2026-07-30  6:51   ` Krzysztof Kozlowski
2026-07-30  9:54     ` yuanjiey
2026-07-30 10:08       ` Krzysztof Kozlowski
2026-07-30 10:23         ` Krzysztof Kozlowski
2026-07-27  7:07 ` [PATCH v2 2/2] arm64: dts: qcom: Add base " Yuanjie Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.