Add support for ECS LIVA QC710 mini PC/devkit
Subsystems (7)
cover Add support for ECS LIVA QC710 mini PC/devkit
This piece of Arm history was an early Windows dev kit before Volterra.. (Though it holds the brand of its manufacturer Elitegroup, not Microsoft's). It's also a cheap device that can be used wherever you need a mini PC. Now with Linux ^_^
Most things work, including Wi-Fi, Bluetooth, USB, eMMC, microSD, GPU.
The device tree is mostly based on Aspire1, with most things deleted :) and the "fun" USB/DP setup added (the QMPPHY is permanently in 2+2 mode, 2 lanes are routed to a USB-A SuperSpeed port, and the other 2 to a DP-to-HDMI bridge, which is permanently enabled).
The HDMI display does work.. though I'm seeing flickering artifacts in the
top part of the screen. I was told it also happens with DP on other sc7180
devices. A "disp_cc_mdss_dp_pixel_clk_src: rcg didn't update its configuration."
is logged once on boot, but seems to be a red herring, just due to trying
too early (the clock actually updates fine later, changes on mode switch etc.)
But then, I see this fault spammed constantly when display is working:
arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9bc00000, fsynr=0x10021, cbfrsynra=0x800, cb=8 Suspiciously, 0x9bc00000 is the PA for the framebuffer provided by EFI!
Though the issue doesn't go away if efifb is completely disabled in Linux.
As for HDMI audio, it does work on Windows so there must be some way to get it working, I've tried configuring DP audio and I'm seeing the *exact* same errors as https://lore.kernel.org/linux-arm-msm/[email protected]/
(DSP returned error[9], AFE enable for port 0x6020 failed -22) but that fix of course has long been applied so it's a different issue with the same symptom (I checked with prints, it's *not* DP not being ready).
~val
Val Packett (5):
dt-bindings: arm: qcom: Add ECS LIVA QC710
dt-bindings: display: bridge: simple: document the Algoltek AG6311
DP-to-HDMI bridge
drm/bridge: simple: add the Algoltek AG6311 DP-to-HDMI bridge
arm64: dts: qcom: Add support for ECS LIVA QC710
firmware: qcom: scm: Allow QSEECOM on ECS LIVA QC710
.../devicetree/bindings/arm/qcom.yaml | 1 + .../display/bridge/simple-bridge.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/sc7180-ecs-liva-qc710.dts | 625 ++++++++++++++++++ drivers/firmware/qcom/qcom_scm.c | 1 + drivers/gpu/drm/bridge/simple-bridge.c | 5 + 6 files changed, 635 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts
Signature · 1 line
2.51.2
PATCH 1/5 dt-bindings: arm: qcom: Add ECS LIVA QC710
Document the SC7180 (Snapdragon 7c) based ECS LIVA QC710 mini PC/devkit.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -385,6 +385,7 @@ properties: - items: - enum: - acer,aspire1 + - ecs,liva-qc710 - qcom,sc7180-idp - const: qcom,sc7180
Signature · 1 line
2.51.2
PATCH 2/5 dt-bindings: display: bridge: simple: document the Algoltek AG6311 DP-to-HDMI bridge
In reply to Val PackettThe Algoltek AG6311 is a transparent DisplayPort to HDMI bridge.
--- .../devicetree/bindings/display/bridge/simple-bridge.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +1 -0
@@ -27,6 +27,7 @@ properties: - const: adi,adv7123 - enum: - adi,adv7123 + - algoltek,ag6311 - asl-tek,cs5263 - dumb-vga-dac - parade,ps185hdm
Signature · 1 line
2.51.2
PATCH 3/5 drm/bridge: simple: add the Algoltek AG6311 DP-to-HDMI bridge
In reply to Val PackettThe Algoltek AG6311 is a transparent DisplayPort to HDMI bridge.
--- drivers/gpu/drm/bridge/simple-bridge.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/gpu/drm/bridge/simple-bridge.c +5 -0
@@ -260,6 +260,11 @@ static const struct of_device_id simple_bridge_match[] = { .timings = &default_bridge_timings, .connector_type = DRM_MODE_CONNECTOR_VGA, }, + }, { + .compatible = "algoltek,ag6311", + .data = &(const struct simple_bridge_info) { + .connector_type = DRM_MODE_CONNECTOR_HDMIA, + }, }, { .compatible = "asl-tek,cs5263", .data = &(const struct simple_bridge_info) {
Signature · 1 line
2.51.2
PATCH 4/5 arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Val PackettAdd a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit.
Working:
- Wi-Fi (wcn3990 hw1.0)
- Bluetooth
- USB Type-A (USB3 and USB2)
- Ethernet (over USB2)
- HDMI Display
- eMMC
- SDHC (microSD slot)
Not included:
- HDMI Audio
- EC (IT8987)
--- arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/sc7180-ecs-liva-qc710.dts | 625 ++++++++++++++++++ 2 files changed, 627 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts
arch/arm64/boot/dts/qcom/Makefile +2 -0
@@ -163,6 +163,8 @@ dtb-$(CONFIG_ARCH_QCOM) += sa8775p-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += sa8775p-ride-r3.dtb sc7180-acer-aspire1-el2-dtbs := sc7180-acer-aspire1.dtb sc7180-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += sc7180-acer-aspire1.dtb sc7180-acer-aspire1-el2.dtb +sc7180-ecs-liva-qc710-el2-dtbs := sc7180-ecs-liva-qc710.dtb sc7180-el2.dtbo +dtb-$(CONFIG_ARCH_QCOM) += sc7180-ecs-liva-qc710.dtb sc7180-ecs-liva-qc710-el2.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-idp.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1-lte.dtb
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +625 -0
625 lines not on this page · raw message
Signature · 1 line
2.51.2
PATCH 5/5 firmware: qcom: scm: Allow QSEECOM on ECS LIVA QC710
In reply to Val PackettAllow this machine to access efivars through qseecom/uefisecapp.
--- drivers/firmware/qcom/qcom_scm.c | 1 + 1 file changed, 1 insertion(+)
drivers/firmware/qcom/qcom_scm.c +1 -0
@@ -2007,6 +2007,7 @@ static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = { { .compatible = "dell,inspiron-14-plus-7441" }, { .compatible = "dell,latitude-7455" }, { .compatible = "dell,xps13-9345" }, + { .compatible = "ecs,liva-qc710" }, { .compatible = "hp,elitebook-ultra-g1q" }, { .compatible = "hp,omnibook-x14" }, { .compatible = "huawei,gaokun3" },
Signature · 1 line
2.51.2
Re: [PATCH 3/5] drm/bridge: simple: add the Algoltek AG6311 DP-to-HDMI bridge
In reply to Val PackettQuoted 7 lines · Val Packett
The Algoltek AG6311 is a transparent DisplayPort to HDMI bridge.
Signed-off-by Val Packett <[email protected]>--- drivers/gpu/drm/bridge/simple-bridge.c | 5 +++++ 1 file changed, 5 insertions(+)
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Val PackettQuoted 134 lines · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit.
Working:
- Wi-Fi (wcn3990 hw1.0)
- Bluetooth
- USB Type-A (USB3 and USB2)
- Ethernet (over USB2)
- HDMI Display
- eMMC
- SDHC (microSD slot)Not included:
- HDMI Audio
- EC (IT8987)Signed-off-by Val Packett <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/sc7180-ecs-liva-qc710.dts | 625 ++++++++++++++++++ 2 files changed, 627 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dtsarch/arm64/boot/dts/qcom/Makefile +2
-0@@ -163,6 +163,8 @@ dtb-$(CONFIG_ARCH_QCOM) += sa8775p-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += sa8775p-ride-r3.dtb sc7180-acer-aspire1-el2-dtbs := sc7180-acer-aspire1.dtb sc7180-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += sc7180-acer-aspire1.dtb sc7180-acer-aspire1-el2.dtb +sc7180-ecs-liva-qc710-el2-dtbs := sc7180-ecs-liva-qc710.dtb sc7180-el2.dtbo +dtb-$(CONFIG_ARCH_QCOM) += sc7180-ecs-liva-qc710.dtb sc7180-ecs-liva-qc710-el2.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-idp.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1-lte.dtbarch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +93
-0@@ -0,0 +1,625 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/dts-v1/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/sound/qcom,q6asm.h> +#include <dt-bindings/regulator/qcom,rpmh-regulator.h> + +#include "sc7180.dtsi" + +#include "pm6150.dtsi" +#include "pm6150l.dtsi" + +/delete-node/ &tz_mem; +/delete-node/ &ipa_fw_mem; + +/ { + model = "ECS LIVA QC710"; + compatible = "ecs,liva-qc710", "qcom,sc7180"; + chassis-type = "desktop"; + + aliases { + bluetooth0 = &bluetooth; + hsuart0 = &uart3; + wifi0 = &wifi; + }; + + hdmi-bridge { + compatible = "algoltek,ag6311"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + hdmi_bridge_dp_in: endpoint { + remote-endpoint = <&usb_1_qmpphy_dp_out>; + }; + }; + + port@1 { + reg = <1>; + + hdmi_bridge_tmds_out: endpoint { + remote-endpoint = <&hdmi_con>; + }; + }; + }; + }; + + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con: endpoint { + remote-endpoint = <&hdmi_bridge_tmds_out>; + }; + }; + }; + + reserved-memory { + gpu_mem: zap-shader@80840000 { + reg = <0x0 0x80840000 0 0x2000>; + no-map; + }; + + venus_mem: venus@85b00000 { + reg = <0x0 0x85b00000 0 0x500000>; + no-map; + }; + + mpss_mem: mpss@86000000 { + reg = <0x0 0x86000000 0x0 0x2000000>; + no-map; + }; + + adsp_mem: adsp@8e400000 { + reg = <0x0 0x8e400000 0x0 0x2800000>; + no-map; + }; + + wlan_mem: wlan@93900000 { + reg = <0x0 0x93900000 0x0 0x200000>; + no-map; + }; + }; + + usb_a_connector: usb-a-connector { + compatible = "usb-a-connector"; +
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 103
Quoted 10 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +10
-0+ port { + usb_a_connector_ss_in: endpoint { + remote-endpoint = <&usb_1_qmpphy_usb_ss_out>; + }; + }; + }; +}; + +&dpu_intf1_out { + /delete-property/ remote-endpoint;
Why? It should not be necessary.
Quoted 14 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +14
-0+}; + +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/sc7180/ecs/liva-qc710/qcdxkmsuc7180.mbn"; +}; + +&mdss { + status = "okay"; +}; +
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 127
Quoted 10 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +10
-0+&mdss_dp { + pinctrl-names = "default"; + pinctrl-0 = <&dp_hot_plug_det>; + + status = "okay"; +}; + +&mdss_dp_out { + data-lanes = <0 1>; + remote-endpoint = <&usb_1_qmpphy_dp_in>;
Ack for now. Probably we should make it a default and (temporarily) delete in the Chrome setup.
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 135
Quoted 8 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +8
-0+}; + +&mdss_dsi0_in { + /delete-property/ remote-endpoint; +}; + +&pm6150_pon { + status = "disabled";
Do you know, how is Power-On routed?
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 139
Quoted 4 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +4
-0+}; + +&pm6150_rtc { + status = "okay";
No need for qcom,uefi-rtc-info ?
Quoted 72 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +72
-0+}; + +&qfprom { + vcc-supply = <&vreg_l11a_1p8>; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&qupv3_id_1 { + status = "okay"; +}; + +&remoteproc_adsp { + memory-region = <&adsp_mem>; + firmware-name = "qcom/sc7180/ecs/liva-qc710/qcadsp7180.mbn"; + status = "okay"; +}; + +&remoteproc_mpss { + firmware-name = "qcom/sc7180/ecs/liva-qc710/qcmpss7180_nm.mbn"; + status = "okay"; +}; + +&sdhc_1 { + pinctrl-0 = <&sdc1_default>; + pinctrl-1 = <&sdc1_sleep>; + pinctrl-names = "default", "sleep"; + vmmc-supply = <&vreg_l19a_2p9>; + vqmmc-supply = <&vreg_l12a_1p8>; + + status = "okay"; +}; + +&sdhc_2 { + pinctrl-0 = <&sdc2_default>; + pinctrl-1 = <&sdc2_sleep>; + pinctrl-names = "default", "sleep"; + vmmc-supply = <&vreg_l9c_2p9>; + vqmmc-supply = <&vreg_l6c_2p9>; + + cd-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>; + + status = "okay"; +}; + +&uart3 { + /delete-property/ interrupts; + interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>, + <&tlmm 41 IRQ_TYPE_EDGE_FALLING>; + + pinctrl-1 = <&qup_uart3_sleep>; + pinctrl-names = "default", "sleep"; + + status = "okay"; + + bluetooth: bluetooth { + compatible = "qcom,wcn3991-bt"; + vddio-supply = <&vreg_l10a_1p8>; + vddxo-supply = <&vreg_l1c_1p8>; + vddrf-supply = <&vreg_l2c_1p3>; + vddch0-supply = <&vreg_l10c_3p3>; + max-speed = <3200000>; + }; +}; + +&usb_1 { + status = "okay"; +}; + +&usb_1_dwc3 {
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 221
Quoted 10 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +10
-0+ dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>; + + hub@1 { + compatible = "usb5e3,608"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; +
Are other ports routed somehow?
Quoted 7 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +7
-0+ r8152: ethernet@4 { + compatible = "usbbda,8152"; + reg = <4>; + }; + }; +}; +
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 5/5] firmware: qcom: scm: Allow QSEECOM on ECS LIVA QC710
In reply to Val PackettQuoted 7 lines · Val Packett
Allow this machine to access efivars through qseecom/uefisecapp.
Signed-off-by Val Packett <[email protected]>--- drivers/firmware/qcom/qcom_scm.c | 1 + 1 file changed, 1 insertion(+)
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Val PackettQuoted 22 lines · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit.
Working:
- Wi-Fi (wcn3990 hw1.0)
- Bluetooth
- USB Type-A (USB3 and USB2)
- Ethernet (over USB2)
- HDMI Display
- eMMC
- SDHC (microSD slot)Not included:
- HDMI Audio
- EC (IT8987)Signed-off-by Val Packett <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/sc7180-ecs-liva-qc710.dts | 625 ++++++++++++++++++ 2 files changed, 627 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 291
Quoted 9 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +9
-0+ +&wifi { + vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6>; + vdd-1.8-xo-supply = <&vreg_l1c_1p8>; + vdd-1.3-rfa-supply = <&vreg_l2c_1p3>; + vdd-3.3-ch0-supply = <&vreg_l10c_3p3>; + vdd-3.3-ch1-supply = <&vreg_l11c_3p3>; + + status = "okay";
Almost missed it: please add the qcom,calibration-variant and, if the original bdwlan file works, submit it to ath10k ML ([1]).
https://wireless.docs.kernel.org/en/latest/en/users/drivers/ath10k/boardfiles.html
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Dmitry Baryshkov[resent for the lists as plaintext, oops]
Quoted 6 lines · Dmitry Baryshkov
Review
Quoted 4 lines · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit. [..]
+&dpu_intf1_out {(quoted diff) +1
-0+ /delete-property/ remote-endpoint;Why? It should not be necessary.
It seemed to be implicated in annoying EPROBE_DEFER issues.. But you're right, it wasn't this after all.
Quoted 4 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 135
Quoted 3 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +3
-0+ +&pm6150_pon { + status = "disabled";Do you know, how is Power-On routed?
I think it's handled by the EC. Keeping this enabled doesn't make power-off work, and doesn't make the power button deliver events either.
Quoted 5 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 139
Quoted 4 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +4
-0+}; + +&pm6150_rtc { + status = "okay";No need for qcom,uefi-rtc-info ?
Ack, will add it, the efivar is present of course.
Will send it for Aspire1 too..
Quoted 5 lines
Quoted 5 lines
[..]
+&usb_1_dwc3 {arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +3
-0+ dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>;
Quoted 8 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 221
Quoted 7 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +7
-0+ + hub@1 { + compatible = "usb5e3,608"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; +Are other ports routed somehow?
Port 001 is routed to the 3.0 Type-A port on the back, Port 002 to the 2.0 Type-A on the side. Should all of that be modeled?
// re: Wi-Fi calibration, submitting that to ath10k now too (though the default one worked perfectly fine)
Thanks,
~val
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
Quoted 5 lines · Val Packett
[resent for the lists as plaintext, oops]
Quoted 1 line · Dmitry Baryshkov
On Sun, Jan 11, 2026 at 05:35:12AM -0300, Val Packett wrote:
Quoted 8 lines
Quoted 5 lines
Review
Quoted 4 lines
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit. [..]
+&dpu_intf1_out {(quoted diff) +1
-0+ /delete-property/ remote-endpoint;Why? It should not be necessary.
It seemed to be implicated in annoying
EPROBE_DEFERissues.. But you're right, it wasn't this after all.
ok. Which EPROBE_DEFER issues do you observe?
Quoted 7 lines
Quoted 5 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 135
Quoted 4 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +3
-0+ +&pm6150_pon { + status = "disabled";Do you know, how is Power-On routed?
I think it's handled by the EC. Keeping this enabled doesn't make power-off work, and doesn't make the power button deliver events either.
ok
Quoted 24 lines
Quoted 5 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 139
Quoted 4 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +4
-0+}; + +&pm6150_rtc { + status = "okay";No need for qcom,uefi-rtc-info ?
Ack, will add it, the efivar is present of course.
Will send it for Aspire1 too..
Quoted 5 lines
Quoted 5 lines
[..]
+&usb_1_dwc3 {arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +3
-0+ dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>;Quoted 8 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 221
Quoted 7 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +7
-0+ + hub@1 { + compatible = "usb5e3,608"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; +Are other ports routed somehow?
Quoted 2 lines
Port 001 is routed to the 3.0 Type-A port on the back, Port 002 to the 2.0 Type-A on the side. Should all of that be modeled?
I think, the comment would be sufficient for now.
Quoted 2 lines
// re: Wi-Fi calibration, submitting that to ath10k now too (though the default one worked perfectly fine)
Thanks!
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 1/5] dt-bindings: arm: qcom: Add ECS LIVA QC710
In reply to Val PackettQuoted 12 lines · Val Packett
Document the SC7180 (Snapdragon 7c) based ECS LIVA QC710 mini PC/devkit.
Signed-off-by Val Packett <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/arm/qcom.yaml +0
-0
Documentation/devicetree/bindings/arm/qcom.yaml properties: · line 388
Quoted 4 lines
Documentation/devicetree/bindings/arm/qcom.yaml +1
-0@@ -385,6 +385,7 @@ properties: - items: - enum: - acer,aspire1 + - ecs,liva-qc710
You'll need to patch Documentation/devicetree/bindings/vendor-prefixes.yaml with this one too
btw only patches 1,4,5 arrived to linux-arm-msm (and my inbox) - please consider using b4, which will grab all the right Ccs for you
Konrad
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Val PackettQuoted 11 lines · Val Packett
[resent for the lists as plaintext, oops]
Quoted 6 lines · Dmitry Baryshkov
Quoted 4 lines · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit. [..]
+&dpu_intf1_out {
+ /delete-property/ remote-endpoint;Why? It should not be necessary.
Quoted 8 lines
It seemed to be implicated in annoying
EPROBE_DEFERissues.. But you're right, it wasn't this after all.Quoted 4 lines
Quoted 3 lines
+
+&pm6150_pon {
+ status = "disabled";Do you know, how is Power-On routed?
I think it's handled by the EC. Keeping this enabled doesn't make power-off work, and doesn't make the power button deliver events either.
Quoted 1 line
Quoted 1 line
+};
FYI I don't think a modern QC SoC can turn on without PON
What do you mean by "doesn't make power-off work"?
Konrad
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Val PackettQuoted 1 line · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit.
[...]
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 120
Quoted 3 lines
+&mdss_dp {
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +2
-0+ pinctrl-names = "default"; + pinctrl-0 = <&dp_hot_plug_det>;
please keep the order of:
property-n
property-names
throughout the file
[...]
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 157
Quoted 4 lines
+&remoteproc_adsp {
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +3
-0+ memory-region = <&adsp_mem>; + firmware-name = "qcom/sc7180/ecs/liva-qc710/qcadsp7180.mbn"; + status = "okay";
And a consistent \n before 'status'
[...]
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 222
Quoted 12 lines
+&usb_1_dwc3 {
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +11
-0+ dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>; + + hub@1 { + compatible = "usb5e3,608"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + r8152: ethernet@4 {
You don't need this label
Quoted 6 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +6
-0+ compatible = "usbbda,8152"; + reg = <4>; + }; + }; +}; +
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 238
Quoted 10 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +10
-0+&usb_1_hsphy { + vdd-supply = <&vreg_l4a_0p8>; + vdda-pll-supply = <&vreg_l11a_1p8>; + vdda-phy-dpdm-supply = <&vreg_l17a_3p0>; + qcom,imp-res-offset-value = <8>; + qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_15_PERCENT>; + qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>; + qcom,bias-ctrl-value = <0x22>; + qcom,charge-ctrl-value = <3>; + qcom,hsdisc-trim-value = <0>;
Have you verified these values (e.g. by reading back the related registers in Windows)?
[...]
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 302
Quoted 9 lines
+&apps_rsc {
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +8
-0+ regulators-0 { + compatible = "qcom,pm6150-rpmh-regulators"; + qcom,pmic-id = "a"; + + vreg_s1a_1p1: smps1 { + regulator-min-microvolt = <1128000>; + regulator-max-microvolt = <1128000>; + };
Similarly, have you verified these?
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 520
Quoted 6 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +6
-0+ soc_bkoff_default: soc-bkoff-deault-state { + pins = "gpio10"; + function = "gpio"; + drive-strength = <16>; + bias-disable; + };
This entry is unused
Konrad
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Konrad DybcioQuoted 17 lines · Konrad Dybcio
Quoted 16 lines · Val Packett
[resent for the lists as plaintext, oops]
Quoted 6 lines · Dmitry Baryshkov
Quoted 4 lines · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit. [..]
+&dpu_intf1_out {
+ /delete-property/ remote-endpoint;Why? It should not be necessary.
It seemed to be implicated in annoying
EPROBE_DEFERissues.. But you're right, it wasn't this after all.Quoted 3 lines
Quoted 3 lines
+
+&pm6150_pon {
+ status = "disabled";
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Do you know, how is Power-On routed?
I think it's handled by the EC. Keeping this enabled doesn't make power-off work, and doesn't make the power button deliver events either.
Quoted 1 line
Quoted 1 line
+};
FYI I don't think a modern QC SoC can turn on without PON
What do you mean by "doesn't make power-off work"?
It is basically a laptop SoM in the embedded case, so it has EC and PoN generated via the EC.
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
Quoted 20 lines · Dmitry Baryshkov
Quoted 19 lines · Konrad Dybcio
Quoted 18 lines · Val Packett
[resent for the lists as plaintext, oops]
Quoted 6 lines · Dmitry Baryshkov
Quoted 4 lines · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit. [..]
+&dpu_intf1_out {
+ /delete-property/ remote-endpoint;Why? It should not be necessary.
It seemed to be implicated in annoying
EPROBE_DEFERissues.. But you're right, it wasn't this after all.Quoted 4 lines
Quoted 3 lines
+
+&pm6150_pon {
+ status = "disabled";Do you know, how is Power-On routed?
I think it's handled by the EC. Keeping this enabled doesn't make power-off work, and doesn't make the power button deliver events either.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
+};
FYI I don't think a modern QC SoC can turn on without PON
What do you mean by "doesn't make power-off work"?
It is basically a laptop SoM in the embedded case, so it has EC and PoN generated via the EC.
I got that part, but this doesn't answer my question. Val mentioned that separately from the power button not generating keypress events.
Konrad
Neil Armstrong
maintainerRe: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Val PackettHi,
Quoted 21 lines · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit.
Working:
- Wi-Fi (wcn3990 hw1.0)
- Bluetooth
- USB Type-A (USB3 and USB2)
- Ethernet (over USB2)
- HDMI Display
- eMMC
- SDHC (microSD slot)Not included:
- HDMI Audio
- EC (IT8987)Signed-off-by Val Packett <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/sc7180-ecs-liva-qc710.dts | 625 ++++++++++++++++++ 2 files changed, 627 insertions(+)create mode 100644
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts
<snip>
Quoted 37 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +37
-0+ + hdmi-bridge { + compatible = "algoltek,ag6311"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + hdmi_bridge_dp_in: endpoint { + remote-endpoint = <&usb_1_qmpphy_dp_out>; + }; + }; + + port@1 { + reg = <1>; + + hdmi_bridge_tmds_out: endpoint { + remote-endpoint = <&hdmi_con>; + }; + }; + }; + }; + + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con: endpoint { + remote-endpoint = <&hdmi_bridge_tmds_out>; + }; + }; + }; +
<snip>
Quoted 24 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +24
-0+ +&usb_1_qmpphy { + vdda-phy-supply = <&vreg_l3c_1p2>; + vdda-pll-supply = <&vreg_l4a_0p8>; + + /delete-property/ mode-switch; + /delete-property/ orientation-switch; + + status = "okay"; + + ports { + port@0 { + #address-cells = <1>; + #size-cells = <0>; + + /delete-node/ endpoint; + + usb_1_qmpphy_dp_out: endpoint@0 { + reg = <0>; + + data-lanes = <3 2>; + remote-endpoint = <&hdmi_bridge_dp_in>; + }; +
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts line 275
Quoted 10 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +10
-0+ usb_1_qmpphy_usb_ss_out: endpoint@1 { + reg = <1>; + + data-lanes = <1 0>; + remote-endpoint = <&usb_a_connector_ss_in>; + }; + }; + }; +}; +
<snip>
Hehe, finally seems my work was quite useful after all :-) Thanks,
Neil
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Konrad DybcioKonrad Dybcio писал(а) 13.01.2026 13:30:
Quoted 25 lines · Dmitry Baryshkov
Quoted 24 lines · Konrad Dybcio
Quoted 23 lines · Val Packett
Quoted 11 lines
[resent for the lists as plaintext, oops]
Quoted 6 lines · Dmitry Baryshkov
Quoted 4 lines · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit. [..]
+&dpu_intf1_out {
+ /delete-property/ remote-endpoint;Why? It should not be necessary.
Quoted 8 lines
It seemed to be implicated in annoying
EPROBE_DEFERissues.. But you're right, it wasn't this after all.Quoted 4 lines
Quoted 3 lines
+
+&pm6150_pon {
+ status = "disabled";Do you know, how is Power-On routed?
I think it's handled by the EC. Keeping this enabled doesn't make power-off work, and doesn't make the power button deliver events either.
Quoted 1 line
Quoted 1 line
+};
FYI I don't think a modern QC SoC can turn on without PON
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
What do you mean by "doesn't make power-off work"?
It is basically a laptop SoM in the embedded case, so it has EC and PoN generated via the EC.
I got that part, but this doesn't answer my question. Val mentioned that separately from the power button not generating keypress events.
FWIW on Aspire1 the power key is routed to the ec, and ec is routed to pmic pon/resin (as well as ps_hold etc etc). Pressing the power key, obviously, boots the laptop but after that it has no effect in windows or in firmware. In linux neither pon nor resin receive any input events when pressed so my guess was that EC pokes PON once to boot the system and maybe pokes resin if user presses it long to do a hard reset. Due to that I've disabled the pon node in aspire1 so there is no bogus input device. I'm guessing Val has inherited that from aspire1.
Nikita
Quoted 1 line
Konrad
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
Quoted 35 lines · Nikita Travkin
Konrad Dybcio писал(а) 13.01.2026 13:30:
Quoted 25 lines · Dmitry Baryshkov
Quoted 24 lines · Konrad Dybcio
Quoted 23 lines · Val Packett
Quoted 11 lines
[resent for the lists as plaintext, oops]
Quoted 6 lines · Dmitry Baryshkov
Quoted 4 lines · Val Packett
Add a device tree for the ECS LIVA QC710 (Snapdragon 7c) mini PC/devkit. [..]
+&dpu_intf1_out {
+ /delete-property/ remote-endpoint;Why? It should not be necessary.
Quoted 8 lines
It seemed to be implicated in annoying
EPROBE_DEFERissues.. But you're right, it wasn't this after all.Quoted 4 lines
Quoted 3 lines
+
+&pm6150_pon {
+ status = "disabled";Do you know, how is Power-On routed?
I think it's handled by the EC. Keeping this enabled doesn't make power-off work, and doesn't make the power button deliver events either.
Quoted 1 line
Quoted 1 line
+};
FYI I don't think a modern QC SoC can turn on without PON
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
What do you mean by "doesn't make power-off work"?
It is basically a laptop SoM in the embedded case, so it has EC and PoN generated via the EC.
I got that part, but this doesn't answer my question. Val mentioned that separately from the power button not generating keypress events.
Quoted 8 lines
FWIW on Aspire1 the power key is routed to the ec, and ec is routed to pmic pon/resin (as well as
ps_holdetc etc). Pressing the power key, obviously, boots the laptop but after that it has no effect in windows or in firmware. In linux neither pon nor resin receive any input events when pressed so my guess was that EC pokes PON once to boot the system and maybe pokes resin if user presses it long to do a hard reset. Due to that I've disabled the pon node in aspire1 so there is no bogus input device. I'm guessing Val has inherited that from aspire1.
I'd still prefer to keep it enabled, as it's physically present on the system. If it turns out that the EC randomly fires events at undesirable times, we can disable it
Konrad
Re: [PATCH 2/5] dt-bindings: display: bridge: simple: document the Algoltek AG6311 DP-to-HDMI bridge
In reply to Val PackettQuoted 7 lines · Val Packett
The Algoltek AG6311 is a transparent DisplayPort to HDMI bridge.
Signed-off-by Val Packett <[email protected]>--- .../devicetree/bindings/display/bridge/simple-bridge.yaml | 1 + 1 file changed, 1 insertion(+)
Re: [PATCH 4/5] arm64: dts: qcom: Add support for ECS LIVA QC710
In reply to Neil ArmstrongQuoted 37 lines · Neil Armstrong
Quoted 35 lines
arch/arm64/boot/dts/qcom/sc7180-ecs-liva-qc710.dts new file +34
-0+ +&usb_1_qmpphy { + vdda-phy-supply = <&vreg_l3c_1p2>; + vdda-pll-supply = <&vreg_l4a_0p8>; + + /delete-property/ mode-switch; + /delete-property/ orientation-switch; + + status = "okay"; + + ports { + port@0 { + #address-cells = <1>; + #size-cells = <0>; + + /delete-node/ endpoint; + + usb_1_qmpphy_dp_out: endpoint@0 { + reg = <0>; + + data-lanes = <3 2>; + remote-endpoint = <&hdmi_bridge_dp_in>; + }; + + usb_1_qmpphy_usb_ss_out: endpoint@1 { + reg = <1>; + + data-lanes = <1 0>; + remote-endpoint = <&usb_a_connector_ss_in>; + }; + }; + }; +}; +<snip>
Quoted 1 line
Hehe, finally seems my work was quite useful after all :-)
Yes it was! Thanks :)
~val
Re: [PATCH 2/5] dt-bindings: display: bridge: simple: document the Algoltek AG6311 DP-to-HDMI bridge
In reply to Val PackettQuoted 12 lines · Val Packett
The Algoltek AG6311 is a transparent DisplayPort to HDMI bridge.
Signed-off-by Val Packett <[email protected]>--- .../devicetree/bindings/display/bridge/simple-bridge.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +0
-0
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml properties: · line 30
Quoted 4 lines
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +1
-0@@ -27,6 +27,7 @@ properties: - const: adi,adv7123 - enum: - adi,adv7123 + - algoltek,ag6311
I tried to pick this up and got an immediate error from checkpatch:
-:22: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string vendor "algoltek" appears un-documented -- check ./Documentation/devicetree/bindings/vendor-prefixes.yaml #22: FILE: drivers/gpu/drm/bridge/simple-bridge.c:264:
+ .compatible = "algoltek,ag6311",
Quoted 6 lines
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +0
-0- asl-tek,cs5263 - dumb-vga-dac - parade,ps185hdmSignature · 1 line
2.51.2
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 2/5] dt-bindings: display: bridge: simple: document the Algoltek AG6311 DP-to-HDMI bridge
Quoted 19 lines · Dmitry Baryshkov
Quoted 12 lines · Val Packett
The Algoltek AG6311 is a transparent DisplayPort to HDMI bridge.
Signed-off-by Val Packett <[email protected]>--- .../devicetree/bindings/display/bridge/simple-bridge.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +0
-0Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml properties: · line 30
Quoted 4 lines
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +1
-0@@ -27,6 +27,7 @@ properties: - const: adi,adv7123 - enum: - adi,adv7123 + - algoltek,ag6311I tried to pick this up and got an immediate error from checkpatch:
Quoted 4 lines
-:22: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string vendor "algoltek" appears un-documented -- check
./Documentation/devicetree/bindings/vendor-prefixes.yaml#22: FILE:drivers/gpu/drm/bridge/simple-bridge.c:264:
+ .compatible = "algoltek,ag6311",
Yeah, same with the "ecs". I'll include the vendor prefixes in v2
~val
Dmitry Baryshkov
AppliedRe: (subset) [PATCH 0/5] Add support for ECS LIVA QC710 mini PC/devkit
In reply to Val PackettQuoted 8 lines · Val Packett
This piece of Arm history was an early Windows dev kit before Volterra.. (Though it holds the brand of its manufacturer Elitegroup, not Microsoft's). It's also a cheap device that can be used wherever you need a mini PC. Now with Linux ^_^
Most things work, including Wi-Fi, Bluetooth, USB, eMMC, microSD, GPU.
[...]
Applied to drm-misc-next, thanks!
[2/5] dt-bindings: display: bridge: simple: document the Algoltek AG6311 DP-to-HDMI bridge
commit: e58be49a9a09112fdb4e4d68b4653a2545746091
[3/5] drm/bridge: simple: add the Algoltek AG6311 DP-to-HDMI bridge
commit: d51e390ae84857a999ad2046e074e97663e98e36Best regards,
Signature · 2 lines
With best wishes Dmitry