devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/6] X1E Asus Zenbook A14 support
@ 2025-03-31 21:53 Aleksandrs Vinarskis
  2025-03-31 21:53 ` [PATCH v1 1/6] arm64: dts: qcom: move pcie6a type change from X1P42100 to X1P42100-crd Aleksandrs Vinarskis
                   ` (6 more replies)
  0 siblings, 7 replies; 23+ messages in thread
From: Aleksandrs Vinarskis @ 2025-03-31 21:53 UTC (permalink / raw)
  To: Bjorn Andersson, Krzysztof Kozlowski, Dmitry Baryshkov,
	Aleksandrs Vinarskis, Konrad Dybcio, Greg Kroah-Hartman,
	Abel Vesa, Johan Hovold, linux-arm-msm, devicetree, linux-kernel,
	linux-usb
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Heikki Krogerus

Introduce support for the mentioned laptop.

Particular device exists in two model numbers:
* UX3407QA: X1P-42-100 or X1-26-100 (as tested)
* UX3407RA: X1E-78-100

Mostly similar to other X1-based laptops. Notable differences are:
* Wifi/Bluetooth combo being Qualcomm FastConnect 6900 on UX3407QA
  and Qualcomm FastConnect 7800 on UX3407RA
* USB Type-C retimers are Parade PS8833, appear to behave identical
  to Parade PS8830
* gpio90 is TZ protected

Document new Parade PS883x variant. Move pcie6a_phy's compatible change
from X1P-42-100's dtsi to be CRD specific, at it seems it does not
apply to all machines - on X1-26-100 phy times-out when using new x1p
compatible.

When comparing device firmware between UX3407QA, UX3407RA, it seems
that only ADSP firmware is different, CDSP and GPU firmware appears to
be the same. (At least assuming the GPU firmware name in both cases is
`qcdxkmsuc8380.mbn`). Since at least some blobs are different betweeen
X1E and X1/X1P, define new firmware directory for `qcom/x1p42100`. This
also makes it easier for distros to automatically extract firmware from
Windows and place all blobs for the model under the same path. If/When
firmware blobs make it to linux-firmware, same blobs can be easily
symlinked between `qcom/x1e80100` and `qcom/x1p42100`.

Qualcomm FastConnect 6900 on UX3407QA did not work out of the box, and
additionally required both newer firmware and patches to `board-2.bin`.
I added a short how-to [1], as it is not exactly trivial.

ACPI dumps can be found on aarch64-laptops' github [2]. HWids on
dtbloader's github [3].

[1] https://github.com/alexVinarskis/linux-x1e80100-zenbook-a14?tab=readme-ov-file#wcn688x-wifi
[2] https://github.com/aarch64-laptops/build/pull/134/files
[3] https://github.com/TravMurav/dtbloader/pull/4/files

Aleksandrs Vinarskis (6):
  arm64: dts: qcom: move pcie6a type change from X1P42100 to
    X1P42100-crd
  usb: typec: Add Parade PS8833 Type-C Retimer variant
  dt-bindings: usb: Add Parade PS8833 Type-C retimer variant
  dt-bindings: arm: qcom: Add Asus Zenbook A14
  firmware: qcom: scm: Allow QSEECOM on Asus Zenbook A14
  arm64: dts: qcom: Add support for X1-based Asus Zenbook A14

 .../devicetree/bindings/arm/qcom.yaml         |    2 +
 .../bindings/usb/parade,ps8830.yaml           |    1 +
 arch/arm64/boot/dts/qcom/Makefile             |    2 +
 arch/arm64/boot/dts/qcom/x1-zenbook-a14.dtsi  | 1251 +++++++++++++++++
 .../dts/qcom/x1e80100-asus-zenbook-a14.dts    |   45 +
 .../dts/qcom/x1p42100-asus-zenbook-a14.dts    |   48 +
 arch/arm64/boot/dts/qcom/x1p42100-crd.dts     |    4 +
 arch/arm64/boot/dts/qcom/x1p42100.dtsi        |    4 -
 drivers/firmware/qcom/qcom_scm.c              |    2 +
 drivers/usb/typec/mux/ps883x.c                |    1 +
 10 files changed, 1356 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm64/boot/dts/qcom/x1-zenbook-a14.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/x1e80100-asus-zenbook-a14.dts
 create mode 100644 arch/arm64/boot/dts/qcom/x1p42100-asus-zenbook-a14.dts

-- 
2.45.2


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

end of thread, other threads:[~2025-04-03  0:06 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-31 21:53 [PATCH v1 0/6] X1E Asus Zenbook A14 support Aleksandrs Vinarskis
2025-03-31 21:53 ` [PATCH v1 1/6] arm64: dts: qcom: move pcie6a type change from X1P42100 to X1P42100-crd Aleksandrs Vinarskis
2025-04-01 10:19   ` Konrad Dybcio
2025-04-01 15:28     ` Aleksandrs Vinarskis
2025-03-31 21:53 ` [PATCH v1 2/6] usb: typec: Add Parade PS8833 Type-C Retimer variant Aleksandrs Vinarskis
2025-04-01  5:37   ` Krzysztof Kozlowski
2025-03-31 21:53 ` [PATCH v1 3/6] dt-bindings: usb: Add Parade PS8833 Type-C retimer variant Aleksandrs Vinarskis
2025-04-01  5:36   ` Krzysztof Kozlowski
2025-03-31 21:53 ` [PATCH v1 4/6] dt-bindings: arm: qcom: Add Asus Zenbook A14 Aleksandrs Vinarskis
2025-04-01  5:38   ` Krzysztof Kozlowski
2025-04-01 10:16     ` Aleksandrs Vinarskis
2025-04-01 10:21       ` Konrad Dybcio
2025-04-01 12:56       ` Krzysztof Kozlowski
2025-03-31 21:53 ` [PATCH v1 5/6] firmware: qcom: scm: Allow QSEECOM on " Aleksandrs Vinarskis
2025-03-31 21:53 ` [PATCH v1 6/6] arm64: dts: qcom: Add support for X1-based " Aleksandrs Vinarskis
2025-04-01 15:59   ` Konrad Dybcio
2025-04-01 18:05     ` Aleksandrs Vinarskis
2025-04-01 21:15       ` Konrad Dybcio
2025-04-01 21:50         ` Aleksandrs Vinarskis
2025-04-02  6:30           ` Maud Spierings
2025-04-02  8:36             ` Aleksandrs Vinarskis
2025-04-03  0:06               ` Aleksandrs Vinarskis
2025-04-01  0:52 ` [PATCH v1 0/6] X1E Asus Zenbook A14 support Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).