From nobody Mon May 25 02:57:56 2026 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 CDF143BE17B for ; Tue, 19 May 2026 13:53:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779198831; cv=none; b=J813AoIZK+ahCG+CFZC42MvrZ0jm+5lwEvGBCm3btLFilnN4yRA6tzzDucl4IYiurQn8ralR3kU9wFBFOqXs7ZhRtLZeviLVVi3C0BkR4nnNJIEpZzrMwyTnc8YnE+5el2UpbrJ0uWjwZ2bAulhvkv5CshZd+xxlq3yPc/SGJJQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779198831; c=relaxed/simple; bh=sH5CAXuX43myBAnxxruPGpAWjzBS8NW4KkHXNjYDiac=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Cm1URf5OoGmuB3v/Y8maf079wKiOSAaZNn7ity02931zy9lmzPo/GjkDsIkYFHwnDx0R9bEapsGQMPbfdlv3evkedBTzFut70UD08xqDPEwzCDjew7IONjr2buyJlpZTYTlGKdCgwe1QgLWv7lH3piNhX8uGxgQ0uhcztuV7IcI= 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=bH83+fwQ; arc=none smtp.client-ip=209.85.221.44 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bH83+fwQ" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-441209fb77eso2176688f8f.1 for ; Tue, 19 May 2026 06:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779198828; x=1779803628; 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=wBE0iiYvBm5N+5+htIhA2pkzu0VOJpuxuzRwd/BpEvQ=; b=bH83+fwQY8o3JL+MI0OGq7U2ktU67YffxzYQhwglaRJ4v/4Bha8X/hQlx1AtRvxoET V0gtd9GAKQTME0I8AR+/0dHuTL85WnRRBQ/RTLAvhwIV/AKUGvp/Kx/gdFCxpZkNwlz6 Vzw3hni0ud3JtAvPtBieBynxAKRpzESVRwnNvVuFjAC22sbhImcKDAl3cpkzr1+o3mqy 0Eda14Kk3fSg3l6Bubb0PC+lf0A0mFu/UH3asvqSxxTTdaP4QbhNVkFXTd6mjx5IDhUh EmLuY48vscmEYLEBthJJumEN9DOgkNLPlytm3Bla4G8rpnx2AbSKP1Lov4+bRU4Yp+By nSew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779198828; x=1779803628; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wBE0iiYvBm5N+5+htIhA2pkzu0VOJpuxuzRwd/BpEvQ=; b=UiQNaaNraVCh7NwOPPc1VbwNOOFRAg921ZD3A1dAXku0o26cb5cQOW+AHG129Kcm0m GJYq5D5bhsxx+K3jq70A2Og4kpnp4DiwWyyGWUePvnUSq47HE+kromrNZNDd9rGf3dDQ xdWr8iPqdBm7uhLlRAmutJtAY/sQlK6c0X+uEzKKGqZISApXS9dfESBx1acMpAvStTXl G0twny1U0NzIrEc0VgpnU4G+XqXrvu+/ees42nCcVwqvmjDL4fz+qYNrXndMSs+hdkr6 ctjrtxeGVuxsr6tz9m7lRP2xLR3nlmLH/utIkTvDRghAUYUULV4vucKI85Jim7lcvUYf /S/Q== X-Forwarded-Encrypted: i=1; AFNElJ86tFYYqgl1h0+X0s6yyZG7Ns3Fvkxcm4sPPeE8irM0waHRGYhip1bci7myBeSnXr32IWoWAjzuE9uysgU=@vger.kernel.org X-Gm-Message-State: AOJu0YxzTDZmmhmqbnbyucbO/PLfgreYBxq/7D7rrP4hPuWBKIoHAcy1 D0UDaxGl775wTfE9Vxb6ARchkqQ6jstbF6hOo0zBIRK5SPbL/v4Aj8wf X-Gm-Gg: Acq92OFVLqXGXHh9b+mQJ7IhjevHZ1V7dIuyzAnj3JYg6R3U8eoFdTtEj2IHu+wONcj BCrRm/+xyjNf0XayjNJdgEG/rnfhrt/GIZRlYjZiqIbfxmKbxNojlEGf5FWRkpr1XmLZh6q/Me0 CXkyujsmCgoZAuddwdUDBfCXE9qonLnIqCIVkm1MzfrbJbDjzqvuxpG0jrCefD5ao0200FpaeSj zExMXtILULMOiNnqsO02VzUOYIDH5T/ZHjQiciv1LnwPY3kTr8FvN3XZYdQRaAVMuz7y5CAtoyT /9y9UONlbLHqO+VLtgNS8wyCaXIWFI8pDQMPKq9OWn7YqsmSvqlSqMHcBW6v6zJLlRrLGkHooK2 T8hhtvINw7vzpeuor5dEzJ4Sun25eFBk38yf9XGBJfGDvVGRKH9IQtZAX6tQbM9AuEsQ6fuPieQ LtmeWurhzCsbyla4cHLnaBvzr6Dcx9c1H8g5ilrhugvE0yLzgZPehOFIUmHyKZhTOU+Va2bihpF aSJR71QtC1gNR8fMw1FusbItrMWElaqUVgGhRD1adsUrxkZ X-Received: by 2002:a05:6000:21c3:b0:44f:b82f:2d18 with SMTP id ffacd0b85a97d-45d90f619eemr24723326f8f.11.1779198828040; Tue, 19 May 2026 06:53:48 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:3f5e:825d:a98f:fd29]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45da0a1a22csm44964358f8f.19.2026.05.19.06.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 06:53:47 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Wolfram Sang , Ulf Hansson , Geert Uytterhoeven , Magnus Damm Cc: linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar , stable@vger.kernel.org Subject: [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC Date: Tue, 19 May 2026 14:53:40 +0100 Message-ID: <20260519135342.623943-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260519135342.623943-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20260519135342.623943-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: quoted-printable Content-Type: text/plain; charset="utf-8" From: Lad Prabhakar The RZ/G2H (R8A774E1) SoC was previously handled via the generic "renesas,rcar-gen3-sdhi" fallback compatible string. However, because the SDHI IP on RZ/G2H is identical with the R-Car H3-N (R8A77951), it requires the specific quirks and configuration defined in `of_r8a7795_compatible` rather than the generic Gen3 data. Add the explicit "renesas,sdhi-r8a774e1" match entry to map it correctly. Note that the DT binding file renesas,sdhi.yaml does not need an update as the entry for this SoC is already present. Fixes: 31941342888d ("arm64: dts: renesas: r8a774e1: Add SDHI nodes") Cc: stable@vger.kernel.org Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v1->v2: - Dropped adding entry in the quirk list instead added entry in the OF match table to map the SoCs to the existing quirks. - Updated commit messages to reflect the above change. --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/ho= st/renesas_sdhi_internal_dmac.c index b716a518f265..1d3cd4c3da1f 100644 --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c @@ -279,6 +279,7 @@ static const struct renesas_sdhi_of_data_with_quirks of= _rza2_compatible =3D { static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] =3D= { { .compatible =3D "renesas,sdhi-r7s9210", .data =3D &of_rza2_compatible, = }, { .compatible =3D "renesas,sdhi-mmc-r8a77470", .data =3D &of_rcar_gen3_co= mpatible, }, + { .compatible =3D "renesas,sdhi-r8a774e1", .data =3D &of_r8a7795_compatib= le, }, { .compatible =3D "renesas,sdhi-r8a7795", .data =3D &of_r8a7795_compatibl= e, }, { .compatible =3D "renesas,sdhi-r8a77961", .data =3D &of_r8a77961_compati= ble, }, { .compatible =3D "renesas,sdhi-r8a77965", .data =3D &of_r8a77965_compati= ble, }, --=20 2.54.0 From nobody Mon May 25 02:57:56 2026 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 9793C3ED3B2 for ; Tue, 19 May 2026 13:53:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779198833; cv=none; b=Nrt8BoAziNvwnh/fl2pB/2LxYp6jWa/JY0IU5bK8zOsOAMWdBSepJTouQmoEP2W6L7NVmb4z4eHoqbMTr96p0TDX5ZWNKTHizuHVRmPVHjkUDFpYkL2yl4ySpaTQYR6YLWU13uUhzh4UwBhUgto0nh2yz2n8R8mBzcPvE9w7tqw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779198833; c=relaxed/simple; bh=xJpuMTaDbA9LXDWF/oGtQaPWOiaWcrGe4Ff+XI4HlSs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JFlvxznxVFFBFJmjsxHZtLSE3p38CmwrNTcnbKybRmjl2Opxa4rW3g4Pa8hIpOxCNmFVqI62snk/eH/6gzY20pd+jnibwpGS5ApIP3GWYhivOD0Q4ZdiqHz8TlR9lKLXAPAoLYWJzOz+sWw0px0py5Bwxx5egfYiBzmsbPHzAhQ= 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=lE+0/lPq; arc=none smtp.client-ip=209.85.128.52 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lE+0/lPq" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-48e8132c6d0so23636595e9.1 for ; Tue, 19 May 2026 06:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779198829; x=1779803629; 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=HR2OQSk/qx2maEw4uKeRFFzQuuuI1K0XxJerSkSW2y8=; b=lE+0/lPq4wwxNIBa9n7+qr09kOyvxuT/22NnGA5JKd8Qy6kXqMjWi4ADhN9xc8+aar fzM6SuOND/5+ffoAF6oP1Kr6dSdFOtNYb3ty3yExJUecHZlMRBRyOdwTwTQGbjtE6tG/ xSRJT168nHCnnuyqypX0XcoLBbaY8JNKS/VmjeYZacT6+SCbU2wfE9b+4N5enVMDounD d6PAdqElV6jWvAlflmR1WGQu+H31ypWw5WFdCH8RdA1aFrRMbjr1mvUlIA3bNLKliQtZ O3jFV8gZRu2guM62lL5z1xOyCn3hVA6/65wH1ZB7qAen0heS8/Ohgf2wKM1luxisdOn4 nQZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779198829; x=1779803629; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=HR2OQSk/qx2maEw4uKeRFFzQuuuI1K0XxJerSkSW2y8=; b=YQyE1ilhmYoBxsE8ip3Soi1r53ljsKHkopvqD7PrWy7CezH1GDBwPLGj/IcWn6Gy5a ZxR5w9fMIJOA9L1MZ4Y6UuwwUkjZ9RqlRDD00CoLEfB9ttchTFCSernBttyIFgNavmDA ugYo/SLcU2lcZ1hCYKxh5I/asPCdwBNnkrD2PZy+DU0Ife4pKtIzcebX8kDYbFbul9yn ijF1e2XJv/V/LwIKw2f/S4ziJ0Cc5j7FV2U1c9ihtRwgiHeKmc1JmrZU7WZXGg6xjLvp 9fFdqOD9Xch2/PaL6YvZGlHsYACR2SwxMTfxn/oRDC+wfpzR0vdFlmoH1xTcN8DYZO36 XJsg== X-Forwarded-Encrypted: i=1; AFNElJ+ZJw/UoaygLXvXCz7MT1HbN2T89qJSFXsu0nbYcyuOd7QKmMas9XLOqme94E1kAIPDUSaLJyeeboFJItg=@vger.kernel.org X-Gm-Message-State: AOJu0Yw72CA9Osalggp9oms3W12W/SXeuvQgzmytM5RgKpLOyHT/2hKK YaSzZbIKUzdCjxiA19yYaSvaZDZ16gtqK45oWT4JlRlXtx3GWFU4DIAT X-Gm-Gg: Acq92OFvTU905SvQZW5cDbzm0LFuhM4mfJlMn4Uiii0tHE4kMcOe2JozaKQ2JOYgnws d8w3Dmja0R/lXtGt4Bdy6rz+1D2aGG/jSkG6X5hHij+p32fjiqRap2CI1iAjO9SIEdeyUkbbAU0 IbIy2dm4+dWaTPwq9PmgqXc7+/uX3HZGFDcLH6ccOpJCD7ZIGtHbu6/FuuD4qQckM+YV5fu0Xb3 Z8VN+uD+oVD5tLRDy7FADZVRV5SnHEWFtD6dvu1tlF+Nfy65MD37JipsPJtYRiGzS7faxG2ofAB 2U+F3vL2v2QpoxODB8mMxLLm9uQwZYowxLM71MMHBjjy3xLO3NFfFHTzFfIDXNq/KradC1HaQxB OMH0ol0WWp0PGA8R+1MxVkK+vHubbftb8MaijZVUvek7rnlQdhSVWLj6vJv9Fzshlq5pWT6e9v8 l0DV+hhqvlnAhALlitZfRMZCoPq5RsClXrB2LlGX3z0gqLebu/SEoqXxAKP/5j2RRgC0fsgZgRS e0aN8J4u5bHCyFdoGZXcAEObJHNs7NRoy/3wZg2HcbsLFb0qCLgIoJNsKg= X-Received: by 2002:a05:600c:c10c:b0:48d:35e:84a0 with SMTP id 5b1f17b1804b1-48fe651cc11mr221487455e9.28.1779198828695; Tue, 19 May 2026 06:53:48 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:3f5e:825d:a98f:fd29]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45da0a1a22csm44964358f8f.19.2026.05.19.06.53.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 06:53:48 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Wolfram Sang , Ulf Hansson , Geert Uytterhoeven , Magnus Damm Cc: linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC Date: Tue, 19 May 2026 14:53:41 +0100 Message-ID: <20260519135342.623943-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260519135342.623943-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20260519135342.623943-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: quoted-printable Content-Type: text/plain; charset="utf-8" From: Lad Prabhakar The RZ/G2N (R8A774B1) SoC was previously handled via the generic "renesas,rcar-gen3-sdhi" fallback compatible string. However, because the SDHI IP on RZ/G2N is identical with the R-Car M3-N (R8A77965), it requires the specific quirks and configuration defined in `of_r8a77965_compatible` rather than the generic Gen3 data. Add the explicit "renesas,sdhi-r8a774b1" match entry to map it correctly. Note that the DT binding file renesas,sdhi.yaml does not need an update as the entry for this SoC is already present. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v1->v2: - Dropped adding entry in the quirk list instead added entry in the OF match table to map the SoCs to the existing quirks. - Updated commit messages to reflect the above change. --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/ho= st/renesas_sdhi_internal_dmac.c index 1d3cd4c3da1f..93470aea21df 100644 --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c @@ -279,6 +279,7 @@ static const struct renesas_sdhi_of_data_with_quirks of= _rza2_compatible =3D { static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] =3D= { { .compatible =3D "renesas,sdhi-r7s9210", .data =3D &of_rza2_compatible, = }, { .compatible =3D "renesas,sdhi-mmc-r8a77470", .data =3D &of_rcar_gen3_co= mpatible, }, + { .compatible =3D "renesas,sdhi-r8a774b1", .data =3D &of_r8a77965_compati= ble, }, { .compatible =3D "renesas,sdhi-r8a774e1", .data =3D &of_r8a7795_compatib= le, }, { .compatible =3D "renesas,sdhi-r8a7795", .data =3D &of_r8a7795_compatibl= e, }, { .compatible =3D "renesas,sdhi-r8a77961", .data =3D &of_r8a77961_compati= ble, }, --=20 2.54.0 From nobody Mon May 25 02:57:56 2026 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 04A103ED3B9 for ; Tue, 19 May 2026 13:53:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779198833; cv=none; b=YogFLYfIDFjb31zhz0Ak3ELke1dtjir/H2Em+VsJdT92BNGPvHlMUvnCVy2N2JoZFLl5q4BAI+uvVJKJfkFGRX97kHYMbIrJco+1+C6XkVebwHkt+3XmuPrVD7eweJlPvKoRBrzN5gMak1y4DfH/X1g0pc4k3bXKpuzgzfpTcHY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779198833; c=relaxed/simple; bh=+N/cTOh9PaLsivS583WGbxA3pgcSpJLIPQde1c/4q+w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EtlSt6pUmxM+jJmylvpizTpKj47xfBhlTCTxFxjD3bSa99Ylb06BTrcAqE4RAEOInLEqWu+BD0I4cOQPFdBiQQAL5xhDpVkte3pIuhdKb1UqZ/Dwea1q4kX166Ho2TAtdgCorGn4IFSnmTeVBzg3TUZbZj3mf1hJzPTwtA/13jg= 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=q5WoMklK; arc=none smtp.client-ip=209.85.221.47 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="q5WoMklK" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-44509921fbcso2217026f8f.3 for ; Tue, 19 May 2026 06:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779198829; x=1779803629; 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=VHzAkzrfCiVchyzTJLUD/adMJOXHeiF4YfLqfQ5QQIQ=; b=q5WoMklKSBGv8RLK7KCrUg3SFwmjxdFOXFXEtcgT/iX7J3oigcgwfJMASOF8y8HZ+0 2d2FBfJZfk/g5VTHDuwRyNxkx2M6WQtg38tnajmo3DsPeAn1T9EdsD0AFDzq9cFLTS7k n1Gsn43WYC2sy3G++xDiNl2gwMGMDVh8Knm8mrRgPjrHJmJVB+8VyYAgGjw0hCcMuNcF EYujheMA/dzGvD5mlAfHJoIwm2Jij0QcIpF1SNmOp93PHCuv7/GIJ5nX5U2vgcgW1O+P U+EGMyOYizImhzAdJRCAhElPrE/Mb05wu0o6kGwb+hHU6B4mbIaVBM5LCCjKGRDYtcec 7G4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779198829; x=1779803629; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=VHzAkzrfCiVchyzTJLUD/adMJOXHeiF4YfLqfQ5QQIQ=; b=LZ/DyaFmx9gxl10z+S6pMluD2aihIgNq/fC8bJ464/Cs2k33NwGkfN2yyCJbrEzXQg YfZO6JfZf2aLZGm4QNxvXqk5f8aQIPykW1Hdew8OenW7ckt77S5YKr7KOfFNE6S+k0AX i8eSYtWW7YnXX8FWn1/2eT4BQ7iGuufV1Aq5pnzaW9SRJl/kpavrrewGe9dM1RYgp/Vh hRug6KgPay5fpcZFw/AGvka2Ejh183trlS2r/4fqqrUYn+FvV3BzJ1BLUNwVFg8vmdeg YnnDCYbvjmdCIVZ/4xxYYwdNXBCGjPTGlqGO7FJeEk+EgjfF+bPM1xku03nnfLT4Q/xv UG9g== X-Forwarded-Encrypted: i=1; AFNElJ/rItufJTYzC3mFDdwXRDlEABbnE92yj/6zA6aPy5u3OHS3n2qJlpEv0JtLPevg0BfwKx7AeHPLUkH0pb8=@vger.kernel.org X-Gm-Message-State: AOJu0YzbvelnGcL49JbenkDWcexQH1ZHtg8afJ7XwHUyFmS1s+Mo5/G3 9UEdt6MHozgPfkfZ2IbJDyFWULg3FHvXXS9ttnuyQ0TbyI7NnByJT6Up X-Gm-Gg: Acq92OH7f/C15j2ZA150XPYkIu935egNEB21HylcsQYTGDwjf9M2jTHAug61hip+Wca 5B9vjOC4N8Bi/QD/eExAxMZ2P3oUWOIV1WdUTVCphSWYoih7MWI26sk2JB7ickDRJYSvnujxIAn a7UX74KfQcJKWBKqxNJ2QKBNFteCZP4p/OPCusuV3LL6V4lASWYivShbyZA6QViSRCuQ9aX2WfN jozQlv9BW/+W5P3pt3OpqR6QiLz5HuMxMyz5IbjZYFYHgzDQQgVuH3NAFIlEUp+/JM6LOygt25l KZB5xt1r1FPGJ3Hlj1rmqdpTK5dyIt/vFAFASLlSlDXQAlElNPnK2yFiTL2Go6w2y9vJ9RGmr/q vGEANdIHpA9lhbE81gyNzHcnCBNNmpBj4Dv/agQ5likj9Mm9bF1OQo5HJudZ4S1WerY9MmDBf/9 zh854CKAHg7bFG1hvudKD3ZMvnRnRGHKrP2DDfo0eTAPEB6NnegGo/D97FN9YR8sxLbl/BIU2MQ PDIRDbNJvoOn0Z5Uu8clfisfXrMHSJg0cngcdgz/20HAmQQ X-Received: by 2002:a05:6000:4210:b0:43b:4f86:e985 with SMTP id ffacd0b85a97d-45e5c5dd47amr30667307f8f.33.1779198829241; Tue, 19 May 2026 06:53:49 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:3f5e:825d:a98f:fd29]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45da0a1a22csm44964358f8f.19.2026.05.19.06.53.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 06:53:48 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Wolfram Sang , Ulf Hansson , Geert Uytterhoeven , Magnus Damm Cc: linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC Date: Tue, 19 May 2026 14:53:42 +0100 Message-ID: <20260519135342.623943-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260519135342.623943-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20260519135342.623943-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: quoted-printable Content-Type: text/plain; charset="utf-8" From: Lad Prabhakar The RZ/G2E (R8A774C0) SoC was previously handled via the generic "renesas,rcar-gen3-sdhi" fallback compatible string. However, because the SDHI IP on RZ/G2E is identical with the R-Car E3 (R8A77990), it requires the specific quirks and configuration defined in `of_r8a77990_compatible` rather than the generic Gen3 data. Add the explicit "renesas,sdhi-r8a774c0" match entry to map it correctly. Note that the DT binding file renesas,sdhi.yaml does not need an update as the entry for this SoC is already present. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v1->v2: - Dropped adding entry in the quirk list instead added entry in the OF match table to map the SoCs to the existing quirks. - Updated commit messages to reflect the above change. --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/ho= st/renesas_sdhi_internal_dmac.c index 93470aea21df..024edc4e5fe6 100644 --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c @@ -280,6 +280,7 @@ static const struct of_device_id renesas_sdhi_internal_= dmac_of_match[] =3D { { .compatible =3D "renesas,sdhi-r7s9210", .data =3D &of_rza2_compatible, = }, { .compatible =3D "renesas,sdhi-mmc-r8a77470", .data =3D &of_rcar_gen3_co= mpatible, }, { .compatible =3D "renesas,sdhi-r8a774b1", .data =3D &of_r8a77965_compati= ble, }, + { .compatible =3D "renesas,sdhi-r8a774c0", .data =3D &of_r8a77990_compati= ble, }, { .compatible =3D "renesas,sdhi-r8a774e1", .data =3D &of_r8a7795_compatib= le, }, { .compatible =3D "renesas,sdhi-r8a7795", .data =3D &of_r8a7795_compatibl= e, }, { .compatible =3D "renesas,sdhi-r8a77961", .data =3D &of_r8a77961_compati= ble, }, --=20 2.54.0