From patchwork Fri Jul 25 14:40:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 4623661 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 291DDC0338 for ; Fri, 25 Jul 2014 14:41:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4CFB3201CD for ; Fri, 25 Jul 2014 14:41:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6DCD420179 for ; Fri, 25 Jul 2014 14:41:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752633AbaGYOll (ORCPT ); Fri, 25 Jul 2014 10:41:41 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:59896 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752695AbaGYOll (ORCPT ); Fri, 25 Jul 2014 10:41:41 -0400 Received: by mail-wi0-f174.google.com with SMTP id d1so1129241wiv.13 for ; Fri, 25 Jul 2014 07:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=tZ4EPaBAHVEbzXT54ktiRXwKeYiBVyB4EjY3IM+6KHg=; b=c89ileUNt8RGEqF+ufU6vIaA7yONaz+YVyVvwnOiS5YS2Jwdp30eNpcQXH7bugaojD kzOy067dtKdhHGxMRuJ2jpdj0t+wQCqqagPyvvTNdKvafRKABTQCZmFkal8mU4/HBIgi Ip19Jd+DgoPgNkPJpU29X4EqydLkXo5V3MXXh8iMOKikppGvW7732xI2AoElBwqZZW4B d4IexW166IPUHWhgw+PofnVMBzfAH6QFO5SZ3OHfeqlz8X/zFK+DfkSjCWSJqw/ZbvnR 3MqxXkFh1b3ukc6UHVQ5A/txiGIB5hybIZsCYZrLm47YP0kdPrhAZnXml/cu7NN4H2IE FIbA== X-Received: by 10.181.5.39 with SMTP id cj7mr5741470wid.79.1406299299824; Fri, 25 Jul 2014 07:41:39 -0700 (PDT) Received: from groucho.site ([109.201.152.240]) by mx.google.com with ESMTPSA id h13sm25821761wjs.2.2014.07.25.07.41.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jul 2014 07:41:39 -0700 (PDT) From: Ulrich Hecht To: linux-sh@vger.kernel.org Cc: magnus.damm@gmail.com, Shinobu Uehara , Ulrich Hecht , linux-mmc@vger.kernel.org Subject: [PATCH 4/6] mmc: sh_mobile_sdhi: Update sh_mobile_sdhi_of_data for r8a7794 Date: Fri, 25 Jul 2014 16:40:48 +0200 Message-Id: <1406299250-23975-5-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1406299250-23975-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1406299250-23975-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 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: Shinobu Uehara This patch adds DT support for r8a7794. Signed-off-by: Shinobu Uehara [uli: added bindings documentation] Signed-off-by: Ulrich Hecht Cc: linux-mmc@vger.kernel.org Acked-by: Ulf Hansson --- Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 2 ++ drivers/mmc/host/sh_mobile_sdhi.c | 1 + 2 files changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt index 6a2a116..924e516 100644 --- a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt +++ b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt @@ -18,6 +18,8 @@ Required properties: "renesas,sdhi-r8a7778" - SDHI IP on R8A7778 SoC "renesas,sdhi-r8a7779" - SDHI IP on R8A7779 SoC "renesas,sdhi-r8a7790" - SDHI IP on R8A7790 SoC + "renesas,sdhi-r8a7791" - SDHI IP on R8A7791 SoC + "renesas,sdhi-r8a7794" - SDHI IP on R8A7794 SoC Optional properties: - toshiba,mmc-wrprotect-disable: write-protect detection is unavailable diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 91058da..7591447 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c @@ -68,6 +68,7 @@ static const struct of_device_id sh_mobile_sdhi_of_match[] = { { .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, }, { .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, }, { .compatible = "renesas,sdhi-r8a7791", .data = &of_rcar_gen2_compatible, }, + { .compatible = "renesas,sdhi-r8a7794", .data = &of_rcar_gen2_compatible, }, {}, }; MODULE_DEVICE_TABLE(of, sh_mobile_sdhi_of_match);