From patchwork Wed Aug 6 01:48:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 4683041 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 9A2189F37E for ; Wed, 6 Aug 2014 01:48:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C02A52018B for ; Wed, 6 Aug 2014 01:48:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E22602017D for ; Wed, 6 Aug 2014 01:48:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753435AbaHFBso (ORCPT ); Tue, 5 Aug 2014 21:48:44 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:50775 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751081AbaHFBsn (ORCPT ); Tue, 5 Aug 2014 21:48:43 -0400 Received: by mail-pd0-f176.google.com with SMTP id y10so2348182pdj.21 for ; Tue, 05 Aug 2014 18:48:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:subject:user-agent:to:cc:in-reply-to :references:mime-version:content-type; bh=8iZYwPXLeqtAeGsh+Ba5oOuenZhSzxjCVm+U5qW6kmE=; b=t4E9GDGI7RKStiXwhBbKtqO58iDG0upX9Z3sWDf4G7Y37cWnjfCTP7P8PFBj0b4MJ8 EB2LArwcBjvpmIS5YGF+VKUt45OnzJnR5KIFH+4o7DV9PjpcxWxTWzBH76B756DVHQN3 dotEI7UbwHWFStbZZEWnrWGQ/Mc0FR7wUAf0G9uPHvUaeNF0N+0ATCCt0xstUodyG7AE DvxhgPMDEM/FszGaMtDii9cg9b9HUjMp8l+0Ruo1HRg6YXWGfAuBREkzqVETzO4w0IVd kROFBL4nI6o1pL27wbokLo32/3s9B5CwV+/EVK5SoMGWPpOYUtu14JAR12DpdwRadZFV l/7g== X-Received: by 10.68.203.132 with SMTP id kq4mr8426941pbc.12.1407289723407; Tue, 05 Aug 2014 18:48:43 -0700 (PDT) Received: from remon.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id od4sm3353922pbb.70.2014.08.05.18.48.41 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 05 Aug 2014 18:48:42 -0700 (PDT) Date: Tue, 05 Aug 2014 18:48:42 -0700 (PDT) Message-ID: <87mwbi8k1z.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto Subject: [PATCH 1/5 v2] mmc: shmobile: add renesas, sdhi-rcar-gen1/gen2 in DT compatible User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 To: Simon , Chris Ball Cc: Magnus , Linux-SH , Geert Uytterhoeven , (Renesas) goda , linux-mmc@vger.kernel.org, Kuninori Morimoto In-Reply-To: <87oavy8k3v.wl%kuninori.morimoto.gx@gmail.com> References: <87mwbso8sp.wl%kuninori.morimoto.gx@gmail.com> <87oavy8k3v.wl%kuninori.morimoto.gx@gmail.com> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") 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.5 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: Kuninori Morimoto This patch adds DT compatible for Renesas R-Car Gen1/Gen2. Current driver has SoC level .compatible (r8a7778/r8a7779/r8a7790/r8a7791), but these can be match as generation level. Signed-off-by: Kuninori Morimoto --- v1 -> v2 - update tmio_mmc.txt Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 2 ++ drivers/mmc/host/sh_mobile_sdhi.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt index 6a2a116..51c05cf 100644 --- a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt +++ b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt @@ -11,6 +11,8 @@ optional bindings can be used. Required properties: - compatible: "renesas,sdhi-shmobile" - a generic sh-mobile SDHI unit + "renesas,sdhi-rcar-gen1" - a generic R-Car Gen1 SDHI unit + "renesas,sdhi-rcar-gen2" - a generic R-Car Gen2 SDHI unit "renesas,sdhi-sh7372" - SDHI IP on SH7372 SoC "renesas,sdhi-sh73a0" - SDHI IP on SH73A0 SoC "renesas,sdhi-r8a73a4" - SDHI IP on R8A73A4 SoC diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 91058da..cb3bb39 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c @@ -64,8 +64,10 @@ static const struct of_device_id sh_mobile_sdhi_of_match[] = { { .compatible = "renesas,sdhi-sh73a0", .data = &sh_mobile_sdhi_of_cfg[0], }, { .compatible = "renesas,sdhi-r8a73a4", .data = &sh_mobile_sdhi_of_cfg[0], }, { .compatible = "renesas,sdhi-r8a7740", .data = &sh_mobile_sdhi_of_cfg[0], }, + { .compatible = "renesas,sdhi-rcar-gen1", .data = &of_rcar_gen1_compatible, }, { .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, }, { .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, }, + { .compatible = "renesas,sdhi-rcar-gen2", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7791", .data = &of_rcar_gen2_compatible, }, {},