Skip to content

arm64: add support for the Khadas VIM3

Neil Armstrong linux-amlogic linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6soc: amlogic: meson-gx-socinfo: add A311D iddrivers/soc/amlogic/meson-gx-socinfo.c+1 -01 reply
2/6dt-bindings: arm: amlogic: add bindings for G12B based S922X SoCDocumentation/devicetree/bindings/arm/amlogic.yaml+1 -05 replies
3/6dt-bindings: arm: amlogic: add bindings for the Amlogic G12B based A311D SoCDocumentation/devicetree/bindings/arm/amlogic.yaml+5 -01 reply
4/6dt-bindings: arm: amlogic: add support for the Khadas VIM3Documentation/devicetree/bindings/arm/amlogic.yaml+3 -01 reply
5/6arm64: dts: meson-g12b: support a311d and s922x cpu operating pointsarch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +1 more+274 -1160 replies
6/6arm64: dts: meson-g12b-khadas-vim3: add initial device-treearch/arm64/boot/dts/amlogic/Makefile arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi +1 more+574 -02 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/6
2/6R-b
3/6R-b
4/6R-b
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH 0/6] arm64: add support for the Khadas VIM3

The Khadas VIM3 uses the Amlogic S922X or A311S SoC, both based on the Amlogic G12B SoC family, on a board with the same form factor as the VIM/VIM2 models. It ships in two variants; basic and
pro which differ in RAM and eMMC size:

- 2GB (basic) or 4GB (pro) LPDDR4 RAM
- 16GB (basic) or 32GB (pro) eMMC 5.1 storage
- 16MB SPI flash
- 10/100/1000 Base-T Ethernet
- AP6398S Wireless (802.11 a/b/g/n/ac, BT5.0)
- HDMI 2.1 video
- 1x USB 2.0 + 1x USB 3.0 ports
- 1x USB-C (power) with USB 2.0 OTG
- 3x LED's (1x red, 1x blue, 1x white)
- 3x buttons (power, function, reset)
- IR receiver
- M2 socket with PCIe, USB, ADC & I2C
- 40pin GPIO Header
- 1x micro SD card slot

First of all, the S922X and A311D are now specified since they differ by some HW features and the capable operating points.

A common meson-g12b-khadas-vim3.dtsi is added to support both S922X and A311D SoCs supported by two variants of the board.

Odroid-N2 is changed to use the s922x.dtsi include.

Dependencies:
- patch 5 & 6: "arm64: g12a: add support for DVFS" at [1]

[1] https://patchwork.kernel.org/cover/11063837/

Christian Hewitt (4):
soc: amlogic: meson-gx-socinfo: add A311D id
dt-bindings: arm: amlogic: add support for the Khadas VIM3
arm64: dts: meson-g12b: support a311d and s922x cpu operating points
arm64: dts: meson-g12b-khadas-vim3: add initial device-tree

Neil Armstrong (2):
dt-bindings: arm: amlogic: add bindings for G12B based S922X SoC
dt-bindings: arm: amlogic: add bindings for the Amlogic G12B based

    A311D SoC
 .../devicetree/bindings/arm/amlogic.yaml      |   9 +
 arch/arm64/boot/dts/amlogic/Makefile          |   2 +
 .../amlogic/meson-g12b-a311d-khadas-vim3.dts  |  15 +
 .../boot/dts/amlogic/meson-g12b-a311d.dtsi    | 149 +++++
 .../dts/amlogic/meson-g12b-khadas-vim3.dtsi   | 542 ++++++++++++++++++
 .../boot/dts/amlogic/meson-g12b-odroid-n2.dts |   2 +-
 .../amlogic/meson-g12b-s922x-khadas-vim3.dts  |  15 +
 .../boot/dts/amlogic/meson-g12b-s922x.dtsi    | 124 ++++
 arch/arm64/boot/dts/amlogic/meson-g12b.dtsi   | 115 ----
 drivers/soc/amlogic/meson-gx-socinfo.c        |   1 +
 10 files changed, 858 insertions(+), 116 deletions(-)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-s922x-khadas-vim3.dts
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
Signature · 1 line
2.22.0