Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2558759lqt; Mon, 22 Apr 2024 14:31:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVz5xPwlT0zLLsajvRHWoylKja8Jr8fYmapFX9QCmhZU+6tDKunPKUYbGsrMMju/fX74ZDcFp6F6st3QCpBo9QkUa3SZiklMlOVoqXDXQ== X-Google-Smtp-Source: AGHT+IFqU1fehyz9V+sJ4kLhD1AJVy3sNq7kjH1KCukqnE6cEOpqC/FR75VQ5z1FSWZB6v6RETfG X-Received: by 2002:a17:902:cf0d:b0:1e4:7ca3:8a33 with SMTP id i13-20020a170902cf0d00b001e47ca38a33mr14130608plg.17.1713821505371; Mon, 22 Apr 2024 14:31:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713821505; cv=pass; d=google.com; s=arc-20160816; b=GKMLBKfUADtv7DSeeQZMg4ZMA4FX/dmX/axSSsOY/BobNLl+q/e6LmX3fv7w8AWym4 hh8YIrT48PJE5HMxrppSwNw14SbTTPirN0YCePJrrbKNyiycgmauln0pRG7RmLIcYucD dtP3o2kJmhJmSmDy2U3/lESRDoYbkwbxSFs0CWbV3x0L/i4Zd9quda2SfOd+3ppwc72t VEfHd9gzvjCZIOmSftRZjELtJY1wF1mb+2PdcUZW58DkEVtd1oQjgpJNHl1/bmJ7lwaS lH3NDFcAB8PeGCHMO1Asiz96Ig6IAgntj2XPE7qznUr1qu3hA/qoYUoA9D34oTV4XRNG I2LQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Y7KsZzo89keBW/R65fPmWDsgpK4/r+4FeNTi5sISBeU=; fh=KwvYj65kPiwm/aQiBSFSyAVh0QxBNqe8hgZIzPnkB8Y=; b=wRm8qekqEhsij439JJR9kHAofs4ew99CCLsy/WkAbe40RYoK/m3XsN/fiPwtC7ij1w OuSppxigTMV4pMl+II3BGffF3bs6RPbJFd31Lj1XR4nmUY1bMFVVYIdN99VYqE7P4qG4 h2lifwqqxRT+r8Nzsu/VeqyjWiEEmUSHJO2FYaD597VAQPqjInFOVRhhZDeOOrq0tOPK 09pqAV9QBLXEvThMw9CZ1XYmNiwEXAdPOyyFRlC47sHlPBiebFVmb7ChbWwpFJVJTlBv PTERAIQY/3Kxy1jC+oc4Z0HGFvt2rPfHAHm59XBeZQY0OPEXrxhZZBFoYxwOEdJC4GjC yIjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="CSi/U93X"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-154053-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n1-20020a170902f60100b001dda34e84c2si8564071plg.649.2024.04.22.14.31.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 14:31:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154053-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="CSi/U93X"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-154053-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 02157283CA4 for ; Mon, 22 Apr 2024 21:31:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D8253E48E; Mon, 22 Apr 2024 21:30:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CSi/U93X" Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D06272E62D; Mon, 22 Apr 2024 21:30:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713821437; cv=none; b=Cl1uaX5iR+nTh61LiPwt6ICUBrtkQ4giJjRZf53REdvqU1OyLc3OOWo2T9XNU29ZPQqpwh3hO0McgNyuSe98KBp/K16wRFZuIx5nBD/aHhsituZTWT4laRsrkq9KjOTUleNX/9TLwrFs3NC+bF4lgH/BVd0e+WUeVCo/MCEa4sc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713821437; c=relaxed/simple; bh=8OkoOGVcUuDmJ9C0ZDEoOT8qoNeBbO96MI1mreNHBUE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=S2XaN8XMG/Pi5pWGa6EvPobVjllAZyszkg/P9FyBmHgmfOUpZ9pBwymZc0O7HFMKiApm+l8iNiiC5qMSAvwowW+npU8vr490rmf7puk2AMgeC5796bKqnvt9zE/E4VehTtDXSLDYjxcBKHdoYwDLfB0wPfcI2q5g2qRA4xQjwsA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CSi/U93X; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-41a77836fa6so8643355e9.2; Mon, 22 Apr 2024 14:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713821434; x=1714426234; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y7KsZzo89keBW/R65fPmWDsgpK4/r+4FeNTi5sISBeU=; b=CSi/U93XRH3poRl00pvoDWAUHjdpgmrOwsGAHKSt8JrfSOPFyBy40Ff+qsherO4jZd hFIeg5kJAYBYWCmIhcMK5oHYq8xIPmpEiPGbLuQEHYSNeiXzC+UW3yZYA8RBnxjwJdN8 n7piXCtA9FKRcNb+VHRx2ziSwqi7FDDRxW3grQYOMyRMywglMCA/1SYZuZQMuyToFeWp kAvZN7sRvDyyUQmQwh1iosxLp93bH2OwgiyY60G7y7qKpVAWJ3bQPCyZcJWu+VRMuyU8 1Wa9IIiGBDbq3NdOc0hyAhrUP60tloHZY2Hvnw9VETR4W6qPprnnN19q6RFI81c27Ptm SV2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713821434; x=1714426234; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y7KsZzo89keBW/R65fPmWDsgpK4/r+4FeNTi5sISBeU=; b=MzpzfYdLRv5kpfWcgjwCDFid35PIV5Sfl5CRdfamsra8c/n50RZU5hWDh6h4o3pu3h 1/iO93mjOYG9Q5gnttdifHjQ9INBVjnTJyp5kj0ibv1EDVevk4J+tgVs/k4IJFuu2+r8 RKNINVSYr4+4kmG3vcO7I4kFVuPIjzLyBj5V+wdD7J6AmN4NY7wjgaoy9vcWUFI+6T9W NDholUdW5Q4gINp3yTu2PEaj9Kh0aCp9MnOSF4/frL9ZSJockhPJpdhGuAxdOiY2Pzoy ShjsLdsZUQCPhnIQYEVKsLyysVBMinfV1RJDV2eH36u+kjarfPCDSBGEj0kFOgNcqV93 h1ig== X-Forwarded-Encrypted: i=1; AJvYcCUAY69ZXHsAijBV2Eft9CgO/n3Zk+4A8BTF/1wl4wUe0eBIvJuodWOxzklzSWvfq16qIricyMR8bzdTiMmCcqZtRz+amA7kxeXFmAVZdM9VOGjO0/WC5dLoLzdfBZPNSpGy8xKq9GRidepxPWjNw5fZZQ8F3MhLgHUHFdHGsNPSFWULr7AZcVZWe7M= X-Gm-Message-State: AOJu0Yzcb2FxFYQh01kWxMxW20XQH65he9uV6MoxC/LpTv4LTWcNK9Xw yp/O9Z1U4seim8WE4Jh5GBIFyZIFSphh/02uTOUiOYpWa7NtKeJ0 X-Received: by 2002:a5d:4451:0:b0:343:9f91:82ba with SMTP id x17-20020a5d4451000000b003439f9182bamr10334598wrr.54.1713821434043; Mon, 22 Apr 2024 14:30:34 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:ab0d:124:447c:bf37]) by smtp.gmail.com with ESMTPSA id n4-20020a5d4844000000b00349f098f4a6sm12886793wrs.53.2024.04.22.14.30.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 14:30:33 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , Wolfram Sang , linux-mmc@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 3/6] mmc: renesas_sdhi: Add compatible string for RZ/G2L family, RZ/G3S, and RZ/V2M SoCs Date: Mon, 22 Apr 2024 22:30:03 +0100 Message-Id: <20240422213006.505576-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240422213006.505576-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240422213006.505576-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Lad Prabhakar - RZ/G2UL and RZ/Five ("r9a07g043") - RZ/G2L(C) ("r9a07g044") - RZ/V2L ("r9a07g054") - RZ/G3S ("r9a08g045") - RZ/V2M ("r9a09g011") The above SoCs have HS400 disabled and use fixed address mode. Add a generic compatible 'renesas,rzg2l-sdhi' fallback string for these SoCs, where fixed_addr_mode and hs400_disabled quirks are applied. Note, 'renesas,sdhi-r9a09g011' is dropped as we will be using 'renesas,rzg2l-sdhi' as a fallback string for RZ/V2M SoC. Signed-off-by: Lad Prabhakar --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c index 53d34c3eddce..1828c37e0198 100644 --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c @@ -210,7 +210,7 @@ static const struct renesas_sdhi_quirks sdhi_quirks_r8a77990 = { .manual_tap_correction = true, }; -static const struct renesas_sdhi_quirks sdhi_quirks_r9a09g011 = { +static const struct renesas_sdhi_quirks sdhi_quirks_rzg2l = { .fixed_addr_mode = true, .hs400_disabled = true, }; @@ -255,9 +255,9 @@ static const struct renesas_sdhi_of_data_with_quirks of_r8a77990_compatible = { .quirks = &sdhi_quirks_r8a77990, }; -static const struct renesas_sdhi_of_data_with_quirks of_r9a09g011_compatible = { +static const struct renesas_sdhi_of_data_with_quirks of_rzg2l_compatible = { .of_data = &of_data_rcar_gen3, - .quirks = &sdhi_quirks_r9a09g011, + .quirks = &sdhi_quirks_rzg2l, }; static const struct renesas_sdhi_of_data_with_quirks of_rcar_gen3_compatible = { @@ -283,7 +283,7 @@ static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] = { { .compatible = "renesas,sdhi-r8a77970", .data = &of_r8a77970_compatible, }, { .compatible = "renesas,sdhi-r8a77990", .data = &of_r8a77990_compatible, }, { .compatible = "renesas,sdhi-r8a77995", .data = &of_rcar_gen3_nohs400_compatible, }, - { .compatible = "renesas,sdhi-r9a09g011", .data = &of_r9a09g011_compatible, }, + { .compatible = "renesas,rzg2l-sdhi", .data = &of_rzg2l_compatible, }, { .compatible = "renesas,rcar-gen3-sdhi", .data = &of_rcar_gen3_compatible, }, { .compatible = "renesas,rcar-gen4-sdhi", .data = &of_rcar_gen3_compatible, }, {}, -- 2.34.1