
From: Chris Morgan macromorgan@hotmail.com
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