mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/5] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
@ 2026-11-17  9:11 Rui Cao via B4 Relay
  2026-11-17  9:11 ` [PATCH v2 1/5] dt-bindings: arm: " Rui Cao via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Rui Cao via B4 Relay @ 2026-11-17  9:11 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-watchdog, linux-serial, phone-devel, Roman Vivchar,
	Rui Cao, Krzysztof Kozlowski

This series adds basic support for MediaTek's MT6833 (Dimensity 700) and
for the Xiaomi Redmi Note 13 5G (gold), which is built on it: the eight
cores with their caches and PMUs, PSCI, the architected timer, the GIC,
the watchdog and the first UART, and on the phone the framebuffer its
bootloader leaves lit and a ramoops region.

With it the phone boots to an initramfs on the framebuffer console, with
all eight cores online, both PMUs registered and the watchdog running;
UART0, which has no connector on gold, passes an internal loopback test.
The pin, clock and power domain controllers, the PMIC wrapper, UFS and
USB are to follow in later series.

Stock LK cannot boot a mainline DT directly, as its DT overlay step
expects vendor nodes. As on other MediaTek phones, this DT relies on
the bootloader (tested with kaeru, an open-source LK payload) to fill
in /memory and copy the firmware carveouts into /reserved-memory from
the FDT prepared by LK.

The watchdog gets a compatible of its own in v2, which the driver
matches in patch 3; the watchdog node in patch 5 needs that patch to
probe.

Signed-off-by: Rui Cao <i@udp0.com>
---
Changes in v2:
- Make mediatek,mt6833-wdt a compatible of its own instead of falling
  back to mediatek,mt6589-wdt, whose TOPRGU resets MT6833 doesn't share,
  and match it in mtk_wdt.c without reset data (Roman)
- dts: leave the memory size to the bootloader, and keep only ramoops
  and the framebuffer in reserved-memory (Roman)
- Collect Roman's Reviewed-by and Krzysztof's Acked-by tags on the arm
  and serial bindings
- Drop Krzysztof's Acked-by from the watchdog binding, which changed
- Link to v1: https://patch.msgid.link/20261107-mt6833-base-v1-0-bda21083e9f3@udp0.com

---
Rui Cao (5):
      dt-bindings: arm: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
      dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833
      watchdog: mediatek: Add MT6833
      dt-bindings: serial: mediatek,uart: Add MT6833
      arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G

 .../devicetree/bindings/arm/mediatek.yaml          |   4 +
 .../devicetree/bindings/serial/mediatek,uart.yaml  |   1 +
 .../bindings/watchdog/mediatek,mtk-wdt.yaml        |   1 +
 arch/arm64/boot/dts/mediatek/Makefile              |   1 +
 .../arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts |  57 ++++
 arch/arm64/boot/dts/mediatek/mt6833.dtsi           | 341 +++++++++++++++++++++
 drivers/watchdog/mtk_wdt.c                         |   1 +
 7 files changed, 406 insertions(+)
---
base-commit: d48723711bae9b8cdc56719c448ba42fef28cbee
change-id: 20261107-mt6833-base-5a974a951add

Best regards,
--  
Rui Cao <i@udp0.com>



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

end of thread, other threads:[~2026-11-17  9:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-17  9:11 [PATCH v2 0/5] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
2026-11-17  9:11 ` [PATCH v2 1/5] dt-bindings: arm: " Rui Cao via B4 Relay
2026-11-17  9:11 ` [PATCH v2 2/5] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833 Rui Cao via B4 Relay
2026-11-17  9:11 ` [PATCH v2 3/5] watchdog: mediatek: " Rui Cao via B4 Relay
2026-11-17  9:11 ` [PATCH v2 4/5] dt-bindings: serial: mediatek,uart: " Rui Cao via B4 Relay
2026-11-17  9:11 ` [PATCH v2 5/5] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay

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

all inboxes | Powered by JetHome®