Skip to contentSkip to conversation

arm64: dts: qcom: glymur: Add ASUS Ascent QN10

PATCH Superseded Bjorn Andersson 4 participants 8 messages Nov 14

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover arm64: dts: qcom: glymur: Add ASUS Ascent QN10

Introduce the ASUS Ascent QN10 compact desktop computer.

---
Bjorn Andersson (3):
dt-bindings: arm: qcom: Add ASUS Ascent QN10
arm64: dts: qcom: glymur: Add ASUS Ascent QN10
firmware: qcom: Allow QSEECOM on ASUS Ascent QN10

 Documentation/devicetree/bindings/arm/qcom.yaml    |   1 +
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 .../boot/dts/qcom/glymur-asus-ascent-qn10.dts      | 670 +++++++++++++++++++++
 drivers/firmware/qcom/qcom_scm.c                   |   1 +
 4 files changed, 673 insertions(+)

---
base-commit: 6d582d78fad9d828e575ca0cdcff8ea47a77220b
change-id: 20261113-qn10-29181ac11481

Best regards,

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

PATCH 1/3 dt-bindings: arm: qcom: Add ASUS Ascent QN10

The ASUS Ascent QN10 is a compact desktop computer based on the Qualcomm Snapdragon X2 Elite (Glymur) platform, featuring an 18-core Oryon CPU, Adreno X2-90 GPU, and Hexagon NPU. The system comes with 16 or 32GB of LPDDR5x memory, two M.2 NVMe SSDs slots, Wi-Fi 7, Bluetooth 6.0, 2.5Gb Ethernet, three USB Type-C ports, four USB Type-A port, and HDMI output.

Add a compatible for the device.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index 7ffa4f69987f..a7157795870c 100644
@@ -96,6 +96,7 @@ properties:
 
       - items:
           - enum:
+              - asus,ascent-qn10
               - asus,zenbook-a14-ux3407na
               - asus,zenbook-a16-ux3607oa
               - hp,elitebook-x-g2q
Signature · 1 line
2.55.0
Acked-by on v1 1/3
#2 lore raw

Re: [PATCH 1/3] dt-bindings: arm: qcom: Add ASUS Ascent QN10

Quoted 10 lines · Bjorn Andersson

The ASUS Ascent QN10 is a compact desktop computer based on the Qualcomm Snapdragon X2 Elite (Glymur) platform, featuring an 18-core Oryon CPU, Adreno X2-90 GPU, and Hexagon NPU. The system comes with 16 or 32GB of LPDDR5x memory, two M.2 NVMe SSDs slots, Wi-Fi 7, Bluetooth 6.0, 2.5Gb Ethernet, three USB Type-C ports, four USB Type-A port, and HDMI output.

Add a compatible for the device.

---

Best regards,
Krzysztof

#3 lore raw

PATCH 2/3 arm64: dts: qcom: glymur: Add ASUS Ascent QN10

In reply to Bjorn Andersson

The ASUS Ascent QN10 is a compact desktop computer based on the Qualcomm Snapdragon X2 Elite (Glymur) platform, featuring an 18-core Oryon CPU, Adreno X2-90 GPU, and Hexagon NPU. The system comes with 16 or 32GB of LPDDR5x memory, two M.2 NVMe SSDs slots, Wi-Fi 7, Bluetooth 6.0, 2.5Gb Ethernet, three USB Type-C ports, four USB Type-A ports, and HDMI output.

The HDMI output is driven by the eDP output through a PS195 HDMI converter. The four USB Type-A ports are connected to a GL3590 USB Hub, on one of the USB MP ports. The Ethernet controller is attached on PCIe.

Introduce the DeviceTree for this board.

---
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 .../boot/dts/qcom/glymur-asus-ascent-qn10.dts      | 670 +++++++++++++++++++++
 2 files changed, 671 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 8329c06b60a3..ff38c562f78d 100644
@@ -16,6 +16,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= apq8096sg-db820c.dtb
 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-asus-ascent-qn10.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-asus-zenbook-a14-ux3407na.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-asus-zenbook-a16-ux3607oa.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-crd.dtb
arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts new file +670 -0

670 lines not on this page · raw message

Signature · 1 line
2.55.0
#4 lore raw
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] arm64: dts: qcom: glymur: unused ec_int_n_default node and header includes --

Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] arm64: dts: qcom: glymur: unused ec_int_n_default node and header includes
--

commit 0ef1ffea3eda67a97118c03e5338af8067d89944
Author: Bjorn Andersson <[email protected]>

arm64: dts: qcom: glymur: Add ASUS Ascent QN10

This commit adds the DeviceTree for the ASUS Ascent QN10 desktop based on the Qualcomm Snapdragon X2 Elite (Glymur) platform.

Quoted 18 lines
arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts new file +12 -0
new file mode 100644
index 0000000000000..d61caa2b50222
@@ -0,0 +1,670 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+/dts-v1/;
+
+#include "glymur-cob.dtsi"
+
+#include <dt-bindings/clock/qcom,rpmh.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>

[ ... ]

arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts line 447

Quoted 12 lines

+&tlmm {

arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts new file +11 -0
+	gpio-reserved-ranges = <4 4>, /* EC Secure */
+			       <10 2>, /* OOB UART */
+			       <44 4>, /* TPM */
+			       <65 1>, /* EC reset */
+			       <100 1>; /* Board ID */
+
+	ec_int_n_default: ec-int-n-state {
+		pins = "gpio66";
+		function = "gpio";
+		bias-disable;
+	};

[Severity: Low]
Is ec_int_n_default needed here? Nothing in this file or the included dtsi files references &ec_int_n_default. Also, neither dt-bindings/clock/qcom,rpmh.h nor dt-bindings/pinctrl/qcom,pmic-gpio.h is used in this file.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Reviewed-by on v1 2/3
#5 lore raw
In reply to Bjorn Andersson
Quoted 50 lines · Bjorn Andersson

The ASUS Ascent QN10 is a compact desktop computer based on the Qualcomm Snapdragon X2 Elite (Glymur) platform, featuring an 18-core Oryon CPU, Adreno X2-90 GPU, and Hexagon NPU. The system comes with 16 or 32GB of LPDDR5x memory, two M.2 NVMe SSDs slots, Wi-Fi 7, Bluetooth 6.0, 2.5Gb Ethernet, three USB Type-C ports, four USB Type-A ports, and HDMI output.

The HDMI output is driven by the eDP output through a PS195 HDMI converter. The four USB Type-A ports are connected to a GL3590 USB Hub, on one of the USB MP ports. The Ethernet controller is attached on PCIe.

Introduce the DeviceTree for this board.

---
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 .../boot/dts/qcom/glymur-asus-ascent-qn10.dts      | 670 +++++++++++++++++++++
 2 files changed, 671 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 8329c06b60a3..ff38c562f78d 100644
@@ -16,6 +16,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= apq8096sg-db820c.dtb
 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-asus-ascent-qn10.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-asus-zenbook-a14-ux3407na.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-asus-zenbook-a16-ux3607oa.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-crd.dtb
arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts new file +13 -0
new file mode 100644
index 000000000000..d61caa2b5022
@@ -0,0 +1,670 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+/dts-v1/;
+
+#include "glymur-cob.dtsi"
+
+#include <dt-bindings/clock/qcom,rpmh.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
+

[...]

Quoted 38 lines
arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts new file +38 -0
+	wlan-connector {
+		compatible = "pcie-m2-e-connector";
+		vpcie3v3-supply = <&vreg_wcn_3p3>;
+		vpcie1v8-supply = <&vreg_l15b0>;
+
+		w-disable1-gpios = <&tlmm 117 GPIO_ACTIVE_LOW>;
+		w-disable2-gpios = <&tlmm 116 GPIO_ACTIVE_LOW>;
+
+		pinctrl-0 = <&wcn_wlan_bt_en>;
+		pinctrl-names = "default";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				m2_e_pcie_ep: endpoint@0 {
+					reg = <0>;
+					remote-endpoint = <&pcie4_port0_ep>;
+				};
+			};
+
+			port@3 {
+				reg = <3>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				m2_e_uart_ep: endpoint@0 {
+					reg = <0>;
+					remote-endpoint = <&uart14_ep>;
+				};
+			};
+		};
+	};

arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts line 237

Quoted 10 lines
arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts new file +10 -0
+};
+
+&rpmh_vregs_b_e0 {
+	vreg_l8b0: ldo8 {
+		regulator-name = "vreg_l8b0";
+		regulator-min-microvolt = <3304000>;
+		regulator-max-microvolt = <3304000>;
+		regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+	};
+};

This is in the wrong spot. Move it under remoteproc_soccp.

arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts line 245

Quoted 8 lines
arch/arm64/boot/dts/qcom/glymur-asus-ascent-qn10.dts new file +8 -0
+
+&gpu {
+	status = "okay";
+};
+
+&gmu {
+	status = "okay";
+};

Reverse the order of these two nodes.

The rest looks ok, so with the two above fixed:

#6 lore raw

PATCH 3/3 firmware: qcom: Allow QSEECOM on ASUS Ascent QN10

In reply to Bjorn Andersson

The ASUS Ascent QN10 provides functional uefisecapp over qseecom for EFI variable access. Add the board to the allowlist.

---
 drivers/firmware/qcom/qcom_scm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/qcom/qcom_scm.c +1 -0
index 030e4ba90812..fa94eaa020c3 100644
@@ -2226,6 +2226,7 @@ EXPORT_SYMBOL_GPL(qcom_scm_qseecom_app_send);
  */
 static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = {
 	{ .compatible = "acer,swift-go-sfa14-11" },
+	{ .compatible = "asus,ascent-qn10" },
 	{ .compatible = "asus,vivobook-s15" },
 	{ .compatible = "asus,vivobook-s15-x1p4" },
 	{ .compatible = "asus,zenbook-a14-ux3407na" },
Signature · 1 line
2.55.0