From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartosz Golaszewski Subject: [PATCH v2 0/2] ata: ahci-dm816: new driver Date: Tue, 14 Mar 2017 12:04:49 +0100 Message-ID: <1489489491-14195-1-git-send-email-bgolaszewski@baylibre.com> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Tejun Heo , Rob Herring , Mark Rutland , Neil Armstrong , Michael Turquette , Kevin Hilman , Patrick Titiano , Tony Lindgren , Sergei Shtylyov Cc: linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Bartosz Golaszewski List-Id: devicetree@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html