devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] X1E Dell XPS 9345 support
@ 2024-09-21 16:33 Aleksandrs Vinarskis
  2024-09-21 16:33 ` [PATCH v2 1/3] dt-bindings: arm: qcom: Add Dell XPS 13 9345 Aleksandrs Vinarskis
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Aleksandrs Vinarskis @ 2024-09-21 16:33 UTC (permalink / raw)
  To: Bjorn Andersson, Krzysztof Kozlowski, Dmitry Baryshkov,
	linux-arm-msm, devicetree, linux-kernel
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Rob Clark, Peter de Kraker, Aleksandrs Vinarskis

Introduce support for the mentioned laptop.

Very similar to other X1E laptops, device tree was derived by analyzing dtsi of
existing models and ACPI tables of this laptop [1]. Most notable difference were
* TZ protected SPI19.
* Keyboard only working after suspend/resume sequence, will do a follow up patch
to i2c-hid.
* Lots of small deviations in LDOs voltages.

Successfully tested with Debian 12 and Gnome, although this required additional
patches, namely harcode GPU chipid, apply [2] and _revert_ [3] - same as in Abel
Vesa's branches. Without last two the boot process is terminated by TZ. Firmware
for GPU/aDSP/cDSP was extracted from Windows, WiFi firmware from upstream
linux-firmware.

Quite a few things alraedy work, details in patches, quite a few still in WIP or
TODOs. Since fixing these may take me a while due to lack of documentation,
sending current progress as its very much usable.

[1] https://github.com/aarch64-laptops/build/blob/master/misc/dell-xps-9345/acpi/DSDT.dsl
[2] https://lore.kernel.org/all/20240830-x1e80100-bypass-pdc-v1-1-d4c00be0c3e3@linaro.org/
[3] https://lore.kernel.org/all/20240708-x1e80100-pd-mapper-v1-1-854386af4cf5@linaro.org/

--------

Changes to V1:
* Fix misalignments due to wrong tab/space conversion
* Fix regulator namings
* Fix reasonable warnings from `scripts/checkpatch.pl`
* Restructure all (sub)nodes alphabetically


Aleksandrs Vinarskis (3):
  dt-bindings: arm: qcom: Add Dell XPS 13 9345
  firmware: qcom: scm: Allow QSEECOM on Dell XPS 13 9345
  arm64: dts: qcom: Add support for X1-based Dell XPS 13 9345

 .../devicetree/bindings/arm/qcom.yaml         |   1 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../dts/qcom/x1e80100-dell-tributo-13.dts     | 860 ++++++++++++++++++
 drivers/firmware/qcom/qcom_scm.c              |   1 +
 4 files changed, 863 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/x1e80100-dell-tributo-13.dts

-- 
2.43.0


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

end of thread, other threads:[~2024-10-02 20:49 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-21 16:33 [PATCH v2 0/3] X1E Dell XPS 9345 support Aleksandrs Vinarskis
2024-09-21 16:33 ` [PATCH v2 1/3] dt-bindings: arm: qcom: Add Dell XPS 13 9345 Aleksandrs Vinarskis
2024-09-21 17:59   ` Krzysztof Kozlowski
2024-09-21 16:33 ` [PATCH v2 2/3] firmware: qcom: scm: Allow QSEECOM on " Aleksandrs Vinarskis
2024-09-21 16:33 ` [PATCH v2 3/3] arm64: dts: qcom: Add support for X1-based " Aleksandrs Vinarskis
2024-09-24 22:15   ` Bjorn Andersson
2024-09-25 10:05     ` Aleksandrs Vinarskis
2024-09-26  3:33       ` Bjorn Andersson
2024-09-25 18:18   ` Aleksandrs Vinarskis
2024-09-30 18:26   ` Laurentiu Tudor
2024-09-30 19:23     ` Aleksandrs Vinarskis
2024-10-01  0:47       ` Kemp, Bryan
2024-10-01 16:09         ` Aleksandrs Vinarskis
2024-10-01 16:23           ` Laurentiu Tudor
2024-10-01 17:57             ` Aleksandrs Vinarskis
2024-10-02 19:06               ` Laurentiu Tudor
2024-10-02 20:49                 ` Dmitry Baryshkov
2024-10-01 18:09             ` Dmitry Baryshkov

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).