Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: qcom: sm8550: Add Xiaomi 13 Ultra
@ 2026-12-04 10:27 Zhongyuan Zhang via B4 Relay
  2026-12-04 10:27 ` [PATCH 1/2] dt-bindings: arm: qcom: " Zhongyuan Zhang via B4 Relay
  2026-12-04 10:28 ` [PATCH 2/2] arm64: dts: " Zhongyuan Zhang via B4 Relay
  0 siblings, 2 replies; 4+ messages in thread
From: Zhongyuan Zhang via B4 Relay @ 2026-12-04 10:27 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Zhongyuan Zhang

This series adds a device tree for the Xiaomi 13 Ultra (codename
ishtar), a phone based on the Snapdragon 8 Gen 2 (SM8550).

It describes the hardware that works with drivers already upstream:
UFS, USB-C through pmic_glink, the keys, the ADSP, the GPU, Wi-Fi and
Bluetooth (WCN7850), and the bootloader framebuffer. The display panel,
touchscreen and audio need drivers or bindings that are not upstream
yet and will follow separately.

Wi-Fi also needs a one-line ath12k change: the WCN7850 hardware rfkill
input reads as "radio off" on this phone, as on the Surface machines
already handled in ath12k_core_broken_rfkill_table. I will send it to
linux-wireless after this series, with a link to it.

Testing: next-20261203 with only these two patches, default kernel
command line, booted from RAM with the stock bootloader (fastboot boot
of an Android boot image that carries a small chainloader, which starts
the kernel with this DTB plus the memory node and command line a
bootloader would add). The tested functions are listed in patch 2.

Notes:
- The USB link re-enumerates once, about 11 s after boot, when the
  ADSP's UCSI service comes up; it works normally afterwards.
- The bootloader does not provision a Bluetooth address, so user space
  has to set one (e.g. btmgmt public-addr).
- The framebuffer console shows a tear line while it scrolls; the
  bootloader keeps refreshing the command-mode panel.

Tool use (Documentation/process/generated-content.rst): I prepared these
patches with an AI coding assistant, Claude (claude-opus-5-5), credited
in the Assisted-by: tags. It wrote the device tree from the device tree
of the phone's own firmware and the existing SM8550 board files, ran
the checks (dtbs_check W=1, dt_binding_check, checkpatch,
dt-check-style) and ran the tests on the phone. I reviewed the patches
and take responsibility for them.

---
Zhongyuan Zhang (2):
      dt-bindings: arm: qcom: Add Xiaomi 13 Ultra
      arm64: dts: qcom: Add Xiaomi 13 Ultra

 Documentation/devicetree/bindings/arm/qcom.yaml   |   1 +
 arch/arm64/boot/dts/qcom/Makefile                 |   1 +
 arch/arm64/boot/dts/qcom/sm8550-xiaomi-ishtar.dts | 816 ++++++++++++++++++++++
 3 files changed, 818 insertions(+)
---
base-commit: 0b5bb03d26a268f2606e3f574b277a1105136328
change-id: 20261204-upstream-ishtar-dts-62881c5928c0

Best regards,
--  
Zhongyuan Zhang <zhongyuan026@gmail.com>



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

end of thread, other threads:[~2026-12-04 10:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 10:27 [PATCH 0/2] arm64: dts: qcom: sm8550: Add Xiaomi 13 Ultra Zhongyuan Zhang via B4 Relay
2026-12-04 10:27 ` [PATCH 1/2] dt-bindings: arm: qcom: " Zhongyuan Zhang via B4 Relay
2026-12-04 10:28 ` [PATCH 2/2] arm64: dts: " Zhongyuan Zhang via B4 Relay
2026-12-04 10:47   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox