arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
Status from this message: Applied.
Get series with b4
b4 am [email protected] change-id 20261107-mt6833-base-5a974a951addVersions newest first
- v2 Latest5 patches 5 repliesApplied
- v14 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- 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/[email protected]
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: arm: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5GDocumentation/ | +4 | 0 replies | |
| 2/5 | dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833Documentation/ | +1 | 3 replies | |
| 3/5 | watchdog: mediatek: Add MT6833drivers/ | +1 | 2 replies | |
| 4/5 | dt-bindings: serial: mediatek,uart: Add MT6833Documentation/ | +1 | 0 replies | |
| 5/5 | arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5Garch/ arch/ arch/ | +399 | 0 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Roman Vivchar | Krzysztof Kozlowski | AngeloGioacchino Del Regtno |
|---|---|---|---|
| 1/5 | R-b | A-b | |
| 2/5 | A-b | R-b | |
| 3/5 | R-b | ||
| 4/5 | R-b | A-b | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/5] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
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.
---
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/[email protected]
---
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,
Signature · 1 line
Rui Cao <[email protected]>