From patchwork Tue Jun 30 14:30:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1319946 X-Patchwork-Delegate: marek.vasut@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=NAN4439h; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49x6Gy0f4Bz9sDX for ; Wed, 1 Jul 2020 00:31:05 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0453181B81; Tue, 30 Jun 2020 16:30:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NAN4439h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 59FC381B80; Tue, 30 Jun 2020 16:30:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DF04981B50 for ; Tue, 30 Jun 2020 16:30:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-il1-x144.google.com with SMTP id x9so17926387ila.3 for ; Tue, 30 Jun 2020 07:30:30 -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 :mime-version:content-transfer-encoding; bh=erqUGIZ+e3J5j3oNcaoYXMduS21/eywdiFECxDUvI00=; b=NAN4439hwpgO9HH0Xic42SJDG1lFR8BHjm72YjSzsqxrxL6Oo9KV708xRBRW73QL+l YFlvKL7E2aUpJPF4O0BgTsWGj7a3/MorxbMBqa1kaTrt7wS0Qb47L4rOQKysJRFEuubd JRSX5XBUCnevRZs/OZEOEEDc3tmNlJd36ljZLvFv5Ibg4790yuJsXikJKQri6RSFRukz sehUPNkQBthk1JdqDqHoOkTNMYQ7zwlGqjikFMKdtMStHBLREI76AUiACyHsBZUn+og0 WuUc4JcDnODK8HdrvctXT2SQ649dxbEPGzwSwstXQhBz62YoUOSw5K9JPd+ZQF3NfGWL uqBA== 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:mime-version:content-transfer-encoding; bh=erqUGIZ+e3J5j3oNcaoYXMduS21/eywdiFECxDUvI00=; b=OkaoW1bq0VfgHWij32ZMwwVFAf3NG83EB+OJFuPzSF+yKuwpnwk/lTmYTNLpZaQIAt 7H31P1uApnurB0TGdFXCSZm7NtOfSR9/ovECfEZzjpZ2NN+Gx57jh5HIyzAry1/yz1mj mOGxqhOVqyVP4cyaIsq9YqUwF/Lubqj8PgyzWg6Fx2cEhlhyeamevpRscnfnJXpgpPQs +wxezg4nPjKSCYjZAN3irPtiOwxQxsZU3+thynxX+Syme/R3NndXwTcPP3AocYJljkii IEzPwxCL/XBCGNVvBN9f8Av6EdETzpAtuvekkZwbCPQliB1adnsFwXZqRpinM3mxtWTp cLRA== X-Gm-Message-State: AOAM533KBypBqp93YQd0knNHdXM2XxFAdi1m5yM1C9JKDx45+ljehuZo yAUyQrxft7677/LibwqPij4Q+Lhx X-Google-Smtp-Source: ABdhPJwcjaqHbj6HDRCQ3z/21chV1xbrYQ0BNa/RIN70B2eVr1uZlDPlSKTLYZA4GQpmZjx5ARbHdQ== X-Received: by 2002:a05:6e02:de6:: with SMTP id m6mr2825351ilj.296.1593527427782; Tue, 30 Jun 2020 07:30:27 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id k3sm1717380ils.8.2020.06.30.07.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 07:30:27 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: iwamatsu@nigauri.org, marek.vasut+renesas@gmail.com, aford@beaconembedded.com, Adam Ford Subject: [PATCH V3 5/6] mmc: renesas-sdhi: Enable support for R8A774A1 Date: Tue, 30 Jun 2020 09:30:10 -0500 Message-Id: <20200630143011.423859-6-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200630143011.423859-1-aford173@gmail.com> References: <20200630143011.423859-1-aford173@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean The r8a774a1 is compatible with the generic rcar-gen3-sdhi controller. This patch adds the compatibilty flag, to support the SDHI controller. Signed-off-by: Adam Ford --- V3: Use generic rcar-gen3-sdhi reference instead of SoC reference V2: No Change diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index d6ea99d2ce..d80b3fc28f 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -20,7 +20,6 @@ #include #include #include - #include "tmio-common.h" #if CONFIG_IS_ENABLED(MMC_UHS_SUPPORT) || \ @@ -843,6 +842,7 @@ static const struct udevice_id renesas_sdhi_match[] = { { .compatible = "renesas,sdhi-r8a7794", .data = RENESAS_GEN2_QUIRKS }, { .compatible = "renesas,sdhi-r8a7795", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a7796", .data = RENESAS_GEN3_QUIRKS }, + { .compatible = "renesas,rcar-gen3-sdhi", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a77965", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a77970", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a77990", .data = RENESAS_GEN3_QUIRKS },