From patchwork Wed May 9 12:38:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10389347 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4058B60318 for ; Wed, 9 May 2018 12:39:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30E2428F90 for ; Wed, 9 May 2018 12:39:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23B1828F97; Wed, 9 May 2018 12:39:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F219728F90 for ; Wed, 9 May 2018 12:39:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934717AbeEIMjF (ORCPT ); Wed, 9 May 2018 08:39:05 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:43382 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932875AbeEIMjD (ORCPT ); Wed, 9 May 2018 08:39:03 -0400 Received: by mail-pg0-f68.google.com with SMTP id k11-v6so21511134pgo.10; Wed, 09 May 2018 05:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=i9QN8Qxow2/JvJTiiCOjTEU3+yBF8+bS5tOVgPaY7q4=; b=P6q6NPYExMyqPJK2a/UO3Zx7Y/SYQv3/cSUEy+fBHaNReqwGMhIWT5qQV7sBaJK7DV T7M3XEhZFfLWhzh9CjeYg/O2LAOOT9d6j4S2nt2HzOIogFm8XVuprS/jgOXhhe8ix77T +RM3R1nAA14+szasNTh6f/A7tPMd9Wkvp3g2W0myeCFrwCFLhs0IBN0S6yEPcxi4ZP4X h2u2tn2TT/FTzhdP/MjYJK/fhE7QIZxfUe285GTjyShwqEptYLKYQv3bNpNbwSL3d7Mj yrxDWG/Zko7eRM74d1vEYcb7N5kBSCdpMGhTmBQ+e1EuPoN3wg6R1j0M1B9aYOrfITrT +3UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=i9QN8Qxow2/JvJTiiCOjTEU3+yBF8+bS5tOVgPaY7q4=; b=EBXKlgfzJnOKk6MDqZ00IpwfyWAc/+Z3oaWmIKE8Cce72BK7uAe4COqXLl5QKPuYyb RzBWjvtOWvIfoARZ4jADjUnQFcvtHa7IB2n+hL30QIUi+GaipDkmhMIjuRdOMdPWHLYJ I6L/nk4jiE4wU8naU8dgII4taK54qGj+a4ZhcbiJnf87On7TngCOoqiYBthq5DaUeYNC XYFH8jnxvWFoxsX3xcrKGvcyDdPw7qH6cxZXTDEZc9nej92YZA0tFPVt/JQ8JcaKkLOa 7PLMj7lQClMqGTUFrR2o2Jf0oF3E0YJS1N65FcGWzdaj3ETrk4GpdC7hXUVdsUik82IM v6JA== X-Gm-Message-State: ALQs6tB2TIWp1NhGnorR3Rgo5hCK4306l6HzS6CnXlfRC3q8+5IQndCy 7jEujdPIZyyexPcuG1baRorUvg== X-Google-Smtp-Source: AB8JxZqWngV2DPqzih37M1Q1IfX2c0ikdg87HY74xhLUcnjQlzwLnT0U3RFev4GwG238TcBEU3e1YA== X-Received: by 2002:a63:942:: with SMTP id 63-v6mr36255340pgj.103.1525869542276; Wed, 09 May 2018 05:39:02 -0700 (PDT) Received: from macc.flets-east.jp (p6016112-ipngn3302marunouchi.tokyo.ocn.ne.jp. [180.23.146.112]) by smtp.gmail.com with ESMTPSA id u14sm58889156pfa.101.2018.05.09.05.39.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 05:39:01 -0700 (PDT) From: Yoshihiro Kaneko To: linux-mmc@vger.kernel.org Cc: Ulf Hansson , Wolfram Sang , Simon Horman , Magnus Damm , linux-renesas-soc@vger.kernel.org Subject: [PATCH v2] mmc: renesas_sdhi: Add r8a77965 support Date: Wed, 9 May 2018 21:38:48 +0900 Message-Id: <1525869528-3429-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Masaharu Hayakawa This patch adds r8a77965 support in SDHI. Signed-off-by: Masaharu Hayakawa Signed-off-by: Yoshihiro Kaneko Tested-by: Simon Horman Tested-by: Wolfram Sang Reviewed-by: Wolfram Sang --- This patch is based on the next branch of Ulf Hansson's mmc tree. v2 [Yoshihiro Kaneko] renesas_sdhi_internal_dmac.c * As suggested by Simon Horman Dropped .revision for r8a77965 in gen3_soc_whitelist. * As suggested by Wolfram Sang Dropped "renesas,rcar-gen3-sdhi" line in renesas_sdhi_internal_dmac_of_match. Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 1 + drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt index ba38252..ee978c9 100644 --- a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt +++ b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt @@ -26,6 +26,7 @@ Required properties: "renesas,sdhi-r8a7794" - SDHI IP on R8A7794 SoC "renesas,sdhi-r8a7795" - SDHI IP on R8A7795 SoC "renesas,sdhi-r8a7796" - SDHI IP on R8A7796 SoC + "renesas,sdhi-r8a77965" - SDHI IP on R8A77965 SoC "renesas,sdhi-r8a77980" - SDHI IP on R8A77980 SoC "renesas,sdhi-r8a77995" - SDHI IP on R8A77995 SoC "renesas,sdhi-shmobile" - a generic sh-mobile SDHI controller diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c index a6bf123..b6edb7a 100644 --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c @@ -276,6 +276,7 @@ static void renesas_sdhi_internal_dmac_complete_tasklet_fn(unsigned long arg) /* generic ones */ { .soc_id = "r8a7795" }, { .soc_id = "r8a7796" }, + { .soc_id = "r8a77965" }, { .soc_id = "r8a77980" }, { .soc_id = "r8a77995" }, { /* sentinel */ }