From patchwork Thu Jan 9 10:56:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 23000 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 72A5B216D9 for ; Thu, 9 Jan 2014 10:57:48 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id m1sf10980603oag.4 for ; Thu, 09 Jan 2014 02:57:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=LLmf/DI7Hk2H+1DqO/BG546xYPYryns+ACKxG+vnCLw=; b=QhCzRHX4CY5Y1hrC5aBy371TgPgAVnVPyFG8O2x/XWeHqVx0RhiSzPtfhLJCWrcBeJ +CLfyaSGCLnmOtyjeiQACMvrvBDvZa7j3p0uJVJfrdUbGCApIK9GFgi3ssSsCuGkc/zO dCM8YM8SRXhHo44Qjk+jTVIRnxZzrXEU0Fy3k3yyx5irb7xlvNfvyCmm5vHmC532NW+3 8EO3VccjyTX+brPh6XXQfde/3lDx/RJDjXvGBhqJWDh4Ta5W3+fX7CNb8FUVHrTIxfc6 Vk/r4vSmKG+e5g/8Fpf/ZSVHVgLJGgIxHME1BKM6do0uTcsBE4qyM/Em8F8wKpzE9GR/ sJZw== X-Gm-Message-State: ALoCoQlNSZgrdrqqjbkCzUqMmP3joMK6RrBYe2H1srjC3NzRYRQ+3jJdDyBM8sB7/LM00KtTHjqW X-Received: by 10.182.243.166 with SMTP id wz6mr868578obc.19.1389265067592; Thu, 09 Jan 2014 02:57:47 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.62.199 with SMTP id a7ls1088958qes.87.gmail; Thu, 09 Jan 2014 02:57:47 -0800 (PST) X-Received: by 10.58.143.73 with SMTP id sc9mr376930veb.60.1389265067474; Thu, 09 Jan 2014 02:57:47 -0800 (PST) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by mx.google.com with ESMTPS id sp7si2592418vdc.151.2014.01.09.02.57.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 02:57:47 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.47; Received: by mail-vb0-f47.google.com with SMTP id m10so2024203vbh.6 for ; Thu, 09 Jan 2014 02:57:47 -0800 (PST) X-Received: by 10.52.76.105 with SMTP id j9mr828880vdw.52.1389265067333; Thu, 09 Jan 2014 02:57:47 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp4166ved; Thu, 9 Jan 2014 02:57:46 -0800 (PST) X-Received: by 10.68.172.196 with SMTP id be4mr3041679pbc.12.1389265066422; Thu, 09 Jan 2014 02:57:46 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id eb3si3560414pbd.317.2014.01.09.02.57.45; Thu, 09 Jan 2014 02:57:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754917AbaAIK5k (ORCPT + 26 others); Thu, 9 Jan 2014 05:57:40 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:60006 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751075AbaAIK4X (ORCPT ); Thu, 9 Jan 2014 05:56:23 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s09AuDkQ005144; Thu, 9 Jan 2014 04:56:13 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s09AuDS9001142; Thu, 9 Jan 2014 04:56:13 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Thu, 9 Jan 2014 04:56:12 -0600 Received: from rockdesk.local.lan (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s09Au4Kd012806; Thu, 9 Jan 2014 04:56:09 -0600 From: Roger Quadros To: CC: , , , , , , , , Roger Quadros Subject: [PATCH v4 1/3] ata: ahci_platform: Update DT compatible list Date: Thu, 9 Jan 2014 16:26:00 +0530 Message-ID: <1389264962-22858-2-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1389264962-22858-1-git-send-email-rogerq@ti.com> References: <1389264962-22858-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The ahci_platform driver supports "snps,exynos5440-ahci" and "ibm,476gtr-ahci". Add this to the DT binding information. Also add compatible string "snps,dwc-ahci", which should be used for Synopsis Designware SATA cores. e.g. on TI OMAP5 and DRA7 platforms. Signed-off-by: Roger Quadros --- Documentation/devicetree/bindings/ata/ahci-platform.txt | 4 +++- drivers/ata/ahci_platform.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt b/Documentation/devicetree/bindings/ata/ahci-platform.txt index 89de156..08ba647 100644 --- a/Documentation/devicetree/bindings/ata/ahci-platform.txt +++ b/Documentation/devicetree/bindings/ata/ahci-platform.txt @@ -4,7 +4,9 @@ SATA nodes are defined to describe on-chip Serial ATA controllers. Each SATA controller should have its own node. Required properties: -- compatible : compatible list, contains "snps,spear-ahci" +- compatible : compatible list, contains "snps,spear-ahci", + "snps,exynos5440-ahci", "ibm,476gtr-ahci", + or "snps,dwc-ahci" - interrupts : - reg : diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c index 4b231ba..d5ced13 100644 --- a/drivers/ata/ahci_platform.c +++ b/drivers/ata/ahci_platform.c @@ -330,6 +330,7 @@ static const struct of_device_id ahci_of_match[] = { { .compatible = "snps,spear-ahci", }, { .compatible = "snps,exynos5440-ahci", }, { .compatible = "ibm,476gtr-ahci", }, + { .compatible = "snps,dwc-ahci", }, {}, }; MODULE_DEVICE_TABLE(of, ahci_of_match);