Skip to content

Add Chameleon v3 support

Paweł Anikiel u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 15 repliesIn review
  2. v111 patches 15 repliesSuperseded

Changes in v2 from the cover letter

Adjust devicetrees so that they work both in u-boot and linux Put u-boot-specific parts of devicetrees into *-u-boot.dtsi files Minor changes in Kconfig, defconfig, and config.h

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11arm: dts: Add Mercury+ AA1 devicetreesarch/arm/dts/socfpga_arria10_mercury_aa1-u-boot.dtsi arch/arm/dts/socfpga_arria10_mercury_aa1.dtsi+126 -01 reply
2/11arm: dts: Add Chameleonv3 handoff headersarch/arm/dts/socfpga_arria10_chameleonv3_270_3_handoff.h arch/arm/dts/socfpga_arria10_chameleonv3_480_2_handoff.h+610 -01 reply
3/11arm: dts: Add Chameleonv3 devicetreesarch/arm/dts/Makefile arch/arm/dts/socfpga_arria10_chameleonv3.dts arch/arm/dts/socfpga_arria10_chameleonv3_270_3-u-boot.dtsi +3 more+118 -01 reply
4/11board: Add Chameleonv3 board dirboard/google/chameleonv3/Makefile board/google/chameleonv3/board.c board/google/chameleonv3/fpga.its +3 more+150 -01 reply
5/11config: Add Chameleonv3 configarch/arm/mach-socfpga/Kconfig configs/socfpga_chameleonv3_defconfig include/configs/socfpga_chameleonv3.h+80 -01 reply
6/11misc: atsha204a: Increase wake delay by tWHIdrivers/misc/atsha204a-i2c.c+3 -21 reply
7/11sysreset: socfpga: Use parent device for reading base addressdrivers/sysreset/sysreset_socfpga.c+1 -11 reply
8/11socfpga: arria10: Replace delays with busy waiting in cm_full_cfgarch/arm/mach-socfpga/clock_manager.c arch/arm/mach-socfpga/clock_manager_arria10.c arch/arm/mach-socfpga/include/mach/clock_manager.h+14 -92 replies
9/11socfpga: arria10: Improve bitstream loading speeddrivers/fpga/socfpga_arria10.c+18 -22 replies
10/11socfpga: arria10: Wait for fifo empty after writing bitstreamdrivers/fpga/socfpga_arria10.c+8 -01 reply
11/11socfpga: arria10: Allow dcache_enable before relocationarch/arm/mach-socfpga/misc_arria10.c+26 -01 reply

Reviews trailers per patch

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

PatchSimon Glass
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

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

Read the v2 thread

Cover letter [PATCH v2 00/11] Add Chameleon v3 support

The Google Chameleon v3 is a board made for testing both video and audio interfaces of external devices. It has a connector compatible with the Mercury+ AA1 module, which itself contains an Arria 10 SoCFPGA. The AA1 module comes in a few different configurations, the Chameleon V3 supports ME-AA1-270-3E4-D11 and ME-AA1-480-2I3-D12E.

This patchset adds support for the Chameleon v3 (both versions), as well as some bugfixes and optimizations, mostly in Arria 10 code.

V2:
Adjust devicetrees so that they work both in u-boot and linux Put u-boot-specific parts of devicetrees into *-u-boot.dtsi files Minor changes in Kconfig, defconfig, and config.h

Paweł Anikiel (11):
arm: dts: Add Mercury+ AA1 devicetrees
arm: dts: Add Chameleonv3 handoff headers
arm: dts: Add Chameleonv3 devicetrees
board: Add Chameleonv3 board dir
config: Add Chameleonv3 config
misc: atsha204a: Increase wake delay by tWHI
sysreset: socfpga: Use parent device for reading base address
socfpga: arria10: Replace delays with busy waiting in cm_full_cfg
socfpga: arria10: Improve bitstream loading speed
socfpga: arria10: Wait for fifo empty after writing bitstream
socfpga: arria10: Allow dcache_enable before relocation

 arch/arm/dts/Makefile                         |   2 +
 arch/arm/dts/socfpga_arria10_chameleonv3.dts  |  90 ++++++
 ...fpga_arria10_chameleonv3_270_3-u-boot.dtsi |   8 +
 .../dts/socfpga_arria10_chameleonv3_270_3.dts |   5 +
 ...ocfpga_arria10_chameleonv3_270_3_handoff.h | 305 ++++++++++++++++++
 ...fpga_arria10_chameleonv3_480_2-u-boot.dtsi |   8 +
 .../dts/socfpga_arria10_chameleonv3_480_2.dts |   5 +
 ...ocfpga_arria10_chameleonv3_480_2_handoff.h | 305 ++++++++++++++++++
 .../socfpga_arria10_mercury_aa1-u-boot.dtsi   |  54 ++++
 arch/arm/dts/socfpga_arria10_mercury_aa1.dtsi |  72 +++++
 arch/arm/mach-socfpga/Kconfig                 |   7 +
 arch/arm/mach-socfpga/clock_manager.c         |   7 +-
 arch/arm/mach-socfpga/clock_manager_arria10.c |  12 +-
 .../mach-socfpga/include/mach/clock_manager.h |   4 +
 arch/arm/mach-socfpga/misc_arria10.c          |  26 ++
 board/google/chameleonv3/Makefile             |   5 +
 board/google/chameleonv3/board.c              |  27 ++
 board/google/chameleonv3/fpga.its             |  28 ++
 board/google/chameleonv3/fpga_early_io.its    |  35 ++
 board/google/chameleonv3/mercury_aa1.c        |  43 +++
 board/google/chameleonv3/mercury_aa1.h        |  12 +
 configs/socfpga_chameleonv3_defconfig         |  29 ++
 drivers/fpga/socfpga_arria10.c                |  28 +-
 drivers/misc/atsha204a-i2c.c                  |   5 +-
 drivers/sysreset/sysreset_socfpga.c           |   2 +-
 include/configs/socfpga_chameleonv3.h         |  44 +++
 26 files changed, 1154 insertions(+), 14 deletions(-)
 create mode 100644 arch/arm/dts/socfpga_arria10_chameleonv3.dts
 create mode 100644 arch/arm/dts/socfpga_arria10_chameleonv3_270_3-u-boot.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria10_chameleonv3_270_3.dts
 create mode 100644 arch/arm/dts/socfpga_arria10_chameleonv3_270_3_handoff.h
 create mode 100644 arch/arm/dts/socfpga_arria10_chameleonv3_480_2-u-boot.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria10_chameleonv3_480_2.dts
 create mode 100644 arch/arm/dts/socfpga_arria10_chameleonv3_480_2_handoff.h
 create mode 100644 arch/arm/dts/socfpga_arria10_mercury_aa1-u-boot.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria10_mercury_aa1.dtsi
 create mode 100644 board/google/chameleonv3/Makefile
 create mode 100644 board/google/chameleonv3/board.c
 create mode 100644 board/google/chameleonv3/fpga.its
 create mode 100644 board/google/chameleonv3/fpga_early_io.its
 create mode 100644 board/google/chameleonv3/mercury_aa1.c
 create mode 100644 board/google/chameleonv3/mercury_aa1.h
 create mode 100644 configs/socfpga_chameleonv3_defconfig
 create mode 100644 include/configs/socfpga_chameleonv3.h
Signature · 1 line
2.36.1.124.g0e6072fb45-goog