Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750991AbdCNI5P (ORCPT ); Tue, 14 Mar 2017 04:57:15 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:36660 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbdCNI5N (ORCPT ); Tue, 14 Mar 2017 04:57:13 -0400 Subject: Re: [PATCH 2/2] ata: ahci: add support for DaVinci DM816 SATA controller To: Bartosz Golaszewski , Tejun Heo , Rob Herring , Mark Rutland , Neil Armstrong , Michael Turquette , Kevin Hilman , Patrick Titiano References: <1489422982-3461-1-git-send-email-bgolaszewski@baylibre.com> <1489422982-3461-3-git-send-email-bgolaszewski@baylibre.com> Cc: linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org From: Sergei Shtylyov Message-ID: Date: Tue, 14 Mar 2017 11:57:08 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1489422982-3461-3-git-send-email-bgolaszewski@baylibre.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1106 Lines: 40 Hello! On 3/13/2017 7:36 PM, Bartosz Golaszewski wrote: > This SATA controller is quite similar to the one present on the DA850 > SoC, but the PHY configuration is different and it supports two HBA > ports. > > The IP suffers from the same PMP issue the DA850 does - if we enable > PMP but don't use it - softreset fails. Appropriate workaround was > implemented in this driver as well. > > Signed-off-by: Bartosz Golaszewski > --- > drivers/ata/Kconfig | 9 +++ > drivers/ata/Makefile | 1 + > drivers/ata/ahci_dm816.c | 200 +++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 210 insertions(+) > create mode 100644 drivers/ata/ahci_dm816.c > > diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig > index 70b57d2..7f59a7a 100644 > --- a/drivers/ata/Kconfig > +++ b/drivers/ata/Kconfig > @@ -118,6 +118,15 @@ config AHCI_DA850 > > If unsure, say N. > > +config AHCI_DM816 > + tristate "DaVinci DM816 AHCI SATA support" Is it really DaVinci? > + depends on ARCH_OMAP2PLUS Especially if it depends on OMAP... [...] MBR, Sergei