Skip to content

arm64: dts: allwinner: Add Anbernic RG35XX (Plus/H/2024) support

Ryan Walklin linux-devicetree linux-sunxi 7 versions – Applied

Status from this message: Merged, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 2 repliesApplied
  2. v54 patches 2 repliesSuperseded
  3. v44 patches 5 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v3 posting 2/20 of 4 patches0 repliesSuperseded
v3 posting 1/24 patches9 repliesSuperseded
v25 patches17 repliesSuperseded
v14 patches14 repliesSuperseded

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: arm: sunxi: document Anbernic RG35XX handheld gaming device variantsDocumentation/devicetree/bindings/arm/sunxi.yaml+15 -00 replies
2/4arm64: dts: allwinner: h700: Add RG35XX 2024 DTSarch/arm64/boot/dts/allwinner/Makefile arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts+328 -01 reply
3/4arm64: dts: allwinner: h700: Add RG35XX-Plus DTSarch/arm64/boot/dts/allwinner/Makefile arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-plus.dts+54 -00 replies
4/4arm64: dts: allwinner: h700: Add RG35XX-H DTSarch/arm64/boot/dts/allwinner/Makefile arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-h.dts+37 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiJernej SkrabecAndre Przywara
1/4A-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

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.

Read the v6 thread

Cover letter [PATCH v6 0/4] arm64: dts: allwinner: Add Anbernic RG35XX (Plus/H/2024) support

Further revision with a further few small formatting fixes. Major v5..v6 change is removal of the SD2 card node, given the requirements for low-voltage signalling are not fully elucidated and 3.3v operation, although working, was reliant on incorrect regulator node definitions.

Original cover below.
--

The Anbernic RG35XX is a family of handheld gaming devices. There are 4 variants, of which 3 using the Allwinner H700 chip are covered by this patchset. The fourth (released first and named simply RG35XX) uses an Actions Semiconductor ATM7039s which is a 32-bit Cortex-A9 chip with no mainline support and is not covered.

Common features (RG35XX-2024):
- Allwinner H700 @ 1.5GHz (H616 variant exposing RGB LCD and NMI pins, with 4x Cortex-A53 Cores and a Mali G31 GPU)
- 1 GB LPDDR4 DRAM
- AXP717 PMIC (patches accepted in mfd-next [1])
- 3.5" 640x480 RGB LCD
- Mini-HDMI, 3.5mm audio jack, mono speaker, two microSD slots and USB-C (USB 2.0) for power.

RG35XX-Plus adds:
- RTL8821CS SDIO Wifi/BT chip

RG35XX-H (Horizontal form-factor) adds:
- RTL8821CS SDIO Wifi/BT chip
- Two analog thumbsticks
- Second USB-C port
- Stereo speaker

Patch 1 adds the DT bindings for the board names, Patch 2 adds the -2024 device as a common base, Patch 3 adds Wifi/BT support for the -Plus (and -H), and Patch 3 adds the second USB and thumbsticks for the -H. The -H is a strict superset of the -Plus, which is in turn a strict superset of the -2024, so this translates quite neatly.

LCD, HDMI, audio, and GPU support are not yet ready and relying on out-of-tree patches currently, so will be added once these drivers are mainlined.

Ryan

Ryan Walklin (4):
dt-bindings: arm: sunxi: document Anbernic RG35XX handheld gaming
device variants
arm64: dts: allwinner: h700: Add RG35XX 2024 DTS
arm64: dts: allwinner: h700: Add RG35XX-Plus DTS
arm64: dts: allwinner: h700: Add RG35XX-H DTS

 .../devicetree/bindings/arm/sunxi.yaml        |  15 +
 arch/arm64/boot/dts/allwinner/Makefile        |   3 +
 .../sun50i-h700-anbernic-rg35xx-2024.dts      | 327 ++++++++++++++++++
 .../sun50i-h700-anbernic-rg35xx-h.dts         |  36 ++
 .../sun50i-h700-anbernic-rg35xx-plus.dts      |  53 +++
 5 files changed, 434 insertions(+)
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-h.dts
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-plus.dts
Signature · 1 line
2.44.0