Re: [PATCH 3/5] net: stmmac: Add Adaptrum Anarion GMAC glue layer

2017-07-28 Thread David Miller
From: Alexandru Gagniuc Date: Fri, 28 Jul 2017 15:07:03 -0700 > Before the GMAC on the Anarion chip can be used, the PHY interface > selection must be configured with the DWMAC block in reset. > > This layer covers a block containing only two registers. Although it > is possible to model this as

[PATCH 2/5] ARC: [plat-anarion] Add early boot workarounds for Anarion SOC

2017-07-28 Thread Alexandru Gagniuc
An ARC, the interrupts are enabled globally, rather than per-line, as drivers request it. Thus, we need to make sure that peripherals don't generate any before the respective drivers are probed. The GMAC is infamous for spamming interrupts, so it must be kept in reset until the driver is probed and

[PATCH 1/5] of: Add vendor prefix for Adaptrum, Inc.

2017-07-28 Thread Alexandru Gagniuc
Signed-off-by: Alexandru Gagniuc --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index daf465be..33ee112 100644 --- a/Docume

[PATCH 5/5] ARC: DTS: Add device-tree for Anarion-based development board

2017-07-28 Thread Alexandru Gagniuc
Signed-off-by: Alexandru Gagniuc --- arch/arc/boot/dts/adaptrum_anarion.dtsi | 107 arch/arc/boot/dts/adaptrum_anarion_fpga.dts | 49 + 2 files changed, 156 insertions(+) create mode 100644 arch/arc/boot/dts/adaptrum_anarion.dtsi create mode 100644

[PATCH 4/5] mtd: spi-nor: Add driver for Adaptrum Anarion QSPI controller

2017-07-28 Thread Alexandru Gagniuc
Add support for the QSPI controller found in Adaptrum Anarion SOCs. This controller is designed specifically to handle SPI NOR chips, and the driver is modeled as such. Because the system is emulated on an FPGA, we don't have a way to test all the hardware adjustemts, so only basic features are im

[PATCH 0/5] Initial support for Adaptrum Anarion SOC

2017-07-28 Thread Alexandru Gagniuc
We've reached the point where we can boot a basic linux system on the new SOC, and I'm very excited to share the code I've developed in the process. This series includes a new driver for the QSPI controller on the chip, although the flash layout is not specified in the devicetree. The flash layout

[PATCH 3/5] net: stmmac: Add Adaptrum Anarion GMAC glue layer

2017-07-28 Thread Alexandru Gagniuc
Before the GMAC on the Anarion chip can be used, the PHY interface selection must be configured with the DWMAC block in reset. This layer covers a block containing only two registers. Although it is possible to model this as a reset controller and use the "resets" property of stmmac, it's much mor