Hi Marek,
Me again!
On 07/29/2017 02:34 AM, Marek Vasut wrote:
On 07/29/2017 12:07 AM, Alexandru Gagniuc wrote:
+static void aspi_drain_fifo(struct anarion_qspi *aspi, uint8_t *buf, size_t
len)
+{
+ uint32_t data;
Is this stuff below something like ioread32_rep() ?
[snip
On 07/29/2017 02:34 AM, Marek Vasut wrote:
On 07/29/2017 12:07 AM, Alexandru Gagniuc wrote:
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
Hi Vineet,
On 08/10/2017 06:07 PM, Vineet Gupta wrote:
Hi Alexandru,
On 08/11/2017 12:58 AM, Alexandru Gagniuc wrote:
Hi,
Looking under arch/arc, I see the current way is to add a
plat-[socname] for each new SoC. However, it seems that plat-sim, and
plat-tb10x are just place-holders
.com>
Cc: Alexandru Gagniuc <ale...@adaptrum.com>
Tested-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
arch/arc/kernel/intc-arcv2.c | 3 +++
arch/arc/kernel/intc-compact.c | 14 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/arc/kernel/intc-ar
Hi,
Looking under arch/arc, I see the current way is to add a plat-[socname]
for each new SoC. However, it seems that plat-sim, and plat-tb10x are
just place-holders for the compatible bindings.
I was going to do the same for plat-anarion, which required an early
boot workaround. However,
Signed-off-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
Changes since v1:
* Updated CPU core clock to 24 MHz to match HW changes.
arch/arc/boot/dts/adaptrum_anarion.dtsi | 108
arch/arc/boot/dts/adaptrum_anarion_fpga.dts | 49 +
2 files c
and interrupt mapping established.
Signed-off-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
Changes since v1:
* None
arch/arc/Kconfig | 1 +
arch/arc/Makefile| 1 +
arch/arc/plat-anarion/Kconfig| 10 ++
arch/arc/plat-anarion/Makefile
and interrupt mapping established.
Signed-off-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
arch/arc/Kconfig | 1 +
arch/arc/Makefile| 1 +
arch/arc/plat-anarion/Kconfig| 10 ++
arch/arc/plat-anarion/Makefile | 7 +++
arch/arc/plat-a
are implemented at
this time.
Signed-off-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
.../devicetree/bindings/mtd/anarion-quadspi.txt| 22 +
drivers/mtd/spi-nor/Kconfig| 7 +
drivers/mtd/spi-nor/Makefile | 1 +
drivers/mtd/spi-nor/a
Signed-off-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
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 da
Signed-off-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
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/bo
On 07/31/2017 02:33 PM, Marek Vasut wrote:
On 07/31/2017 07:17 PM, Alexandru Gagniuc wrote:
Hi Marek,
Thank you again for your feedback. I've applied a majority of your
suggestions, and I am very happy with the result. I should have v2
posted within a day or so.
[snip]
+/*
+ * This mask
On 07/31/2017 03:43 PM, Marek Vasut wrote:
On 08/01/2017 12:20 AM, Alexandru Gagniuc wrote:
On 07/31/2017 02:33 PM, Marek Vasut wrote:
On 07/31/2017 07:17 PM, Alexandru Gagniuc wrote:
+struct anarion_qspi {
+structspi_nor nor;
+structdevice *dev;
+uintptr_t
On 08/01/2017 11:23 PM, Vineet Gupta wrote:
On 08/02/2017 03:03 AM, Alex wrote:
On 07/25/2017 08:08 PM, Vineet Gupta wrote:
I have tried the workarouns I mentioned on top of linux 4.9.34, and it
works exactly as expected. however, on top of 4.13-rc3 [1], the story
is a lot different. As soon as
On 08/13/2017 10:34 AM, Vineet Gupta wrote:
On 08/11/2017 10:55 PM, Alexandru Gagniuc wrote:
I was hoping to avoid the addition of extra source files for zero code
gain, though your proposal does work. However, since the platform
would be added unconditionally, would it make more sense to add
This is split into the SOC bindings, and the board dts. The Endor
board is currently an FPGA emulation. Once real, silicon arrives, we
plan to remove Endor support.
Signed-off-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
arch/arc/boot/dts/adaptrum_anarion.dtsi
le binding with 'arc-'
Changes since v1:
* Updated CPU core clock to 24 MHz to match HW changes.
Alexandru Gagniuc (2):
ARC: [plat-sim] Add .compatible property for Adaptrum Anarion SOC
ARC: DTS: Add device-tree for Anarion-based development board
arch/arc/boot/dts/adaptrum_an
as opposed to adding plat-anarion/--
because it doesn't add a bunch of extra files.
Signed-off-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
arch/arc/plat-sim/platform.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arc/plat-sim/platform.c b/arch/arc/plat-sim/platform.c
index
18 matches
Mail list logo