From patchwork Tue Oct 28 03:45:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 5171311 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3C1199F318 for ; Tue, 28 Oct 2014 07:06:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 53FE920165 for ; Tue, 28 Oct 2014 07:06:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73DA820172 for ; Tue, 28 Oct 2014 07:06:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758803AbaJ1HGk (ORCPT ); Tue, 28 Oct 2014 03:06:40 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:40352 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755026AbaJ1Dpy (ORCPT ); Mon, 27 Oct 2014 23:45:54 -0400 Received: by mail-pa0-f45.google.com with SMTP id lf10so4377252pab.18 for ; Mon, 27 Oct 2014 20:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=YoCgbgr3p2M77H6ur3fsJejm8ASlrHPEhA2Z2PVh5Ck=; b=ou53IRQxN1nnogr4EfzY8utOlj3jkI6b5P9f+Nq+ArWa4JEJ6Iy1bh4rUaq/xghuxU VlpHzJa2rcZwwCHRZETgcouo/JVpjr9gzHrLfeQGUO0pptrKQtcciz9KfFKazNLOP6CT EhYNkmSwIAR7jPJS07faxW4dglNncOX5nO5ekTg3mdlO6mNyangLTdX+z8FehemDc4fT dornqnWM5D59mRfB93jfj9AGQQo5ZhgPCB2Wb87WVBd+iumiktbz0cndIW2YuJN6bejV a7siiQSdTtricpc1YDtVGrPvmUu2ttxN87Wzyd0oNpHZyEMeS+DUVNVfnpKgNBvBtwxX SrWw== X-Received: by 10.66.160.225 with SMTP id xn1mr762517pab.24.1414467953599; Mon, 27 Oct 2014 20:45:53 -0700 (PDT) Received: from localhost.localdomain (p5095-ipngn6701marunouchi.tokyo.ocn.ne.jp. [153.174.4.95]) by mx.google.com with ESMTPSA id u6sm213841pdi.61.2014.10.27.20.45.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Oct 2014 20:45:53 -0700 (PDT) From: Yoshihiro Kaneko To: linux-ide@vger.kernel.org Cc: Tejun Heo , Simon Horman , Magnus Damm , linux-sh@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3] ata: sata_rcar: Add r8a7793 device support Date: Tue, 28 Oct 2014 12:45:32 +0900 Message-Id: <1414467932-17688-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Yoshihiro Kaneko --- This patch is against for-3.19 branch of Tejun's libata repo. v3 [Yoshihiro Kaneko] * Rebased on top of for-3.19 v2 [Yoshihiro Kaneko] * Update the binding documentation Documentation/devicetree/bindings/ata/sata_rcar.txt | 3 ++- drivers/ata/sata_rcar.c | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ata/sata_rcar.txt b/Documentation/devicetree/bindings/ata/sata_rcar.txt index 7dd32d3..80ae87a 100644 --- a/Documentation/devicetree/bindings/ata/sata_rcar.txt +++ b/Documentation/devicetree/bindings/ata/sata_rcar.txt @@ -5,7 +5,8 @@ Required properties: - "renesas,sata-r8a7779" for R-Car H1 - "renesas,sata-r8a7790-es1" for R-Car H2 ES1 - "renesas,sata-r8a7790" for R-Car H2 other than ES1 - - "renesas,sata-r8a7791" for R-Car M2 + - "renesas,sata-r8a7791" for R-Car M2-W + - "renesas,sata-r8a7793" for R-Car M2-N - reg : address and length of the SATA registers; - interrupts : must consist of one interrupt specifier. diff --git a/drivers/ata/sata_rcar.c b/drivers/ata/sata_rcar.c index 8732e42..ea1fbc1 100644 --- a/drivers/ata/sata_rcar.c +++ b/drivers/ata/sata_rcar.c @@ -850,6 +850,10 @@ static struct of_device_id sata_rcar_match[] = { .compatible = "renesas,sata-r8a7791", .data = (void *)RCAR_GEN2_SATA }, + { + .compatible = "renesas,sata-r8a7793", + .data = (void *)RCAR_GEN2_SATA + }, { }, }; MODULE_DEVICE_TABLE(of, sata_rcar_match); @@ -860,6 +864,7 @@ static const struct platform_device_id sata_rcar_id_table[] = { { "sata-r8a7790", RCAR_GEN2_SATA }, { "sata-r8a7790-es1", RCAR_R8A7790_ES1_SATA }, { "sata-r8a7791", RCAR_GEN2_SATA }, + { "sata-r8a7793", RCAR_GEN2_SATA }, { }, }; MODULE_DEVICE_TABLE(platform, sata_rcar_id_table);