Skip to contentSkip to conversation

Add support for Acer Swift SFA14-11

PATCH New Jianfeng Liu 1 participant 4 messages Sep 29

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v4 cover Add support for Acer Swift SFA14-11

Add support for Acer Swift SFA14-11, a laptop based on the Qualcomm X1E78100 SoC.

The following hardware has been tested and is working:

- NVMe SSD
- WiFi and Bluetooth (UART)
- USB-A ports
- USB-C port with DP alt mode
- eDP display with PWM backlight
- HDMI (via DP bridge)
- I2C HID keyboard and touchpad
- Audio: speakers, headphone jack, DP alt mode and HDMI
- GPU and video decoding
- Battery charging

Changes in v4:
- Update patch mail with commit changelog

Changes in v3:
- Change compatible string to acer,swift-sfa14-11.

Changes in v2:
- Add power-supply for the backlight (vreg_edp_bl), matching the T14s LCD variant
- Fix swapped vdda-phy/vdda-pll supplies on the QMP PHYs, matching the reference design (cf. commit 7c1d0ef2969e1 fixing the same issue on Purwa boards)

Jianfeng Liu (3):
dt-bindings: arm: qcom: Add Acer Swift SFA14-11
arm64: dts: qcom: Add Acer Swift SFA14-11
firmware: qcom: scm: Allow QSEECOM on Acer Swift SFA14-11

 .../devicetree/bindings/arm/qcom.yaml         |    1 +
 arch/arm64/boot/dts/qcom/Makefile             |    2 +
 .../dts/qcom/x1e78100-acer-swift-sfa14-11.dts | 1521 +++++++++++++++++
 drivers/firmware/qcom/qcom_scm.c              |    1 +
 4 files changed, 1525 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/x1e78100-acer-swift-sfa14-11.dts

---
base-commit: f5f84daefcd92d7a630066635ecea1433ed5eac7
branch: sfa14-11-next-20260925

Signature · 1 line
2.47.3
#1 lore raw

PATCH v4 1/3 dt-bindings: arm: qcom: Add Acer Swift SFA14-11

Document the X1E78100-based Acer Swift SFA14-11.

---

Changes in v4:
- Update patch mail with commit changelog

Changes in v3:
- Change compatible string to acer,swift-sfa14-11.

 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index e6b123ad58c79..651a89b258351 100644
@@ -1204,6 +1204,7 @@ properties:
 
       - items:
           - enum:
+              - acer,swift-sfa14-11
               - medion,sprchrgd14s1
               - tuxedo,elite14gen1
           - const: qcom,x1e78100
Signature · 1 line
2.47.3
#2 lore raw

PATCH v4 2/3 arm64: dts: qcom: Add Acer Swift SFA14-11

In reply to Jianfeng Liu

Add support for Acer Swift SFA14-11, a laptop based on the Qualcomm X1E78100 SoC.

The following hardware has been tested and is working:

- NVMe SSD
- WiFi and Bluetooth (UART)
- USB-A ports
- USB-C port with DP alt mode
- eDP display with PWM backlight
- HDMI (via DP bridge)
- I2C HID keyboard and touchpad
- Audio: speakers, headphone jack, DP alt mode and HDMI
- GPU and video decoding
- Battery charging

---

Changes in v4:
- Update patch mail with commit changelog

Changes in v3:
- Change compatible string to acer,swift-sfa14-11.

Changes in v2:
- Add power-supply for the backlight (vreg_edp_bl)
- Fix swapped vdda-phy/vdda-pll supplies on the QMP PHYs

 arch/arm64/boot/dts/qcom/Makefile             |    2 +
 .../dts/qcom/x1e78100-acer-swift-sfa14-11.dts | 1521 +++++++++++++++++
 2 files changed, 1523 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/x1e78100-acer-swift-sfa14-11.dts
arch/arm64/boot/dts/qcom/Makefile +2 -0
index daf9e3f895b89..58a766138c0cb 100644
@@ -452,6 +452,8 @@ talos-evk-rpi-display-2-5in-dtbs	:= \
 dtb-$(CONFIG_ARCH_QCOM)	+= talos-evk-rpi-display-2-5in.dtb
 x1e001de-devkit-el2-dtbs	:= x1e001de-devkit.dtb x1-el2.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= x1e001de-devkit.dtb x1e001de-devkit-el2.dtb
+x1e78100-acer-swift-sfa14-11-el2-dtbs	:= x1e78100-acer-swift-sfa14-11.dtb x1-el2.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += x1e78100-acer-swift-sfa14-11.dtb x1e78100-acer-swift-sfa14-11-el2.dtb
 x1e78100-lenovo-thinkpad-t14s-el2-dtbs	:= x1e78100-lenovo-thinkpad-t14s.dtb x1-el2.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= x1e78100-lenovo-thinkpad-t14s.dtb x1e78100-lenovo-thinkpad-t14s-el2.dtb
 x1e78100-lenovo-thinkpad-t14s-oled-el2-dtbs	:= x1e78100-lenovo-thinkpad-t14s-oled.dtb x1-el2.dtbo
arch/arm64/boot/dts/qcom/x1e78100-acer-swift-sfa14-11.dts new file +1521 -0

1,521 lines not on this page · raw message

Signature · 1 line
2.47.3
#3 lore raw

PATCH v4 3/3 firmware: qcom: scm: Allow QSEECOM on Acer Swift SFA14-11

In reply to Jianfeng Liu

The Hamoa-based Acer Swift SFA14-11 provides the same UEFI variable access through uefisecapp as other Hamoa devices, add it to the allowlist.

---

Changes in v4:
- Update patch mail with commit changelog

Changes in v3:
- Change compatible string to acer,swift-sfa14-11.

Changes in v2:
- Add power-supply for the backlight (vreg_edp_bl), matching the T14s LCD variant
- Fix swapped vdda-phy/vdda-pll supplies on the QMP PHYs, matching the reference design (cf. commit 7c1d0ef2969e1 fixing the same issue on Purwa boards)

 drivers/firmware/qcom/qcom_scm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/qcom/qcom_scm.c +1 -0
index df20773dd7541..f2d2a05c910ce 100644
@@ -2215,6 +2215,7 @@ EXPORT_SYMBOL_GPL(qcom_scm_qseecom_app_send);
  + any potential issues with this, only allow validated machines for now.
  */
 static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = {
+	{ .compatible = "acer,swift-sfa14-11" },
 	{ .compatible = "asus,vivobook-s15" },
 	{ .compatible = "asus,vivobook-s15-x1p4" },
 	{ .compatible = "asus,zenbook-a14-ux3407na" },
Signature · 1 line
2.47.3