Skip to content

pata: imx: set timings for PIO modes up to PIO4

Vladimir Zapolskiy linux-ide 1 version Applied

Status from this message: Applied to libata/for-4.10.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4pata: imx: sort headers outdrivers/ata/pata_imx.c+3 -50 replies
2/4pata: imx: set controller PIO mode with .set_piomode callbackdrivers/ata/pata_imx.c+8 -190 replies
3/4pata: imx: add support of setting timings for PIO modesdrivers/ata/pata_imx.c+46 -14 replies
4/4pata: imx: support controller modes up to PIO4drivers/ata/pata_imx.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] pata: imx: set timings for PIO modes up to PIO4

The changeset adds support of PIO modes up to PIO4 by setting necessary timings in the driver, before the change it is assumed that the timings are always set by a bootloader once and thus only one possible PIO mode has been supported (PIO0). With this change the driver can be used on boards without ATA controller configuration done by a bootloader.

The change is tested on a legacy i.MX31 board with an HDD connected by a 40-pin flat cable.

Vladimir Zapolskiy (4):
pata: imx: sort headers out
pata: imx: set controller PIO mode with .set_piomode callback
pata: imx: add support of setting timings for PIO modes
pata: imx: support controller modes up to PIO4

 drivers/ata/pata_imx.c | 82 +++++++++++++++++++++++++++++++++++---------------
 1 file changed, 57 insertions(+), 25 deletions(-)
Signature · 1 line
2.10.2