Skip to content

MIPS: pistachio: Creator Ci40 aka Marduk SPI-UART

Andreas Färber dmaengine linux-clk linux-devicetree linux-mips linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15MIPS: dts: img: pistachio_marduk: Reorder nodesarch/mips/boot/dts/img/pistachio_marduk.dts+38 -380 replies
2/15MIPS: dts: img: pistachio_marduk: Cleanupsarch/mips/boot/dts/img/pistachio_marduk.dts+3 -10 replies
3/15MIPS: dts: img: pistachio: Rename spim0-clk pin node labelarch/mips/boot/dts/img/pistachio.dtsi+1 -10 replies
4/15MIPS: dts: img: pistachio_marduk: Switch mmc to 1 bit modearch/mips/boot/dts/img/pistachio_marduk.dts+2 -11 reply
5/15MIPS: dts: img: pistachio_marduk: Enable SPIM0arch/mips/boot/dts/img/pistachio_marduk.dts+23 -00 replies
6/15MIPS: dts: img: pistachio_marduk: Add 6Lowpan nodearch/mips/boot/dts/img/pistachio_marduk.dts+14 -07 replies
7/15MIPS: dts: img: pistachio_marduk: Add SPI UART nodearch/mips/boot/dts/img/pistachio_marduk.dts+12 -00 replies
8/15MIPS: dts: img: pistachio_marduk: Add user LEDsarch/mips/boot/dts/img/pistachio_marduk.dts+46 -00 replies
9/15dmaengine: img-mdc: Handle early status readdrivers/dma/img-mdc-dma.c+24 -161 reply
10/15spi: img-spfi: Implement dual and quad modedrivers/spi/spi-img-spfi.c+85 -111 reply
11/15spi: img-spfi: Set device select bits for SPFI port statedrivers/spi/spi-img-spfi.c+3 -00 replies
12/15spi: img-spfi: Use device 0 configuration for all devicesdrivers/spi/spi-img-spfi.c+16 -70 replies
13/15spi: img-spfi: RX maximum burst size for DMA is 8drivers/spi/spi-img-spfi.c+2 -41 reply
14/15spi: img-spfi: Finish every transfer cleanlydrivers/spi/spi-img-spfi.c+35 -141 reply
15/15clk: pistachio: Fix wrong SDHost card speeddrivers/clk/pistachio/clk-pistachio.c include/dt-bindings/clock/pistachio-clk.h+3 -12 replies

Reviews trailers per patch

1 of 15 patches has a Reviewed-by or Acked-by.

PatchStephen Boyd
1/15
2/15
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] MIPS: pistachio: Creator Ci40 aka Marduk SPI-UART

Hello,

This patchset enables SPI and UARTs for the Ci40's mikroBUS and Raspberry Pi B+ connectors, as well as the remaining seven LEDs and as dependency the 802.15.4.

I also dug out some related driver fixes from their pistachio-4.9-lede branch:
https://github.com/CreatorDev/linux/commits/pistachio-4.9-lede

Tested with a LoRa click expansion board. [*]
Note that a number of drivers are missing in the pistachio defconfig. This should probably be remedied as follow-up.

While all creatordev.io websites appear to be gone, I still had a local copy of the Ci40 schematics document.

This patchset: https://github.com/afaerber/linux/commits/ci40-spi-uart.v1

Some more potential patches for missing features appear to be here:
https://github.com/CreatorDev/linux/commits/pistachio-4.9-wip

Have a lot of fun!

Cheers,
Andreas

P.S. As follow-up to this series I've reported on linux-serial that sc16is7xx and serdev drivers don't appear to play nicely together:
https://marc.info/?l=linux-serial&m=153228314300681&w=2

[*] Cf. netdev https://patchwork.ozlabs.org/cover/937545/

Cc Michael Turquette <[email protected]>
Cc Stephen Boyd <[email protected]>

Andreas Färber (7):
MIPS: dts: img: pistachio_marduk: Reorder nodes
MIPS: dts: img: pistachio_marduk: Cleanups
MIPS: dts: img: pistachio: Rename spim0-clk pin node label
MIPS: dts: img: pistachio_marduk: Enable SPIM0
MIPS: dts: img: pistachio_marduk: Add 6Lowpan node
MIPS: dts: img: pistachio_marduk: Add SPI UART node
MIPS: dts: img: pistachio_marduk: Add user LEDs

Damien Horsley (1):
dmaengine: img-mdc: Handle early status read

Govindraj Raja (1):
clk: pistachio: Fix wrong SDHost card speed

Ian Pozella (1):
MIPS: dts: img: pistachio_marduk: Switch mmc to 1 bit mode

Ionela Voinescu (5):
spi: img-spfi: Implement dual and quad mode
spi: img-spfi: Set device select bits for SPFI port state
spi: img-spfi: Use device 0 configuration for all devices
spi: img-spfi: RX maximum burst size for DMA is 8
spi: img-spfi: Finish every transfer cleanly

 arch/mips/boot/dts/img/pistachio.dtsi       |   2 +-
 arch/mips/boot/dts/img/pistachio_marduk.dts | 174 ++++++++++++++++++++++------
 drivers/clk/pistachio/clk-pistachio.c       |   3 +-
 drivers/dma/img-mdc-dma.c                   |  40 ++++---
 drivers/spi/spi-img-spfi.c                  | 165 +++++++++++++++++++++-----
 include/dt-bindings/clock/pistachio-clk.h   |   1 +
 6 files changed, 299 insertions(+), 86 deletions(-)
Signature · 1 line
2.16.4