linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Add Banana Pi BPI-W2 basic support
@ 2019-07-07 13:22 Aleix Roca Nonell
  2019-07-07 13:35 ` Andreas Färber
  0 siblings, 1 reply; 2+ messages in thread
From: Aleix Roca Nonell @ 2019-07-07 13:22 UTC (permalink / raw)
  To: Andreas Färber, Rob Herring, Mark Rutland, Thomas Gleixner,
	Jason Cooper, Marc Zyngier
  Cc: Matthias Brugger, devicetree, linux-kernel, linux-arm-kernel

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

-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/6] Add Banana Pi BPI-W2 basic support
  2019-07-07 13:22 [PATCH 0/6] Add Banana Pi BPI-W2 basic support Aleix Roca Nonell
@ 2019-07-07 13:35 ` Andreas Färber
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Färber @ 2019-07-07 13:35 UTC (permalink / raw)
  To: Aleix Roca Nonell
  Cc: Mark Rutland, devicetree, Jason Cooper, linux-realtek-soc,
	Marc Zyngier, linux-kernel, Rob Herring, Matthias Brugger,
	Thomas Gleixner, linux-arm-kernel

Am 07.07.19 um 15:22 schrieb Aleix Roca Nonell:
> This patch series adds minimum support to boot a Banana Pi BPI-W2.

Thanks for looking into this.

Please CC linux-realtek-soc@lists.infradead.org next time.

Regards,
Andreas

-- 
SUSE Linux GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-07 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-07 13:22 [PATCH 0/6] Add Banana Pi BPI-W2 basic support Aleix Roca Nonell
2019-07-07 13:35 ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).