All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] sunxi: A523: add LPDDR3 DRAM support and Teclast P85T board
@ 2026-12-05 15:15 Mikhail Kalashnikov
  2026-12-05 15:15 ` [PATCH 1/5] sunxi: A523: add missing DDR4 bits Mikhail Kalashnikov
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Mikhail Kalashnikov @ 2026-12-05 15:15 UTC (permalink / raw)
  To: u-boot
  Cc: Andre Przywara, Jernej Skrabec, Tom Rini, Ilias Apalodimas,
	Hans de Goede

This series adds initial LPDDR3 DRAM support for the Allwinner A523
(sun55i) SoC and a U-Boot port for the Teclast P85T tablet.

The DRAM programming was reverse-engineered by hand in autumn 2025,
before the LLM era; no LLM was used for the reverse engineering itself.
The patches were formatted with LLM assistance while preparing this
series.

Patch 1 adds additional DDR4 programming that was found while analysing
the vendor boot0/libdram for the LPDDR3 work. There is no A523 DDR4
hardware available, so it is untested and DDR4 support remains
incomplete; the bits are kept for completeness.

Patch 2 adds the LPDDR3 support: PHY ODT and CA delay setup, the mode
register sequence, ODT map/timing, the MSTR rank mask and a new LPDDR3
timing file. The timings are safe fallback values and only 2 GiB of
the P85T's 4 GiB is currently visible; both are known limitations. The
LPDDR3 path has been tested on the P85T.

Patches 3-5 add the Teclast P85T device tree, a temporary backlight
workaround and the board defconfig.

The known limitations have already been addressed with active LLM
assistance. Those changes still need to be verified, refined and fully
understood before submission, so they will be sent later in a follow-up
series.

The corresponding Linux device tree series is available at:
https://lore.kernel.org/linux-sunxi/cover.1796399781.git.iuncuim@gmail.com/T/#t

Based on v2027.01-rc3.

Assisted-by: OpenCode:DeepSeek-V4.1-Flash

Mikhail Kalashnikov (5):
  sunxi: A523: add missing DDR4 bits
  sunxi: A523: add LPDDR3 DRAM support
  arm64: dts: allwinner: add Teclast P85T
  [HACK] arm64: dts: allwinner: sun55i-a523-teclast-p85t: keep backlight
    on
  sunxi: add Teclast P85T defconfig

 arch/arm/dts/Makefile                         |   2 +
 arch/arm/dts/sun55i-a523-teclast-p85t.dts     | 419 ++++++++++++++++++
 .../include/asm/arch-sunxi/dram_sun55i_a523.h |   3 +-
 arch/arm/mach-sunxi/Kconfig                   |   8 +
 arch/arm/mach-sunxi/dram_sun55i_a523.c        | 102 ++++-
 arch/arm/mach-sunxi/dram_timings/Makefile     |   1 +
 .../arm/mach-sunxi/dram_timings/a523_lpddr3.c |  82 ++++
 board/sunxi/MAINTAINERS                       |   6 +
 configs/teclast-p85t_defconfig                |  35 ++
 9 files changed, 643 insertions(+), 15 deletions(-)
 create mode 100644 arch/arm/dts/sun55i-a523-teclast-p85t.dts
 create mode 100644 arch/arm/mach-sunxi/dram_timings/a523_lpddr3.c
 create mode 100644 configs/teclast-p85t_defconfig

-- 
2.56.1


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

end of thread, other threads:[~2026-12-05 15:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05 15:15 [PATCH 0/5] sunxi: A523: add LPDDR3 DRAM support and Teclast P85T board Mikhail Kalashnikov
2026-12-05 15:15 ` [PATCH 1/5] sunxi: A523: add missing DDR4 bits Mikhail Kalashnikov
2026-12-05 15:15 ` [PATCH 2/5] sunxi: A523: add LPDDR3 DRAM support Mikhail Kalashnikov
2026-12-05 15:15 ` [PATCH 3/5] arm64: dts: allwinner: add Teclast P85T Mikhail Kalashnikov
2026-12-05 15:15 ` [PATCH 4/5] [HACK] arm64: dts: allwinner: sun55i-a523-teclast-p85t: keep backlight on Mikhail Kalashnikov
2026-12-05 15:26 ` [PATCH 5/5] sunxi: add Teclast P85T defconfig Mikhail Kalashnikov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.