Add Banana Pi BPI-W2 basic support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | dt-bindings: interrupt-controller: Document RTD129xDocumentation/ | +24 | 2 replies | |
| 2/6 | irqchip: Add Realtek RTD129x intc driverdrivers/ drivers/ | +372 | 5 replies | |
| 3/6 | arm64: dts: realtek: Move rtd1295 memreserve areas from the generic rtd129x to its specific dtsiarch/ arch/ | +3 | 0 replies | |
| 4/6 | arm64: dts: realtek: Add realtek intc to RTD129xarch/ | +10 | 0 replies | |
| 5/6 | dt-bindings: arm: Document RTD1296Documentation/ | +13 | 2 replies | |
| 6/6 | arm64: dts: realtek: Add bpi-w2 board support and its RTD1296 SoCarch/ arch/ arch/ | +105 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Add Banana Pi BPI-W2 basic support
This patch series adds minimum support to boot a Banana Pi BPI-W2. This board serial interface is muxed through a custom Realtek driver not currently in mainline. Without the driver, it is only possible to initialize a bootconsole, but init cannot be run. The datasheet of the board's RTD1296 SoC is not publicly available and the procedure to interface the interrupt controller registers is not completely known yet, however, it works.
This patch is based on the official BPI-W2 downstream kernel driver [1] and the last attempt of Andreas Färber [2] to support such driver.
Please, note that the board still requires a slightly modified version of the downstreamed Realtek U-Boot to launch the Linux Kernel, which essentially removes the need for some dts nodes not included in this patch and reallocates u-boot before loading the kernel to avoid overriding U-Boot code.
[1] - https://github.com/BPI-SINOVOIP/BPI-W2-bsp
[2] - https://patchwork.kernel.org/patch/10011891
Aleix Roca Nonell (6):
dt-bindings: interrupt-controller: Document RTD129x
irqchip: Add Realtek RTD129x intc driver
arm64: dts: realtek: Move rtd1295 memreserve areas from the generic
rtd129x to its specific dtsi
arm64: dts: realtek: Add realtek intc to RTD129x
dt-bindings: arm: Document RTD1296
arm64: dts: realtek: Add bpi-w2 board support and its RTD1296 SoC
.../devicetree/bindings/arm/realtek.txt | 13 + .../realtek,rtd129x-intc.txt | 24 ++ arch/arm64/boot/dts/realtek/Makefile | 1 + arch/arm64/boot/dts/realtek/rtd1295.dtsi | 3 + .../dts/realtek/rtd1296-bananapi-bpi-w2.dts | 27 ++ arch/arm64/boot/dts/realtek/rtd1296.dtsi | 77 ++++ arch/arm64/boot/dts/realtek/rtd129x.dtsi | 12 +- drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-rtd129x.c | 371 ++++++++++++++++++ 9 files changed, 527 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt create mode 100644 arch/arm64/boot/dts/realtek/rtd1296-bananapi-bpi-w2.dts create mode 100644 arch/arm64/boot/dts/realtek/rtd1296.dtsi create mode 100644 drivers/irqchip/irq-rtd129x.c
Signature · 1 line
2.21.0