mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK
@ 2026-01-13 10:28 YijieYang
  2026-01-13 10:28 ` [PATCH v3 1/4] dt-bindings: arm: qcom: Document PURWA-IOT-EVK board YijieYang
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: YijieYang @ 2026-01-13 10:28 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: linux-arm-msm, linux-kernel, devicetree, yijie.yang,
	Krzysztof Kozlowski, Dmitry Baryshkov

From: Yijie Yang <yijie.yang@oss.qualcomm.com>

Introduce the device tree, DT bindings, and driver updates required to enable
the bring-up of the PURWA-IOT-EVK evaluation board. Focus is on two key
hardware components:

PURWA-IOT-SOM — A compact System-on-Module integrating the SoC, GPIOs, and
PMICs. Designed for modularity, it can pair with various carrier boards to
support diverse use cases.

PURWA-IOT-EVK — A carrier board tailored for IoT scenarios, providing
essential peripherals such as UART, on-board PMICs, and USB components.

Together, these components form a flexible and scalable platform. Initial
functionality is achieved through proper device tree configuration and driver
support.

The PURWA-IOT-EVK/SOM shares most of its hardware design with
HAMOA-IOT-EVK/SOM, differing primarily in the BOM. Consequently, the DTS files
are largely similar. Both platforms belong to Qualcomm’s IQ-X family. For more
details on the IQ-X series, see:
https://www.qualcomm.com/internet-of-things/products/iq-x-series

Hardware differences between HAMOA-IOT and PURWA-IOT:
- Display — PURWA uses a different number of clocks and frequency compared to
  HAMOA.
- GPU — PURWA integrates a different GPU.
- USB0 — PURWA uses a PS8833 retimer, while HAMOA employs an FSUSB42 as the
  SBU switch.

Features added and enabled:
- UART
- On-board regulators
- Regulators on the SOM
- PMIC GLINK
- USB0 through USB6 and their PHYs
- Embedded USB (eUSB) repeaters
- USB Type-C mux
- PCIe3, PCIe4, PCIe5, PCIe6a
- Reserved memory regions
- Pinctrl
- NVMe
- ADSP, CDSP
- WLAN, Bluetooth (M.2 interface)
- USB DisplayPort and eDP
- Graphics
- Audio

Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
---
Changes in v2:
- Update the GPU firmware path.
- Update the description in the cover letter.
- Reorder the patches.
- Use separate DTS files for Purwa and Hamoa.
- Update base commit.
- Link to v1: https://lore.kernel.org/all/20251222-purwa-v1-0-14ab9316e5ff@oss.qualcomm.com/

Changes in v3:
- Delete unused PMIC and thermal nodes.
- Add WiFi node.
- Add display backlight node.
- Add connectors and VBUS regulators for USB3 and USB6.
- Enable PCIe3 and PCIe5; add PCIe ports along with reset and wake-up GPIOs.
- Link to v2: https://lore.kernel.org/r/20260109-purwa-v2-0-f39ee10684cb@oss.qualcomm.com

---
Yijie Yang (4):
      dt-bindings: arm: qcom: Document PURWA-IOT-EVK board
      firmware: qcom: scm: Allow QSEECOM on PURWA-IOT-EVK
      arm64: dts: qcom: Add PURWA-IOT-SOM platform
      arm64: dts: qcom: Add base PURWA-IOT-EVK board

 Documentation/devicetree/bindings/arm/qcom.yaml |    6 +
 arch/arm64/boot/dts/qcom/Makefile               |    1 +
 arch/arm64/boot/dts/qcom/purwa-iot-evk.dts      | 1539 +++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi     |  685 ++++++++++
 drivers/firmware/qcom/qcom_scm.c                |    1 +
 5 files changed, 2232 insertions(+)
---
base-commit: 377054868ffa544991cc491ecc4016589fc58565
change-id: 20251113-purwa-907ec75b4959

Best regards,
--  
Yijie Yang <yijie.yang@oss.qualcomm.com>


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

* [PATCH v3 1/4] dt-bindings: arm: qcom: Document PURWA-IOT-EVK board
  2026-01-13 10:28 [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK YijieYang
@ 2026-01-13 10:28 ` YijieYang
  2026-01-13 10:28 ` [PATCH v3 2/4] firmware: qcom: scm: Allow QSEECOM on PURWA-IOT-EVK YijieYang
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 14+ messages in thread
From: YijieYang @ 2026-01-13 10:28 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: linux-arm-msm, linux-kernel, devicetree, yijie.yang, Krzysztof Kozlowski

From: Yijie Yang <yijie.yang@oss.qualcomm.com>

Document the device tree bindings for the PURWA-IOT-EVK board, which
uses the Qualcomm X1P42100 SoC.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index d48c625d3fc4..59b8a4267c14 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -1122,6 +1122,12 @@ properties:
           - const: microsoft,denali
           - const: qcom,x1e80100
 
+      - items:
+          - enum:
+              - qcom,purwa-iot-evk
+          - const: qcom,purwa-iot-som
+          - const: qcom,x1p42100
+
       - items:
           - enum:
               - asus,zenbook-a14-ux3407qa-lcd
-- 
2.34.1


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

* [PATCH v3 2/4] firmware: qcom: scm: Allow QSEECOM on PURWA-IOT-EVK
  2026-01-13 10:28 [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK YijieYang
  2026-01-13 10:28 ` [PATCH v3 1/4] dt-bindings: arm: qcom: Document PURWA-IOT-EVK board YijieYang
@ 2026-01-13 10:28 ` YijieYang
  2026-01-13 10:28 ` [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform YijieYang
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 14+ messages in thread
From: YijieYang @ 2026-01-13 10:28 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: linux-arm-msm, linux-kernel, devicetree, yijie.yang, Dmitry Baryshkov

From: Yijie Yang <yijie.yang@oss.qualcomm.com>

Add the Purwa-IoT-EVK board to the list to enable access to EFI variables.

Guarantee that subsystems relying on SCM services can access secure-world
features. This change improves reliability and prevents missing
functionality or boot-time issues by making service availability explicit.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
---
 drivers/firmware/qcom/qcom_scm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c
index 1ced6022c716..9a046b09275d 100644
--- a/drivers/firmware/qcom/qcom_scm.c
+++ b/drivers/firmware/qcom/qcom_scm.c
@@ -2022,6 +2022,7 @@ static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = {
 	{ .compatible = "microsoft,romulus13", },
 	{ .compatible = "microsoft,romulus15", },
 	{ .compatible = "qcom,hamoa-iot-evk" },
+	{ .compatible = "qcom,purwa-iot-evk" },
 	{ .compatible = "qcom,sc8180x-primus" },
 	{ .compatible = "qcom,x1e001de-devkit" },
 	{ .compatible = "qcom,x1e80100-crd" },
-- 
2.34.1


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

* [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform
  2026-01-13 10:28 [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK YijieYang
  2026-01-13 10:28 ` [PATCH v3 1/4] dt-bindings: arm: qcom: Document PURWA-IOT-EVK board YijieYang
  2026-01-13 10:28 ` [PATCH v3 2/4] firmware: qcom: scm: Allow QSEECOM on PURWA-IOT-EVK YijieYang
@ 2026-01-13 10:28 ` YijieYang
  2026-01-13 10:47   ` Dmitry Baryshkov
  2026-01-13 10:28 ` [PATCH v3 4/4] arm64: dts: qcom: Add base PURWA-IOT-EVK board YijieYang
  2026-01-13 14:52 ` [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK Rob Herring
  4 siblings, 1 reply; 14+ messages in thread
From: YijieYang @ 2026-01-13 10:28 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: linux-arm-msm, linux-kernel, devicetree, yijie.yang

From: Yijie Yang <yijie.yang@oss.qualcomm.com>

The PURWA-IOT-SOM is a compact computing module that integrates a System
on Chip (SoC) — specifically the x1p42100 — along with essential
components optimized for IoT applications. It is designed to be mounted on
carrier boards, enabling the development of complete embedded systems.

Make the following peripherals on the SOM enabled:
- Regulators on the SOM
- Reserved memory regions
- PCIe3, PCIe4, PCIe5, PCIe6a
- USB0 through USB6 and their PHYs
- ADSP, CDSP
- Graphic

Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
---
 .../qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi}   | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
 copy arch/arm64/boot/dts/qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi} (99%)

diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
similarity index 99%
copy from arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
copy to arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
index b8e3e04a6fbd..fb90beb1096f 100644
--- a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
+++ b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
@@ -3,11 +3,14 @@
  * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
  */
 
-#include "hamoa.dtsi"
+#include "purwa.dtsi"
 #include "hamoa-pmics.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 
+/delete-node/ &pmc8380_6;
+/delete-node/ &pmc8380_6_thermal;
+
 / {
 	reserved-memory {
 		linux,cma {
@@ -378,16 +381,12 @@ vreg_l3j_0p8: ldo3 {
 	};
 };
 
-&iris {
-	status = "okay";
-};
-
 &gpu {
 	status = "okay";
 };
 
 &gpu_zap_shader {
-	firmware-name = "qcom/x1e80100/gen70500_zap.mbn";
+	firmware-name = "qcom/x1p42100/gen71500_zap.mbn";
 };
 
 &pcie3 {
-- 
2.34.1


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

* [PATCH v3 4/4] arm64: dts: qcom: Add base PURWA-IOT-EVK board
  2026-01-13 10:28 [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK YijieYang
                   ` (2 preceding siblings ...)
  2026-01-13 10:28 ` [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform YijieYang
@ 2026-01-13 10:28 ` YijieYang
  2026-01-13 10:52   ` Dmitry Baryshkov
  2026-01-13 14:52 ` [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK Rob Herring
  4 siblings, 1 reply; 14+ messages in thread
From: YijieYang @ 2026-01-13 10:28 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: linux-arm-msm, linux-kernel, devicetree, yijie.yang

From: Yijie Yang <yijie.yang@oss.qualcomm.com>

The PURWA-IOT-EVK is an evaluation platform for IoT products, composed of
the Purwa IoT SoM and a carrier board. Together, they form a complete
embedded system capable of booting to UART.

PURWA-IOT-EVK uses the PS8833 as a retimer for USB0, unlike HAMOA-IOT-EVK.
Meanwhile, USB0 bypasses the SBU selector FSUSB42. As a result, the glink
topology differs from that of HAMOA-IOT-EVK.

Make the following peripherals on the carrier board enabled:
- UART
- On-board regulators
- USB Type-C mux
- Pinctrl
- Embedded USB (EUSB) repeaters
- NVMe
- pmic-glink
- USB DisplayPorts
- Bluetooth
- WLAN
- Audio
- PCIe ports for PCIe3 through PCIe6a

Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../{hamoa-iot-evk.dts => purwa-iot-evk.dts}  | 102 +++++++++++-------
 2 files changed, 65 insertions(+), 38 deletions(-)
 copy arch/arm64/boot/dts/qcom/{hamoa-iot-evk.dts => purwa-iot-evk.dts} (95%)

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index a5d6f451f85c..d276b3cf14ee 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -126,6 +126,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= msm8998-sony-xperia-yoshino-lilac.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8998-sony-xperia-yoshino-maple.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8998-sony-xperia-yoshino-poplar.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8998-xiaomi-sagit.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= purwa-iot-evk.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= qcm6490-fairphone-fp5.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= qcm6490-idp.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= qcm6490-particle-tachyon.dtb
diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
similarity index 95%
copy from arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
copy to arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
index 2390648a248f..6f779be3c6d7 100644
--- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
+++ b/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
@@ -6,12 +6,12 @@
 /dts-v1/;
 
 #include <dt-bindings/leds/common.h>
-#include "hamoa-iot-som.dtsi"
+#include "purwa-iot-som.dtsi"
 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
 
 / {
-	model = "Qualcomm Technologies, Inc. Hamoa IoT EVK";
-	compatible = "qcom,hamoa-iot-evk", "qcom,hamoa-iot-som", "qcom,x1e80100";
+	model = "Qualcomm Technologies, Inc. Purwa IoT EVK";
+	compatible = "qcom,purwa-iot-evk", "qcom,purwa-iot-som", "qcom,x1p42100";
 	chassis-type = "embedded";
 
 	aliases {
@@ -118,15 +118,15 @@ port@1 {
 					reg = <1>;
 
 					pmic_glink_ss0_ss_in: endpoint {
-						remote-endpoint = <&usb_1_ss0_qmpphy_out>;
+						remote-endpoint = <&retimer_ss0_ss_out>;
 					};
 				};
 
 				port@2 {
 					reg = <2>;
 
-					pmic_glink_ss0_sbu: endpoint {
-						remote-endpoint = <&usb_1_ss0_sbu_mux>;
+					pmic_glink_ss0_con_sbu_in: endpoint {
+						remote-endpoint = <&retimer_ss0_con_sbu_out>;
 					};
 				};
 			};
@@ -618,25 +618,6 @@ platform {
 		};
 	};
 
-	usb-1-ss0-sbu-mux {
-		compatible = "onnn,fsusb42", "gpio-sbu-mux";
-
-		enable-gpios = <&tlmm 168 GPIO_ACTIVE_LOW>;
-		select-gpios = <&tlmm 167 GPIO_ACTIVE_HIGH>;
-
-		pinctrl-0 = <&usb_1_ss0_sbu_default>;
-		pinctrl-names = "default";
-
-		mode-switch;
-		orientation-switch;
-
-		port {
-			usb_1_ss0_sbu_mux: endpoint {
-				remote-endpoint = <&pmic_glink_ss0_sbu>;
-			};
-		};
-	};
-
 	wcn7850-pmu {
 		compatible = "qcom,wcn7850-pmu";
 
@@ -753,6 +734,63 @@ retimer_ss2_con_sbu_out: endpoint {
 	};
 };
 
+&i2c3 {
+	clock-frequency = <400000>;
+
+	status = "okay";
+
+	typec-mux@8 {
+		compatible = "parade,ps8830";
+		reg = <0x8>;
+
+		clocks = <&rpmhcc RPMH_RF_CLK4>;
+
+		vdd-supply = <&vreg_rtmr0_1p15>;
+		vdd33-supply = <&vreg_rtmr0_3p3>;
+		vdd33-cap-supply = <&vreg_rtmr0_3p3>;
+		vddar-supply = <&vreg_rtmr0_1p15>;
+		vddat-supply = <&vreg_rtmr0_1p15>;
+		vddio-supply = <&vreg_rtmr0_1p8>;
+
+		reset-gpios = <&pm8550_gpios 10 GPIO_ACTIVE_LOW>;
+
+		pinctrl-0 = <&rtmr0_default>;
+		pinctrl-names = "default";
+
+		retimer-switch;
+		orientation-switch;
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+
+				retimer_ss0_ss_out: endpoint {
+					remote-endpoint = <&pmic_glink_ss0_ss_in>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;
+
+				retimer_ss0_ss_in: endpoint {
+					remote-endpoint = <&usb_1_ss0_qmpphy_out>;
+				};
+			};
+
+			port@2 {
+				reg = <2>;
+
+				retimer_ss0_con_sbu_out: endpoint {
+					remote-endpoint = <&pmic_glink_ss0_con_sbu_in>;
+				};
+			};
+		};
+	};
+};
+
 &i2c5 {
 	clock-frequency = <400000>;
 
@@ -1102,9 +1140,7 @@ edp_bl_reg_en: edp-bl-reg-en-state {
 		pins = "gpio10";
 		function = "normal";
 	};
-};
 
-&pmc8380_3_gpios {
 	pm_sde7_aux_3p3_en: pcie-aux-3p3-default-state {
 		pins = "gpio8";
 		function = "normal";
@@ -1171,16 +1207,6 @@ &smb2360_2_eusb2_repeater {
 	vdd3-supply = <&vreg_l8b_3p0>;
 };
 
-&spi11 {
-	status = "okay";
-
-	tpm@0 {
-		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
-		reg = <0>;
-		spi-max-frequency = <20000000>;
-	};
-};
-
 &swr0 {
 	status = "okay";
 
@@ -1470,7 +1496,7 @@ &usb_1_ss0_hsphy {
 };
 
 &usb_1_ss0_qmpphy_out {
-	remote-endpoint = <&pmic_glink_ss0_ss_in>;
+	remote-endpoint = <&retimer_ss0_ss_in>;
 };
 
 &usb_1_ss1_dwc3_hs {
-- 
2.34.1


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

* Re: [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform
  2026-01-13 10:28 ` [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform YijieYang
@ 2026-01-13 10:47   ` Dmitry Baryshkov
  2026-01-13 11:29     ` Konrad Dybcio
  0 siblings, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2026-01-13 10:47 UTC (permalink / raw)
  To: YijieYang
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	linux-kernel, devicetree

On Tue, Jan 13, 2026 at 06:28:15PM +0800, YijieYang wrote:
> From: Yijie Yang <yijie.yang@oss.qualcomm.com>
> 
> The PURWA-IOT-SOM is a compact computing module that integrates a System
> on Chip (SoC) — specifically the x1p42100 — along with essential
> components optimized for IoT applications. It is designed to be mounted on
> carrier boards, enabling the development of complete embedded systems.
> 
> Make the following peripherals on the SOM enabled:
> - Regulators on the SOM
> - Reserved memory regions
> - PCIe3, PCIe4, PCIe5, PCIe6a
> - USB0 through USB6 and their PHYs
> - ADSP, CDSP
> - Graphic
> 
> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
> ---
>  .../qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi}   | 11 +++++------
>  1 file changed, 5 insertions(+), 6 deletions(-)
>  copy arch/arm64/boot/dts/qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi} (99%)
> 
> diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
> similarity index 99%
> copy from arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
> copy to arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
> index b8e3e04a6fbd..fb90beb1096f 100644
> --- a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
> +++ b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
> @@ -3,11 +3,14 @@
>   * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>   */
>  
> -#include "hamoa.dtsi"
> +#include "purwa.dtsi"
>  #include "hamoa-pmics.dtsi"
>  #include <dt-bindings/gpio/gpio.h>
>  #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
>  
> +/delete-node/ &pmc8380_6;
> +/delete-node/ &pmc8380_6_thermal;
> +
>  / {
>  	reserved-memory {
>  		linux,cma {
> @@ -378,16 +381,12 @@ vreg_l3j_0p8: ldo3 {
>  	};
>  };
>  
> -&iris {
> -	status = "okay";
> -};

Why?

> -
>  &gpu {
>  	status = "okay";
>  };
>  
>  &gpu_zap_shader {
> -	firmware-name = "qcom/x1e80100/gen70500_zap.mbn";
> +	firmware-name = "qcom/x1p42100/gen71500_zap.mbn";
>  };
>  
>  &pcie3 {
> -- 
> 2.34.1
> 

-- 
With best wishes
Dmitry

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

* Re: [PATCH v3 4/4] arm64: dts: qcom: Add base PURWA-IOT-EVK board
  2026-01-13 10:28 ` [PATCH v3 4/4] arm64: dts: qcom: Add base PURWA-IOT-EVK board YijieYang
@ 2026-01-13 10:52   ` Dmitry Baryshkov
  2026-01-14  2:27     ` Yijie Yang
  0 siblings, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2026-01-13 10:52 UTC (permalink / raw)
  To: YijieYang
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	linux-kernel, devicetree

On Tue, Jan 13, 2026 at 06:28:16PM +0800, YijieYang wrote:
> From: Yijie Yang <yijie.yang@oss.qualcomm.com>
> 
> The PURWA-IOT-EVK is an evaluation platform for IoT products, composed of
> the Purwa IoT SoM and a carrier board. Together, they form a complete
> embedded system capable of booting to UART.
> 
> PURWA-IOT-EVK uses the PS8833 as a retimer for USB0, unlike HAMOA-IOT-EVK.
> Meanwhile, USB0 bypasses the SBU selector FSUSB42. As a result, the glink
> topology differs from that of HAMOA-IOT-EVK.

What is "glink topology"?

> 
> Make the following peripherals on the carrier board enabled:
> - UART
> - On-board regulators
> - USB Type-C mux
> - Pinctrl
> - Embedded USB (EUSB) repeaters
> - NVMe
> - pmic-glink
> - USB DisplayPorts
> - Bluetooth
> - WLAN
> - Audio
> - PCIe ports for PCIe3 through PCIe6a
> 
> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/Makefile             |   1 +
>  .../{hamoa-iot-evk.dts => purwa-iot-evk.dts}  | 102 +++++++++++-------
>  2 files changed, 65 insertions(+), 38 deletions(-)
>  copy arch/arm64/boot/dts/qcom/{hamoa-iot-evk.dts => purwa-iot-evk.dts} (95%)
> 
> @@ -1102,9 +1140,7 @@ edp_bl_reg_en: edp-bl-reg-en-state {
>  		pins = "gpio10";
>  		function = "normal";
>  	};
> -};
>  
> -&pmc8380_3_gpios {

This needs to be fixed in hamoa-iot-evk.dtsi.

>  	pm_sde7_aux_3p3_en: pcie-aux-3p3-default-state {
>  		pins = "gpio8";
>  		function = "normal";
> @@ -1171,16 +1207,6 @@ &smb2360_2_eusb2_repeater {
>  	vdd3-supply = <&vreg_l8b_3p0>;
>  };
>  
> -&spi11 {
> -	status = "okay";
> -
> -	tpm@0 {
> -		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";

No TPM on the board?

> -		reg = <0>;
> -		spi-max-frequency = <20000000>;
> -	};
> -};
> -
>  &swr0 {
>  	status = "okay";
>  
> @@ -1470,7 +1496,7 @@ &usb_1_ss0_hsphy {
>  };
>  
>  &usb_1_ss0_qmpphy_out {
> -	remote-endpoint = <&pmic_glink_ss0_ss_in>;
> +	remote-endpoint = <&retimer_ss0_ss_in>;
>  };
>  
>  &usb_1_ss1_dwc3_hs {
> -- 
> 2.34.1
> 

-- 
With best wishes
Dmitry

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

* Re: [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform
  2026-01-13 10:47   ` Dmitry Baryshkov
@ 2026-01-13 11:29     ` Konrad Dybcio
  2026-01-13 17:50       ` Dmitry Baryshkov
  2026-01-21 13:10       ` Vikash Garodia
  0 siblings, 2 replies; 14+ messages in thread
From: Konrad Dybcio @ 2026-01-13 11:29 UTC (permalink / raw)
  To: Dmitry Baryshkov, YijieYang, Vikash Garodia, Dikshita Agarwal
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	linux-kernel, devicetree

On 1/13/26 11:47 AM, Dmitry Baryshkov wrote:
> On Tue, Jan 13, 2026 at 06:28:15PM +0800, YijieYang wrote:
>> From: Yijie Yang <yijie.yang@oss.qualcomm.com>
>>
>> The PURWA-IOT-SOM is a compact computing module that integrates a System
>> on Chip (SoC) — specifically the x1p42100 — along with essential
>> components optimized for IoT applications. It is designed to be mounted on
>> carrier boards, enabling the development of complete embedded systems.
>>
>> Make the following peripherals on the SOM enabled:
>> - Regulators on the SOM
>> - Reserved memory regions
>> - PCIe3, PCIe4, PCIe5, PCIe6a
>> - USB0 through USB6 and their PHYs
>> - ADSP, CDSP
>> - Graphic
>>
>> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
>> ---
>>  .../qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi}   | 11 +++++------
>>  1 file changed, 5 insertions(+), 6 deletions(-)
>>  copy arch/arm64/boot/dts/qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi} (99%)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
>> similarity index 99%
>> copy from arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
>> copy to arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
>> index b8e3e04a6fbd..fb90beb1096f 100644
>> --- a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
>> @@ -3,11 +3,14 @@
>>   * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>>   */
>>  
>> -#include "hamoa.dtsi"
>> +#include "purwa.dtsi"
>>  #include "hamoa-pmics.dtsi"
>>  #include <dt-bindings/gpio/gpio.h>
>>  #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
>>  
>> +/delete-node/ &pmc8380_6;
>> +/delete-node/ &pmc8380_6_thermal;
>> +
>>  / {
>>  	reserved-memory {
>>  		linux,cma {
>> @@ -378,16 +381,12 @@ vreg_l3j_0p8: ldo3 {
>>  	};
>>  };
>>  
>> -&iris {
>> -	status = "okay";
>> -};
> 
> Why?

Purwa has a slightly different Iris hw version (8.1.2 on Hamoa, 8.1.11 on Purwa)
which I would assume is slighly weaker, plus there's probably a freqtbl change

Let's take this as-is and enable it later

+Vikash, Dikshita this seems like a really low-hanging fruit, could you take
a look at Purwa support in Iris?

Konrad

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

* Re: [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK
  2026-01-13 10:28 [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK YijieYang
                   ` (3 preceding siblings ...)
  2026-01-13 10:28 ` [PATCH v3 4/4] arm64: dts: qcom: Add base PURWA-IOT-EVK board YijieYang
@ 2026-01-13 14:52 ` Rob Herring
  4 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2026-01-13 14:52 UTC (permalink / raw)
  To: YijieYang
  Cc: devicetree, linux-arm-msm, krzk+dt, linux-kernel,
	Dmitry Baryshkov, konradybcio, conor+dt, andersson,
	Krzysztof Kozlowski


On Tue, 13 Jan 2026 18:28:12 +0800, YijieYang wrote:
> From: Yijie Yang <yijie.yang@oss.qualcomm.com>
> 
> Introduce the device tree, DT bindings, and driver updates required to enable
> the bring-up of the PURWA-IOT-EVK evaluation board. Focus is on two key
> hardware components:
> 
> PURWA-IOT-SOM — A compact System-on-Module integrating the SoC, GPIOs, and
> PMICs. Designed for modularity, it can pair with various carrier boards to
> support diverse use cases.
> 
> PURWA-IOT-EVK — A carrier board tailored for IoT scenarios, providing
> essential peripherals such as UART, on-board PMICs, and USB components.
> 
> Together, these components form a flexible and scalable platform. Initial
> functionality is achieved through proper device tree configuration and driver
> support.
> 
> The PURWA-IOT-EVK/SOM shares most of its hardware design with
> HAMOA-IOT-EVK/SOM, differing primarily in the BOM. Consequently, the DTS files
> are largely similar. Both platforms belong to Qualcomm’s IQ-X family. For more
> details on the IQ-X series, see:
> https://www.qualcomm.com/internet-of-things/products/iq-x-series
> 
> Hardware differences between HAMOA-IOT and PURWA-IOT:
> - Display — PURWA uses a different number of clocks and frequency compared to
>   HAMOA.
> - GPU — PURWA integrates a different GPU.
> - USB0 — PURWA uses a PS8833 retimer, while HAMOA employs an FSUSB42 as the
>   SBU switch.
> 
> Features added and enabled:
> - UART
> - On-board regulators
> - Regulators on the SOM
> - PMIC GLINK
> - USB0 through USB6 and their PHYs
> - Embedded USB (eUSB) repeaters
> - USB Type-C mux
> - PCIe3, PCIe4, PCIe5, PCIe6a
> - Reserved memory regions
> - Pinctrl
> - NVMe
> - ADSP, CDSP
> - WLAN, Bluetooth (M.2 interface)
> - USB DisplayPort and eDP
> - Graphics
> - Audio
> 
> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
> ---
> Changes in v2:
> - Update the GPU firmware path.
> - Update the description in the cover letter.
> - Reorder the patches.
> - Use separate DTS files for Purwa and Hamoa.
> - Update base commit.
> - Link to v1: https://lore.kernel.org/all/20251222-purwa-v1-0-14ab9316e5ff@oss.qualcomm.com/
> 
> Changes in v3:
> - Delete unused PMIC and thermal nodes.
> - Add WiFi node.
> - Add display backlight node.
> - Add connectors and VBUS regulators for USB3 and USB6.
> - Enable PCIe3 and PCIe5; add PCIe ports along with reset and wake-up GPIOs.
> - Link to v2: https://lore.kernel.org/r/20260109-purwa-v2-0-f39ee10684cb@oss.qualcomm.com
> 
> ---
> Yijie Yang (4):
>       dt-bindings: arm: qcom: Document PURWA-IOT-EVK board
>       firmware: qcom: scm: Allow QSEECOM on PURWA-IOT-EVK
>       arm64: dts: qcom: Add PURWA-IOT-SOM platform
>       arm64: dts: qcom: Add base PURWA-IOT-EVK board
> 
>  Documentation/devicetree/bindings/arm/qcom.yaml |    6 +
>  arch/arm64/boot/dts/qcom/Makefile               |    1 +
>  arch/arm64/boot/dts/qcom/purwa-iot-evk.dts      | 1539 +++++++++++++++++++++++
>  arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi     |  685 ++++++++++
>  drivers/firmware/qcom/qcom_scm.c                |    1 +
>  5 files changed, 2232 insertions(+)
> ---
> base-commit: 377054868ffa544991cc491ecc4016589fc58565
> change-id: 20251113-purwa-907ec75b4959
> 
> Best regards,
> --
> Yijie Yang <yijie.yang@oss.qualcomm.com>
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


This patch series was applied (using b4) to base:
 Base: 377054868ffa544991cc491ecc4016589fc58565 (use --merge-base to override)

If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)

New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/qcom/' for 20260113-purwa-v3-0-16eefacbdce9@oss.qualcomm.com:

arch/arm64/boot/dts/qcom/purwa-iot-evk.dtb: phy@1bd4000 (qcom,x1p42100-qmp-gen4x4-pcie-phy): 'qcom,4ln-config-sel' is a required property
	from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-pcie-phy.yaml






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

* Re: [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform
  2026-01-13 11:29     ` Konrad Dybcio
@ 2026-01-13 17:50       ` Dmitry Baryshkov
  2026-01-14  1:38         ` Yijie Yang
  2026-01-21 13:10       ` Vikash Garodia
  1 sibling, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2026-01-13 17:50 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: YijieYang, Vikash Garodia, Dikshita Agarwal, andersson,
	konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	linux-kernel, devicetree

On Tue, Jan 13, 2026 at 12:29:43PM +0100, Konrad Dybcio wrote:
> On 1/13/26 11:47 AM, Dmitry Baryshkov wrote:
> > On Tue, Jan 13, 2026 at 06:28:15PM +0800, YijieYang wrote:
> >> From: Yijie Yang <yijie.yang@oss.qualcomm.com>
> >>
> >> The PURWA-IOT-SOM is a compact computing module that integrates a System
> >> on Chip (SoC) — specifically the x1p42100 — along with essential
> >> components optimized for IoT applications. It is designed to be mounted on
> >> carrier boards, enabling the development of complete embedded systems.
> >>
> >> Make the following peripherals on the SOM enabled:
> >> - Regulators on the SOM
> >> - Reserved memory regions
> >> - PCIe3, PCIe4, PCIe5, PCIe6a
> >> - USB0 through USB6 and their PHYs
> >> - ADSP, CDSP
> >> - Graphic
> >>
> >> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
> >> ---
> >>  .../qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi}   | 11 +++++------
> >>  1 file changed, 5 insertions(+), 6 deletions(-)
> >>  copy arch/arm64/boot/dts/qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi} (99%)
> >>
> >> diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
> >> similarity index 99%
> >> copy from arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
> >> copy to arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
> >> index b8e3e04a6fbd..fb90beb1096f 100644
> >> --- a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
> >> +++ b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
> >> @@ -3,11 +3,14 @@
> >>   * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> >>   */
> >>  
> >> -#include "hamoa.dtsi"
> >> +#include "purwa.dtsi"
> >>  #include "hamoa-pmics.dtsi"
> >>  #include <dt-bindings/gpio/gpio.h>
> >>  #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> >>  
> >> +/delete-node/ &pmc8380_6;
> >> +/delete-node/ &pmc8380_6_thermal;
> >> +
> >>  / {
> >>  	reserved-memory {
> >>  		linux,cma {
> >> @@ -378,16 +381,12 @@ vreg_l3j_0p8: ldo3 {
> >>  	};
> >>  };
> >>  
> >> -&iris {
> >> -	status = "okay";
> >> -};
> > 
> > Why?
> 
> Purwa has a slightly different Iris hw version (8.1.2 on Hamoa, 8.1.11 on Purwa)
> which I would assume is slighly weaker, plus there's probably a freqtbl change
> 
> Let's take this as-is and enable it later

=> commit message, please.

> 
> +Vikash, Dikshita this seems like a really low-hanging fruit, could you take
> a look at Purwa support in Iris?
> 
> Konrad

-- 
With best wishes
Dmitry

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

* Re: [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform
  2026-01-13 17:50       ` Dmitry Baryshkov
@ 2026-01-14  1:38         ` Yijie Yang
  0 siblings, 0 replies; 14+ messages in thread
From: Yijie Yang @ 2026-01-14  1:38 UTC (permalink / raw)
  To: Dmitry Baryshkov, Konrad Dybcio
  Cc: Vikash Garodia, Dikshita Agarwal, andersson, konradybcio, robh,
	krzk+dt, conor+dt, linux-arm-msm, linux-kernel, devicetree



On 1/14/2026 1:50 AM, Dmitry Baryshkov wrote:
> On Tue, Jan 13, 2026 at 12:29:43PM +0100, Konrad Dybcio wrote:
>> On 1/13/26 11:47 AM, Dmitry Baryshkov wrote:
>>> On Tue, Jan 13, 2026 at 06:28:15PM +0800, YijieYang wrote:
>>>> From: Yijie Yang <yijie.yang@oss.qualcomm.com>
>>>>
>>>> The PURWA-IOT-SOM is a compact computing module that integrates a System
>>>> on Chip (SoC) — specifically the x1p42100 — along with essential
>>>> components optimized for IoT applications. It is designed to be mounted on
>>>> carrier boards, enabling the development of complete embedded systems.
>>>>
>>>> Make the following peripherals on the SOM enabled:
>>>> - Regulators on the SOM
>>>> - Reserved memory regions
>>>> - PCIe3, PCIe4, PCIe5, PCIe6a
>>>> - USB0 through USB6 and their PHYs
>>>> - ADSP, CDSP
>>>> - Graphic
>>>>
>>>> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
>>>> ---
>>>>   .../qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi}   | 11 +++++------
>>>>   1 file changed, 5 insertions(+), 6 deletions(-)
>>>>   copy arch/arm64/boot/dts/qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi} (99%)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
>>>> similarity index 99%
>>>> copy from arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
>>>> copy to arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
>>>> index b8e3e04a6fbd..fb90beb1096f 100644
>>>> --- a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
>>>> +++ b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
>>>> @@ -3,11 +3,14 @@
>>>>    * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>>>>    */
>>>>   
>>>> -#include "hamoa.dtsi"
>>>> +#include "purwa.dtsi"
>>>>   #include "hamoa-pmics.dtsi"
>>>>   #include <dt-bindings/gpio/gpio.h>
>>>>   #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
>>>>   
>>>> +/delete-node/ &pmc8380_6;
>>>> +/delete-node/ &pmc8380_6_thermal;
>>>> +
>>>>   / {
>>>>   	reserved-memory {
>>>>   		linux,cma {
>>>> @@ -378,16 +381,12 @@ vreg_l3j_0p8: ldo3 {
>>>>   	};
>>>>   };
>>>>   
>>>> -&iris {
>>>> -	status = "okay";
>>>> -};
>>>
>>> Why?
>>
>> Purwa has a slightly different Iris hw version (8.1.2 on Hamoa, 8.1.11 on Purwa)
>> which I would assume is slighly weaker, plus there's probably a freqtbl change
>>
>> Let's take this as-is and enable it later
> 
> => commit message, please.

Will do.

> 
>>
>> +Vikash, Dikshita this seems like a really low-hanging fruit, could you take
>> a look at Purwa support in Iris?
>>
>> Konrad
> 

-- 
Best Regards,
Yijie


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

* Re: [PATCH v3 4/4] arm64: dts: qcom: Add base PURWA-IOT-EVK board
  2026-01-13 10:52   ` Dmitry Baryshkov
@ 2026-01-14  2:27     ` Yijie Yang
  2026-01-14  3:14       ` Dmitry Baryshkov
  0 siblings, 1 reply; 14+ messages in thread
From: Yijie Yang @ 2026-01-14  2:27 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	linux-kernel, devicetree



On 1/13/2026 6:52 PM, Dmitry Baryshkov wrote:
> On Tue, Jan 13, 2026 at 06:28:16PM +0800, YijieYang wrote:
>> From: Yijie Yang <yijie.yang@oss.qualcomm.com>
>>
>> The PURWA-IOT-EVK is an evaluation platform for IoT products, composed of
>> the Purwa IoT SoM and a carrier board. Together, they form a complete
>> embedded system capable of booting to UART.
>>
>> PURWA-IOT-EVK uses the PS8833 as a retimer for USB0, unlike HAMOA-IOT-EVK.
>> Meanwhile, USB0 bypasses the SBU selector FSUSB42. As a result, the glink
>> topology differs from that of HAMOA-IOT-EVK.
> 
> What is "glink topology"?

What I’m referring to here is that the graph composed of glink nodes and 
their peers.

> 
>>
>> Make the following peripherals on the carrier board enabled:
>> - UART
>> - On-board regulators
>> - USB Type-C mux
>> - Pinctrl
>> - Embedded USB (EUSB) repeaters
>> - NVMe
>> - pmic-glink
>> - USB DisplayPorts
>> - Bluetooth
>> - WLAN
>> - Audio
>> - PCIe ports for PCIe3 through PCIe6a
>>
>> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
>> ---
>>   arch/arm64/boot/dts/qcom/Makefile             |   1 +
>>   .../{hamoa-iot-evk.dts => purwa-iot-evk.dts}  | 102 +++++++++++-------
>>   2 files changed, 65 insertions(+), 38 deletions(-)
>>   copy arch/arm64/boot/dts/qcom/{hamoa-iot-evk.dts => purwa-iot-evk.dts} (95%)
>>
>> @@ -1102,9 +1140,7 @@ edp_bl_reg_en: edp-bl-reg-en-state {
>>   		pins = "gpio10";
>>   		function = "normal";
>>   	};
>> -};
>>   
>> -&pmc8380_3_gpios {
> 
> This needs to be fixed in hamoa-iot-evk.dtsi.

Will do.

> 
>>   	pm_sde7_aux_3p3_en: pcie-aux-3p3-default-state {
>>   		pins = "gpio8";
>>   		function = "normal";
>> @@ -1171,16 +1207,6 @@ &smb2360_2_eusb2_repeater {
>>   	vdd3-supply = <&vreg_l8b_3p0>;
>>   };
>>   
>> -&spi11 {
>> -	status = "okay";
>> -
>> -	tpm@0 {
>> -		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
> 
> No TPM on the board?

It has not been verified yet since this patch set was sent out; I will 
add it.

> 
>> -		reg = <0>;
>> -		spi-max-frequency = <20000000>;
>> -	};
>> -};
>> -
>>   &swr0 {
>>   	status = "okay";
>>   
>> @@ -1470,7 +1496,7 @@ &usb_1_ss0_hsphy {
>>   };
>>   
>>   &usb_1_ss0_qmpphy_out {
>> -	remote-endpoint = <&pmic_glink_ss0_ss_in>;
>> +	remote-endpoint = <&retimer_ss0_ss_in>;
>>   };
>>   
>>   &usb_1_ss1_dwc3_hs {
>> -- 
>> 2.34.1
>>
> 

-- 
Best Regards,
Yijie


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

* Re: [PATCH v3 4/4] arm64: dts: qcom: Add base PURWA-IOT-EVK board
  2026-01-14  2:27     ` Yijie Yang
@ 2026-01-14  3:14       ` Dmitry Baryshkov
  0 siblings, 0 replies; 14+ messages in thread
From: Dmitry Baryshkov @ 2026-01-14  3:14 UTC (permalink / raw)
  To: Yijie Yang
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	linux-kernel, devicetree

On Wed, Jan 14, 2026 at 10:27:16AM +0800, Yijie Yang wrote:
> 
> 
> On 1/13/2026 6:52 PM, Dmitry Baryshkov wrote:
> > On Tue, Jan 13, 2026 at 06:28:16PM +0800, YijieYang wrote:
> > > From: Yijie Yang <yijie.yang@oss.qualcomm.com>
> > > 
> > > The PURWA-IOT-EVK is an evaluation platform for IoT products, composed of
> > > the Purwa IoT SoM and a carrier board. Together, they form a complete
> > > embedded system capable of booting to UART.
> > > 
> > > PURWA-IOT-EVK uses the PS8833 as a retimer for USB0, unlike HAMOA-IOT-EVK.
> > > Meanwhile, USB0 bypasses the SBU selector FSUSB42. As a result, the glink
> > > topology differs from that of HAMOA-IOT-EVK.
> > 
> > What is "glink topology"?
> 
> What I’m referring to here is that the graph composed of glink nodes and
> their peers.

Then:

As a result, implement corresponding changes to OF graph connections
between USB-C connectors and USB host controllers.

Or just drop this phrase completely.

> 
> > 
> > > 
> > > Make the following peripherals on the carrier board enabled:
> > > - UART
> > > - On-board regulators
> > > - USB Type-C mux
> > > - Pinctrl
> > > - Embedded USB (EUSB) repeaters
> > > - NVMe
> > > - pmic-glink
> > > - USB DisplayPorts
> > > - Bluetooth
> > > - WLAN
> > > - Audio
> > > - PCIe ports for PCIe3 through PCIe6a
> > > 
> > > Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
> > > ---
> > >   arch/arm64/boot/dts/qcom/Makefile             |   1 +
> > >   .../{hamoa-iot-evk.dts => purwa-iot-evk.dts}  | 102 +++++++++++-------
> > >   2 files changed, 65 insertions(+), 38 deletions(-)
> > >   copy arch/arm64/boot/dts/qcom/{hamoa-iot-evk.dts => purwa-iot-evk.dts} (95%)
> > > 
> > > @@ -1102,9 +1140,7 @@ edp_bl_reg_en: edp-bl-reg-en-state {
> > >   		pins = "gpio10";
> > >   		function = "normal";
> > >   	};
> > > -};
> > > -&pmc8380_3_gpios {
> > 
> > This needs to be fixed in hamoa-iot-evk.dtsi.
> 
> Will do.
> 
> > 
> > >   	pm_sde7_aux_3p3_en: pcie-aux-3p3-default-state {
> > >   		pins = "gpio8";
> > >   		function = "normal";
> > > @@ -1171,16 +1207,6 @@ &smb2360_2_eusb2_repeater {
> > >   	vdd3-supply = <&vreg_l8b_3p0>;
> > >   };
> > > -&spi11 {
> > > -	status = "okay";
> > > -
> > > -	tpm@0 {
> > > -		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
> > 
> > No TPM on the board?
> 
> It has not been verified yet since this patch set was sent out; I will add
> it.
> 
> > 
> > > -		reg = <0>;
> > > -		spi-max-frequency = <20000000>;
> > > -	};
> > > -};
> > > -
> > >   &swr0 {
> > >   	status = "okay";
> > > @@ -1470,7 +1496,7 @@ &usb_1_ss0_hsphy {
> > >   };
> > >   &usb_1_ss0_qmpphy_out {
> > > -	remote-endpoint = <&pmic_glink_ss0_ss_in>;
> > > +	remote-endpoint = <&retimer_ss0_ss_in>;
> > >   };
> > >   &usb_1_ss1_dwc3_hs {
> > > -- 
> > > 2.34.1
> > > 
> > 
> 
> -- 
> Best Regards,
> Yijie
> 

-- 
With best wishes
Dmitry

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

* Re: [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform
  2026-01-13 11:29     ` Konrad Dybcio
  2026-01-13 17:50       ` Dmitry Baryshkov
@ 2026-01-21 13:10       ` Vikash Garodia
  1 sibling, 0 replies; 14+ messages in thread
From: Vikash Garodia @ 2026-01-21 13:10 UTC (permalink / raw)
  To: Konrad Dybcio, Dmitry Baryshkov, YijieYang, Dikshita Agarwal,
	Wangao Wang
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	linux-kernel, devicetree, Renjiang Han


On 1/13/2026 4:59 PM, Konrad Dybcio wrote:
> On 1/13/26 11:47 AM, Dmitry Baryshkov wrote:
>> On Tue, Jan 13, 2026 at 06:28:15PM +0800, YijieYang wrote:
>>> From: Yijie Yang <yijie.yang@oss.qualcomm.com>
>>>
>>> The PURWA-IOT-SOM is a compact computing module that integrates a System
>>> on Chip (SoC) — specifically the x1p42100 — along with essential
>>> components optimized for IoT applications. It is designed to be mounted on
>>> carrier boards, enabling the development of complete embedded systems.
>>>
>>> Make the following peripherals on the SOM enabled:
>>> - Regulators on the SOM
>>> - Reserved memory regions
>>> - PCIe3, PCIe4, PCIe5, PCIe6a
>>> - USB0 through USB6 and their PHYs
>>> - ADSP, CDSP
>>> - Graphic
>>>
>>> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
>>> ---
>>>   .../qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi}   | 11 +++++------
>>>   1 file changed, 5 insertions(+), 6 deletions(-)
>>>   copy arch/arm64/boot/dts/qcom/{hamoa-iot-som.dtsi => purwa-iot-som.dtsi} (99%)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
>>> similarity index 99%
>>> copy from arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
>>> copy to arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
>>> index b8e3e04a6fbd..fb90beb1096f 100644
>>> --- a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi
>>> @@ -3,11 +3,14 @@
>>>    * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>>>    */
>>>   
>>> -#include "hamoa.dtsi"
>>> +#include "purwa.dtsi"
>>>   #include "hamoa-pmics.dtsi"
>>>   #include <dt-bindings/gpio/gpio.h>
>>>   #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
>>>   
>>> +/delete-node/ &pmc8380_6;
>>> +/delete-node/ &pmc8380_6_thermal;
>>> +
>>>   / {
>>>   	reserved-memory {
>>>   		linux,cma {
>>> @@ -378,16 +381,12 @@ vreg_l3j_0p8: ldo3 {
>>>   	};
>>>   };
>>>   
>>> -&iris {
>>> -	status = "okay";
>>> -};
>>
>> Why?
> 
> Purwa has a slightly different Iris hw version (8.1.2 on Hamoa, 8.1.11 on Purwa)
> which I would assume is slighly weaker, plus there's probably a freqtbl change
> 
> Let's take this as-is and enable it later
> 
> +Vikash, Dikshita this seems like a really low-hanging fruit, could you take
> a look at Purwa support in Iris?

video should leverage most from hamoa, infact Wangao have validated iris 
on purwa very recently.

+Wangao to list the changes he made to bring it up

> 
> Konrad


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

end of thread, other threads:[~2026-01-21 13:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-13 10:28 [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK YijieYang
2026-01-13 10:28 ` [PATCH v3 1/4] dt-bindings: arm: qcom: Document PURWA-IOT-EVK board YijieYang
2026-01-13 10:28 ` [PATCH v3 2/4] firmware: qcom: scm: Allow QSEECOM on PURWA-IOT-EVK YijieYang
2026-01-13 10:28 ` [PATCH v3 3/4] arm64: dts: qcom: Add PURWA-IOT-SOM platform YijieYang
2026-01-13 10:47   ` Dmitry Baryshkov
2026-01-13 11:29     ` Konrad Dybcio
2026-01-13 17:50       ` Dmitry Baryshkov
2026-01-14  1:38         ` Yijie Yang
2026-01-21 13:10       ` Vikash Garodia
2026-01-13 10:28 ` [PATCH v3 4/4] arm64: dts: qcom: Add base PURWA-IOT-EVK board YijieYang
2026-01-13 10:52   ` Dmitry Baryshkov
2026-01-14  2:27     ` Yijie Yang
2026-01-14  3:14       ` Dmitry Baryshkov
2026-01-13 14:52 ` [PATCH v3 0/4] Initial patch set for PURWA-IOT-EVK Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®