Commit Graph

5 Commits

Author SHA1 Message Date
Christian Mauderer
e00f443428 imx: Move imx_iomux to arm/shared
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
29a73d876c bsp/imx: Use GPIOs for SPI CS
The chip select lines of the iMX SPI module doesn't work well for a
generic API like the one RTEMS uses. The existing solution only worked
in some special cases and had odd bugs when trying transfers of
different sizes (like deselecting between each byte for lengths that are
not dividable by 4).

With this patch the same approach like on FreeBSD or Linux is used:
Treat the CS lines as GPIOs.

Update 3869
2020-07-31 08:26:14 +02:00
Christian Mauderer
0121954128 bsp/imx: Add an extra ecspi clock.
Some imx chips or boards don't use the same frequency for ECSPI and IPG.

Update #3869
2020-04-15 16:13:07 +02:00
Christian Mauderer
d00d690557 bsp/imx: Allow gapless SPI transfers.
This uses the tx-threshold to reduce gaps in SPI transmissions.

Update #3869.
2020-02-11 09:17:02 +01:00
Sebastian Huber
276afd2b48 bsps: Move SPI drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:43 +02:00