From patchwork Tue Jul 9 07:43:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2825158 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 ABAEDC0AB2 for ; Tue, 9 Jul 2013 07:43:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B1FA12013D for ; Tue, 9 Jul 2013 07:43:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A0F992013A for ; Tue, 9 Jul 2013 07:43:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752624Ab3GIHnz (ORCPT ); Tue, 9 Jul 2013 03:43:55 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:61683 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751960Ab3GIHny (ORCPT ); Tue, 9 Jul 2013 03:43:54 -0400 Received: from axis700.grange (dslb-084-061-104-235.pools.arcor-ip.net [84.61.104.235]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MNLsv-1UpYhR2uDZ-007aht; Tue, 09 Jul 2013 09:43:41 +0200 Received: by axis700.grange (Postfix, from userid 1000) id 526AE40BB4; Tue, 9 Jul 2013 09:43:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id 46B5040BB3; Tue, 9 Jul 2013 09:43:40 +0200 (CEST) Date: Tue, 9 Jul 2013 09:43:40 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: linux-sh@vger.kernel.org cc: Magnus Damm , Simon Horman , linux-mmc@vger.kernel.org, Chris Ball , Kuninori Morimoto Subject: [PATCH v4 5/7] mmc: SDHI: add DT compatibility strings for further SoCs Message-ID: MIME-Version: 1.0 X-Provags-ID: V02:K0:GjYfTac0tTamJQN44d0PW3d0MTgaHgt/f0PPM3Y+uq6 K45E3V8QJV5N6pnMbpb9vIReav0W5Bx9Pvo972g8+avncsVFkr o7CAORX19tph805SZI0AyNAXBROvSqKvOXv/gVRnd72ymQtoYG NcBtcVvTXD3GvD2Hgol2QBjEYdWQE5q2Jymogu0E2Efz81rW+S deOHQSDEABYgvarbYo2d2WfNJdNdEU+6xnqTAauwXDyPP1Pw6R t+uY+aVzzf+RW0RWD5RvKyI7nfaBR+ycXmmJVGW1VxiPrm1q+A UIMwdHviRK0k9ozK/n7dAKFnerK/CpillCUgUTFbL5gCD87x9p 7UZV+lTFJr0khJYUxI3oOiwusDsFkrJQu57s3DzKaCkG5TXQGF r3NKQ3jo0I0TQ== 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.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 Add further OF compatibility strings to the SDHI driver to be able to precisely control driver's behaviour on each of them. Signed-off-by: Guennadi Liakhovetski Acked-by: Magnus Damm --- v4: 1. added r8a7778 and r8a7779 per Morimoto-san's request 2. sh* and r8a* entries now sorted alphabetically drivers/mmc/host/sh_mobile_sdhi.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index cc4c872..dc4f0e0 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c @@ -129,7 +129,12 @@ static const struct sh_mobile_sdhi_ops sdhi_ops = { static const struct of_device_id sh_mobile_sdhi_of_match[] = { { .compatible = "renesas,shmobile-sdhi" }, { .compatible = "renesas,sh7372-sdhi" }, + { .compatible = "renesas,sh73a0-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], }, + { .compatible = "renesas,r8a73a4-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], }, { .compatible = "renesas,r8a7740-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], }, + { .compatible = "renesas,r8a7778-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], }, + { .compatible = "renesas,r8a7779-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], }, + { .compatible = "renesas,r8a7790-sdhi", .data = &sh_mobile_sdhi_of_cfg[0], }, {}, }; MODULE_DEVICE_TABLE(of, sh_mobile_sdhi_of_match);