Skip to content

Add Anbernic RG35XX-2024

Chris Morgan u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 4 repliesIn review
  2. v29 patches 2 repliesSuperseded
  3. v19 patches 12 repliesSuperseded

Changes in v3 from the cover letter

- Moved back to using the U-Boot specific device tree, for now.
- Changed the cherry picked device tree commits to update both the U-Boot device tree and the mainline device tree, so either could be used.
- Made the DRAM PHY pinconf compile time selectable instead of runtime selectable to decrease SPL memory usage.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9sunxi: H616: dram: LPDDR4: adjust settingsarch/arm/mach-sunxi/dram_sun50i_h616.c arch/arm/mach-sunxi/dram_timings/h616_lpddr4_2133.c+24 -110 replies
2/9sunxi: H616: DRAM: Add alternative pin mappingarch/arm/mach-sunxi/Kconfig arch/arm/mach-sunxi/dram_sun50i_h616.c+38 -10 replies
3/9sunxi: H616: DRAM: Adjust configuration procedurearch/arm/mach-sunxi/dram_sun50i_h616.c+9 -10 replies
4/9sunxi: H616: DRAM: Adjust size scan procedurearch/arm/mach-sunxi/dram_sun50i_h616.c+18 -130 replies
5/9sunxi: H616: dram: Update mbus prioritiesarch/arm/mach-sunxi/dram_sun50i_h616.c+21 -201 reply
6/9sunxi: Correct TPR6 parameter for H616 DRAM driverarch/arm/mach-sunxi/Kconfig+1 -11 reply
7/9arm64: dts: allwinner: h616: Add r_i2c pinctrl nodesarch/arm/dts/sun50i-h616.dtsi dts/upstream/src/arm64/allwinner/sun50i-h616.dtsi+4 -02 replies
8/9arm64: dts: allwinner: h616: Change RG35XX PMIC to r_i2carch/arm/dts/sun50i-h700-anbernic-rg35xx-2024.dts dts/upstream/src/arm64/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts+6 -60 replies
9/9sunxi: Add support for Anbernic RG35XX-2024board/sunxi/MAINTAINERS configs/anbernic_rg35xx_h700_defconfig+33 -00 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchChris MorganAndre Przywara
1/9T-b
2/9
3/9T-b
4/9T-b
5/9T-b R-b
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/9] Add Anbernic RG35XX-2024

From: Chris Morgan <[email protected]>

Add support for the Anbernic RG35XX-2024.

This device is a handheld gaming console (series) based around the Anbernic H700 SoC. It comes with 1GB of RAM and multiple face buttons for input.

Add support for the simplest model for now, and then iterate later to add board detection logic, support the entire device lineup, and move to using the mainline device tree.

Changes since V2:
- Moved back to using the U-Boot specific device tree, for now.
- Changed the cherry picked device tree commits to update both the U-Boot device tree and the mainline device tree, so either could be used.
- Made the DRAM PHY pinconf compile time selectable instead of runtime selectable to decrease SPL memory usage.

Changes since V1:
- Removed DDR3 and LPDDR3 patches from Jernej Skrabec, as they could not be tested by me and were not required to bring up this device.
- Changed the default TPR6 parameter based on a suggestion from Mikhail Kalashnikov.
- Cherry picked 2 commits from linux-next and converted devicetree to upstream.

Chris Morgan (5):
sunxi: H616: DRAM: Add alternative pin mapping
sunxi: Correct TPR6 parameter for H616 DRAM driver
arm64: dts: allwinner: h616: Add r_i2c pinctrl nodes
arm64: dts: allwinner: h616: Change RG35XX PMIC to r_i2c
sunxi: Add support for Anbernic RG35XX-2024

Jernej Skrabec (4):
sunxi: H616: dram: LPDDR4: adjust settings
sunxi: H616: DRAM: Adjust configuration procedure
sunxi: H616: DRAM: Adjust size scan procedure
sunxi: H616: dram: Update mbus priorities

 arch/arm/dts/sun50i-h616.dtsi                 |   2 +
 .../dts/sun50i-h700-anbernic-rg35xx-2024.dts  |   6 +-
 arch/arm/mach-sunxi/Kconfig                   |  19 ++-
 arch/arm/mach-sunxi/dram_sun50i_h616.c        | 137 ++++++++++++------
 .../dram_timings/h616_lpddr4_2133.c           |   2 +-
 board/sunxi/MAINTAINERS                       |   5 +
 configs/anbernic_rg35xx_h700_defconfig        |  28 ++++
 .../src/arm64/allwinner/sun50i-h616.dtsi      |   2 +
 .../sun50i-h700-anbernic-rg35xx-2024.dts      |   6 +-
 9 files changed, 154 insertions(+), 53 deletions(-)
 create mode 100644 configs/anbernic_rg35xx_h700_defconfig
Signature · 1 line
2.34.1