amlogic: vim3: add support for dynamic PCIe enable
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/20 of 4 patches 0 repliesNew
- v2 posting 1/24 patches 0 repliesSuperseded
- v14 patches 0 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] amlogic: vim3: add support for dynamic PCIe enable
Quoted 34 lines · Neil Armstrong
The VIM3 on-board MCU can mux the PCIe/USB3.0 shared differential lines using a FUSB340TMX USB 3.1 SuperSpeed Data Switch between an USB3.0 Type A connector and a M.2 Key M slot.
The PHY driving these differential lines is shared between the USB3.0 controller and the PCIe Controller, thus only a single controller can use it.This serie adds a VIM3 specific board support and adds this dynamic switching right before booting Linux.
Changes since v1:
- add missingkhadas-mcu.h
- add documentation to switch pcie on/offNeil Armstrong (4):
ARM: dts: sync amlogic G12A/SM1 DT from Linux 5.9-rc1
board: amlogic: add a vim3 specific board support
configs: vim3: use the vim3 board support
board: amlogic: vim3: add support for dynamic PCIe enablearch/arm/dts/meson-g12-common.dtsi | 55 ++++--- arch/arm/dts/meson-g12b-odroid-n2.dts | 136 +++++++++++++++++- arch/arm/dts/meson-khadas-vim3.dtsi | 26 +++- arch/arm/dts/meson-sm1-khadas-vim3l.dts | 92 ++++++++++++ arch/arm/dts/meson-sm1-odroid-c4.dts | 88 ++++++++++++ board/amlogic/vim3/MAINTAINERS | 9 ++ board/amlogic/vim3/Makefile | 6 + board/amlogic/vim3/khadas-mcu.h | 81 +++++++++++ board/amlogic/vim3/vim3.c | 136 ++++++++++++++++++ board/amlogic/w400/MAINTAINERS | 4 - configs/khadas-vim3_defconfig | 5 +- configs/khadas-vim3l_defconfig | 5 +- doc/board/amlogic/khadas-vim3.rst | 27 ++++ doc/board/amlogic/khadas-vim3l.rst | 27 ++++
Quoted 9 lines
include/dt-bindings/clock/g12a-clkc.h | 2 + .../dt-bindings/sound/meson-g12a-toacodec.h | 10 ++ 16 files changed, 679 insertions(+), 30 deletions(-) create mode 100644 board/amlogic/vim3/MAINTAINERS create mode 100644 board/amlogic/vim3/Makefile create mode 100644 board/amlogic/vim3/khadas-mcu.h create mode 100644 board/amlogic/vim3/vim3.c create mode 100644 include/dt-bindings/sound/meson-g12a-toacodec.h
Applied to u-boot-amlogic-next