[PATCH v2 0/2] ata: ahci-dm816: new driver

From: Bartosz Golaszewski
Date: Tue Mar 14 2017 - 07:05:08 EST


Add support for the on-board SATA controller present on TI DM816 SoCs.

This IP suffers from the same issue DA850 does, that is: if we enable
PMP, but connect the drive directly to the board, the disk cannot be
detected. A workaround similar to the one implemented in ahci-da850 is
included in this driver as well.

Tested on DM8168-EVM.

v1 -> v2:
PATCH 1/2
- fixed the size of the mapped register region in the example
- rephrased the clocks property description

Bartosz Golaszewski (2):
dt-bindings: ata: add DT bindings for ahci-dm816 SATA controller
ata: ahci: add support for DaVinci DM816 SATA controller

.../devicetree/bindings/ata/ahci-dm816.txt | 21 +++
drivers/ata/Kconfig | 9 +
drivers/ata/Makefile | 1 +
drivers/ata/ahci_dm816.c | 200 +++++++++++++++++++++
4 files changed, 231 insertions(+)
create mode 100644 Documentation/devicetree/bindings/ata/ahci-dm816.txt
create mode 100644 drivers/ata/ahci_dm816.c

--
2.9.3