Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750926AbdCNLFE (ORCPT ); Tue, 14 Mar 2017 07:05:04 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38015 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750749AbdCNLFB (ORCPT ); Tue, 14 Mar 2017 07:05:01 -0400 From: Bartosz Golaszewski To: Tejun Heo , Rob Herring , Mark Rutland , Neil Armstrong , Michael Turquette , Kevin Hilman , Patrick Titiano , Tony Lindgren , Sergei Shtylyov Cc: linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, 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> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1055 Lines: 28 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