From patchwork Sun Apr 29 19:48:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10370661 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 D6C20601D3 for ; Sun, 29 Apr 2018 19:48:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7D8F28A27 for ; Sun, 29 Apr 2018 19:48:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B98E02876B; Sun, 29 Apr 2018 19:48:43 +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 59C032876B for ; Sun, 29 Apr 2018 19:48:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754036AbeD2Tsn (ORCPT ); Sun, 29 Apr 2018 15:48:43 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:45176 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753781AbeD2Tsm (ORCPT ); Sun, 29 Apr 2018 15:48:42 -0400 Received: by mail-pf0-f194.google.com with SMTP id c10so5133258pfi.12; Sun, 29 Apr 2018 12:48:41 -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:in-reply-to:references; bh=Y7KPgDksPeAru44DnDUzDtNlUWkWEKCaHoCw3XlO3kg=; b=KK9lezOXdpD16IZeAprcheW1PHl59P5oJJM9t2xJSVayRR3kr0KSK0Ypm4KWoo+JUB TOJyvuTe8hCmn1m0cqkP8BBUTVu6zZLiBoozsLd4axT2qprUF6hVhMHHTnPuxtzG0CCZ J8ZknjiHuwYK091G67IfvWHZSXf0fIzuwKbkQeE/0Drg8Moz9N7eJkRjO101OFBLUoQj AFcecTpV4nHFpHxB8Q8OcmsSohtRuSClGZCXOp9s2cEhNlILPOfLORUcrbed4YdNCGaH 2H4Ka8Y/8C9Fu1uHmqSRN8mCK+R5rOL74kZqlgoDKKpU/UvD/MIt5p66WjHKjfjrT/bW ciNQ== 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:in-reply-to :references; bh=Y7KPgDksPeAru44DnDUzDtNlUWkWEKCaHoCw3XlO3kg=; b=OvkjVfj89exFDVvXnbU/HJ+R9OhwQoJYqUz+CADw2RlV8Wo1iIKkvgN959/qzPYZ5K XbRrYsh6+5zT6qm8rrA/5UUxgy7GXbMoWt4+/R/FJIW2FeJg9G5G4syvc8+D2slGljzB pgYhR7ymSpwvxrfWo272RmjE5mMGKP4oQt/b4mqaK3+cz/5KOp8tqKOzvhQk7+WbVJFX VYSqWNIvhX97OE8BajY5J5ChIPDVJreoz13qaehCQ0RSXKCISaadij0/S+Dtvcz4kqp8 78YJ6t9FuYWZBhZlBjHUvFXvbT7w6qQ/VLl14jIzogx2FidGFqK1JTSsWYG71os2X17p /FMg== X-Gm-Message-State: ALQs6tCinMJgYBI2cBkFNU0N2kZ313WGAgjzfBhiLQHJUTi2tqtiX8U4 6fG0j2z78lzxIEhRHH59NEp26A== X-Google-Smtp-Source: AB8JxZoqQB/Y7zuO/Dvj31VuwbPcXLc7q7emXENorQsXriOO7bfCzm5NAr42gc/tGXjUPxGLtjUrgw== X-Received: by 2002:a17:902:7209:: with SMTP id ba9-v6mr8293133plb.119.1525031321483; Sun, 29 Apr 2018 12:48:41 -0700 (PDT) Received: from localhost.localdomain (KD118155013174.ppp-bb.dion.ne.jp. [118.155.13.174]) by smtp.gmail.com with ESMTPSA id h65sm14214621pfj.54.2018.04.29.12.48.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 Apr 2018 12:48:41 -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/RFT 2/3] mmc: renesas_sdhi: Add r8a77965 support Date: Mon, 30 Apr 2018 04:48:15 +0900 Message-Id: <1525031296-16512-3-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525031296-16512-1-git-send-email-ykaneko0929@gmail.com> References: <1525031296-16512-1-git-send-email-ykaneko0929@gmail.com> 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 Reviewed-by: Simon Horman --- Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 1 + drivers/mmc/host/renesas_sdhi_internal_dmac.c | 2 ++ 2 files changed, 3 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..733ea8e 100644 --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c @@ -99,6 +99,7 @@ static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] = { { .compatible = "renesas,sdhi-r8a7795", .data = &of_rcar_gen3_compatible, }, { .compatible = "renesas,sdhi-r8a7796", .data = &of_rcar_gen3_compatible, }, + { .compatible = "renesas,sdhi-r8a77965", .data = &of_rcar_gen3_compatible, }, { .compatible = "renesas,rcar-gen3-sdhi", .data = &of_rcar_gen3_compatible, }, {}, }; @@ -276,6 +277,7 @@ static void renesas_sdhi_internal_dmac_complete_tasklet_fn(unsigned long arg) /* generic ones */ { .soc_id = "r8a7795" }, { .soc_id = "r8a7796" }, + { .soc_id = "r8a77965", .revision = "ES1.0" }, { .soc_id = "r8a77980" }, { .soc_id = "r8a77995" }, { /* sentinel */ }