From nobody Wed Apr 8 03:47:37 2026 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 192243ECBC0 for ; Tue, 10 Mar 2026 21:29:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773178193; cv=none; b=GM95mCDIpvHuaqCNONBLfO72rwJhXQqrSh2B3G23NMX15roxZtHglonmpU5ziuaNBZx24poTzPWLFD7OBa9iUnsF9cobGPmrTHBG3YqA3MzRPfQUFbFaN5amFpwIedCJ8QwPuqh5BOcfTJtX4R4dBS/Q/4erLRI0lYGDAw2rrZI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773178193; c=relaxed/simple; bh=gFnXvymCEzoOcbtohhO71PytBlzyoyx7Ut5b833dFLQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=s2bnRVIafodFgFl4Fgltpwl1xWSOgCyCPk8qzUU1JeK5u5wqiLFtXqz5KzCkgPisyDBc8aIvNU3ybRY1FQZFWWGYQFaiDoGYP1tKBidjoiguURdau5ILELHYne1fx1WRv92UPB0gtuFKH1PDrM3Kz3i6WirRr1gknJrtHaHnJBQ= 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=FvCZ3hyT; arc=none smtp.client-ip=209.85.221.50 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="FvCZ3hyT" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-439b9b190easo6773999f8f.2 for ; Tue, 10 Mar 2026 14:29:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773178187; x=1773782987; 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=wgRXvl1sY8HiSSfFUcnoj1jeHlznucddaU4Ukjd4GSs=; b=FvCZ3hyT9APC0W5oextcULrI0x+lb1AJrprQtYM+Y+xlNp1d/q9esYxmwqzh0UOpfR r+8r5yXEc4zyQIenDr+QkqSjwvNjCMPlKHeL0Xw+zWVwsISdwjr+t85akmWVdx9rXHiE e3KxM1/rv0Qa+PTjD6sC6M8SxETD7Yhty+Tl+h9dZtowZT6iFK1rRE2XbGqs/Ia/K4nO SOjBoVZy4RrpzRsPeoX3vi8FAGQiV1MZG+1y97oBxqhzpenF2ExJrQGjakfq42WNAFKZ JTDhvgQqoPgCGisVv35EV6dI3D/7y07Iap9p9x/SrY57Q4xi/9FAhllaiDLyfEKHNIje UL0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773178187; x=1773782987; 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=wgRXvl1sY8HiSSfFUcnoj1jeHlznucddaU4Ukjd4GSs=; b=l9FIvCNKIYxPTqC6ltkZJxo0dm1gmaougOjSKB4rlK8MVJhqbycH3M9HofN+wLY40x wzd8w7HYWbBdPuBJjUl2TAqDnfhKiJf1W98o9Ihms+Ijp6djq1KmWUfXVQd3ekK/A99p aYEg3VI03dSS0CgoegwzBxtc1SWNX6srbuGqek2d2gc014+uEBNAq8ltvZCEIrAI3jRN xSdgLsytj77LrC+QE5iWMfC/w13c1aYIrAxvSFRveB03ecyX2ZKIt/d4oa71HYlLBJhM 2jDPYpiryf7HmxqDzip/ICdxKIOXTpTxiQRGEamjMN2agiYiVSRHtenmXmhGTvvnTn+e gQhA== X-Gm-Message-State: AOJu0YwTvE/BqAoBOkW4pAJyMZURLawyhvYBpPvXY6p8Jo1ACX5gHQ6P LvqzlnpHCiqweNjTiJNoDuJlnkKpg5Cl5nLlk9Vz6/uiNUMLTk0MWUIx X-Gm-Gg: ATEYQzwVcnL1rB1YaumerLBy/SESkjhGrDKn0L+HfuFUcpmtYGi/k644TFjXRTL0Ueh 7fZkK8NUhwMazoCY+/kAb+iK9sFUNi/PC7OPwYl6EK+5xEiHX56QD60QZUJsp7aGu5mwPlgXyFN e/SraC3jo6ktUSS0z9MNqH9OuWChOTyijGK8zm53jImVjCdkeG0FeJbIhNNeTSiS9iS7ES6nEUp 0gDlI8v5NAdg3X9psbF9ZbdF4UOHeWVfCy6ik5yY/xwnkTNtv66AATx7CL54z5jIiR9XQjzZNve 6Cp7uVY0DSzMtAb3qPzd0rULWo1Rf0WNVbMcvE04wNWpEVqcuqQqS1WftNDXzys8R6LBGLTELRg +gkIbSXdLnxVpcGZ4gpG1Sz/6yz/AAats01urocPBtjucU4zZ55jk/1hz4f1hGyqgTaHmG9tQQ5 XC2QQ4OlKp/X1N5mMqTWZXA6hgF4d3ECSBG1ehj4uFO0FSJ3p9UEzVxbW//RzKoIpyc2Zps9xA7 MjhGcIMiGBcRx0U4KdIk1uzb6MCDpSUU4QfTA== X-Received: by 2002:a05:6000:310c:b0:439:c4bf:d9cb with SMTP id ffacd0b85a97d-439f8434fc1mr726372f8f.43.1773178186814; Tue, 10 Mar 2026 14:29:46 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:82df:eef6:d0c5:70a5]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439f818d37fsm1247104f8f.6.2026.03.10.14.29.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2026 14:29:46 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Biju Das , Wolfram Sang Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 1/3] dt-bindings: memory: renesas,rzg3e-xspi: Add RZ/T2H and RZ/N2H support Date: Tue, 10 Mar 2026 21:29:25 +0000 Message-ID: <20260310212927.3372410-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260310212927.3372410-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20260310212927.3372410-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 Add device tree binding support for the xSPI Interface on Renesas RZ/T2H and RZ/N2H SoCs. The xSPI IP on these SoCs is closely related to that found on the RZ/G3E SoC with some register bit differences in the configuration registers. The RZ/T2H variant has a reduced clock configuration, requiring only the AHB and SPI clocks (without the AXI and spix2 clocks). It also requires only the hardware reset (hresetn), without the AXI reset (aresetn). The RZ/N2H variant is compatible with RZ/T2H and uses the same clock and reset configuration. Update the binding schema to accommodate these differences using conditional constraints based on the compatible string, while maintaining backward compatibility with existing RZ/G3E and RZ/V2H(P) implementations. Signed-off-by: Lad Prabhakar Reviewed-by: Rob Herring (Arm) --- .../renesas,rzg3e-xspi.yaml | 60 +++++++++++++++---- 1 file changed, 49 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,r= zg3e-xspi.yaml b/Documentation/devicetree/bindings/memory-controllers/renes= as,rzg3e-xspi.yaml index 7a84f5bb7284..bf50d90051c9 100644 --- a/Documentation/devicetree/bindings/memory-controllers/renesas,rzg3e-xs= pi.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rzg3e-xs= pi.yaml @@ -24,7 +24,9 @@ allOf: properties: compatible: oneOf: - - const: renesas,r9a09g047-xspi # RZ/G3E + - enum: + - renesas,r9a09g047-xspi # RZ/G3E + - renesas,r9a09g077-xspi # RZ/T2H =20 - items: - enum: @@ -32,6 +34,10 @@ properties: - renesas,r9a09g057-xspi # RZ/V2H(P) - const: renesas,r9a09g047-xspi =20 + - items: + - const: renesas,r9a09g087-xspi # RZ/N2H + - const: renesas,r9a09g077-xspi + reg: items: - description: xSPI registers @@ -53,28 +59,38 @@ properties: - const: err_pulse =20 clocks: - items: - - description: AHB clock - - description: AXI clock - - description: SPI clock - - description: Double speed SPI clock + oneOf: + - items: + - description: AHB clock + - description: AXI clock + - description: SPI clock + - description: Double speed SPI clock + - items: + - description: AHB clock + - description: SPI clock =20 clock-names: - items: - - const: ahb - - const: axi - - const: spi - - const: spix2 + oneOf: + - items: + - const: ahb + - const: axi + - const: spi + - const: spix2 + - items: + - const: ahb + - const: spi =20 power-domains: maxItems: 1 =20 resets: + minItems: 1 items: - description: Hardware reset - description: AXI reset =20 reset-names: + minItems: 1 items: - const: hresetn - const: aresetn @@ -109,6 +125,28 @@ required: - '#address-cells' - '#size-cells' =20 +if: + properties: + compatible: + contains: + const: renesas,r9a09g077-xspi +then: + properties: + clocks: + maxItems: 2 + clock-names: + maxItems: 2 +else: + properties: + clocks: + minItems: 4 + clock-names: + minItems: 4 + resets: + minItems: 2 + resets-names: + minItems: 2 + unevaluatedProperties: false =20 examples: --=20 2.53.0 From nobody Wed Apr 8 03:47:37 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 4E8243ED12F for ; Tue, 10 Mar 2026 21:29:49 +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=1773178192; cv=none; b=KlDcrpqj0FOIbrlAQTzxnV2s/iUv3yPr++Q2LgIVoCOV99ywuiQGlUks+BIKIA0jnFVSMVmGYroWjYvVMpRWFpB9XTSfj7DgvVKBCxpj23WV61558avVuyafECj5KgBKBpOTzfsIbVM0lTCqTfy4d2v8FuoGGv76488HcXhXTnM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773178192; c=relaxed/simple; bh=DzpIfCbwM6vKhLFzRzo9xoVVQJBktFpsxzl4DK7l6eg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HvY6zXu9tEk8BLpJJsg6YHmMvpKHg1s2udESMUBUNAsGra8E/fv+2UZdGei25cdDBvXsFYGNrUzdEbngCj52Zi02QZTPNRsKGKRafetEAs1tmhKyDsst/jvN3pYiYYyiDdC4rZm3GO5DHd8S7R9TgtIK7gHq8ggObUr+wwy4f90= 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=msKtcptS; 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="msKtcptS" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-439cd6b0aedso5348875f8f.1 for ; Tue, 10 Mar 2026 14:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773178187; x=1773782987; 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=5NgqHv/g3elLCqPvt60P5KwNeI0nXk/rRJivDr29tuA=; b=msKtcptSHt1rIa/eEITehzKqQO14GY9wxdtchpLiJ1CFcD9IXA87rRIu8ZG9OXr3kp 2UQgyU3V+0HNYsP10xkQSHpJ+6RIKGtxzcIZ2iv9K3U6QDZu45KwdYlL6bE7XBiGIdm6 geHFiyweAIW/1M3V1fTbo5MVP+AIEYIdc6KYQY1Jb7xNjXwz/o/AnrRPYspgUhzTtMW7 kxtD8oxk0EXX7SeM00WXekPK3/mEx0PEzMFWupwEF8ANbK28CAvzI01Gam2O0tIo2MCc eQQ54/Ia6weS37KsZINmLTIN5mczWYp7HFi5FKW5M7eg9Zk7JbbfV8sDn69eLryrBLc/ otzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773178187; x=1773782987; 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=5NgqHv/g3elLCqPvt60P5KwNeI0nXk/rRJivDr29tuA=; b=N2fI3HpgOT1kJvfVTMtUDfODSOtG6hRqA0glrIh7/YYmMjSFu5Vb2k99uFAdHcR7Jg Ivo4HvZmy9F8A7Vh3UVfwTbmvm5zG6Q1qM3cR5+hZ414TiqXncxE7RJPUfXMCl7xcPAy Dl/V/HQyAiBtpu7pYA9oT7zxhltyNJY49VmL06Sx6tVlq3yaK2laeuSdha1Se1Xwiyds BaBzRXKYXEYv6Jbgwf3JIOVtmHuhcAkL/aoJ4k52jYJhfG+L/8FwWdwqalutkdSjaR5f nX1T3qUrxcbQFfT6h2PW1bM6IsjY9JVeTpRbTVXytu4MtzLN/KES/W1VK27wUNfQotSj t/1g== X-Gm-Message-State: AOJu0YzGmDT1mUC0u6vuwp7RYf2lQisOQCDlH+WcI8UoaCBKYdMg4B6X Z1NbpO/xIoGoKjNKRokZmL7H+DUhERrH9m/Ssihf8yAsP1ufOPNXN/8U X-Gm-Gg: ATEYQzwQEC+DQnbgD3gWcXW8pY5mYcpnpvMjhdNMd/JYSGr/fNxHtQcEGb2Jlvi4jcx /IC4a4c7zkFEc56BC9c4Pn/uQ1mx2cuvoEp1PSuPnEgoDK//Dx0b+xEjrv964KYbRHsxdyWRzLn EQqcQsT8d1WZCoMXCbrNMSYl7bUBvFvMzb8S7zgfajM7/fEN9KSUqRBfI1OeQVbsYwdvfXoTov4 MHqTduZjfYamLGER60GOMV5vCFTuVpUFWMmxXpnfYIPdydxE5fH+z3lW7v1dUMpJunc4M7+XlnF 4RAneQff/R0bEFeHTksj8eVSauIGk8F976wA9dBJF2JDyxTl9LTh2m+y1LVf4WV0ZZd3hU9+43S jzfd7LAtsigT4TwK4tb2gkUzzGW85xR2Z5RnUPu5U/QQo/tUkOhAfJoybfc5Q9h+K9eHq137ch7 SxID7CeE98zgBm0rQ+jsiM1Uv/n0PLLGNvwTs4qeLtPtdBvwLmqaSasWHYMRkkhnxvwfpavWBYU KJz5uzBGYo4mYOqgxHBmjAefOiZgyk79D6Ojg== X-Received: by 2002:a05:6000:2c04:b0:439:8bee:b986 with SMTP id ffacd0b85a97d-439f8222ea7mr743968f8f.32.1773178187469; Tue, 10 Mar 2026 14:29:47 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:82df:eef6:d0c5:70a5]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439f818d37fsm1247104f8f.6.2026.03.10.14.29.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2026 14:29:47 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Biju Das , Wolfram Sang Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 2/3] memory: renesas-rpc-if: Fix duplicate device name on multi-instance platforms Date: Tue, 10 Mar 2026 21:29:26 +0000 Message-ID: <20260310212927.3372410-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260310212927.3372410-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20260310212927.3372410-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 On platforms with multiple xSPI instances, the driver fails to probe additional instances due to duplicate sysfs entries: [ 86.878242] sysfs: cannot create duplicate filename '/bus/platform/dev= ices/rpc-if-spi' This occurs because platform_device_alloc() uses pdev->id for the device ID, which may be PLATFORM_DEVID_NONE (-1) for multiple instances, causing all instances to attempt registration with the same name. Fix this by using PLATFORM_DEVID_AUTO instead, which automatically assigns unique IDs to each device instance, allowing multiple xSPI controllers to coexist without naming conflicts. Signed-off-by: Lad Prabhakar Reviewed-by: Wolfram Sang --- drivers/memory/renesas-rpc-if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/renesas-rpc-if.c b/drivers/memory/renesas-rpc-i= f.c index 0fb568456164..3755956ae906 100644 --- a/drivers/memory/renesas-rpc-if.c +++ b/drivers/memory/renesas-rpc-if.c @@ -1034,7 +1034,7 @@ static int rpcif_probe(struct platform_device *pdev) return dev_err_probe(dev, PTR_ERR(rpc->spi_clk), "cannot get enabled spi clk\n"); =20 - vdev =3D platform_device_alloc(name, pdev->id); + vdev =3D platform_device_alloc(name, PLATFORM_DEVID_AUTO); if (!vdev) return -ENOMEM; vdev->dev.parent =3D dev; --=20 2.53.0 From nobody Wed Apr 8 03:47:37 2026 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 477113859D5 for ; Tue, 10 Mar 2026 21:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773178193; cv=none; b=rKnYMBYJyWU/fY3xZQsd3fZmSrP7ewY39GsPOnzYj+CrdD6xRPAmqbeOSQwzE/73qjwcZxuRND++LfevsMudIbcbkGNysCV1dj96Ylm9VcXj4Mf3+5WVr78KoqHImp20Qzl5kypiDhp2Uib8sTP5pFwjAwCmhcQ4AUK55TtyXxQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773178193; c=relaxed/simple; bh=ogXyPVzKzbJQ53vkSS2qbngNk39fkQyG1JxarA4s1mE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XNtC9vuaS2/8GFPp2OA2iZS35V0tkbkwyXmn3kxo6LugNtq0jR5qk4xMTlaKWAPuXIbYW708cDZreJJ6OsN7MYeNd3d2wb7Vlyn3BcdvMwRE0dkDZSkB72oW15ZMjgCK6ZthC2wBByf6Et/BbTwJZaffEsfryyRAB2ueNZmGyzw= 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=DZ5szW7o; arc=none smtp.client-ip=209.85.128.50 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="DZ5szW7o" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4852ff06541so36625525e9.2 for ; Tue, 10 Mar 2026 14:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773178188; x=1773782988; 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=txwgTwUpWJVP1W5FlgZT0bJMXVPZO5xS2ZVTbzY6hVg=; b=DZ5szW7oEauAO7ms8SG/B6UeIj8FQmP+4C47LgSZCbgnNfqtt2A8ke7pqX2hKM8Qwj hjXOXnNBqhAQUhHDILCQHMxgn/7uzA3ucafuT4Y6tkQ7FlKl5aYlVzY5qSb1P+XflLHy WljqsCgYWC4M6SUFiV/pFGv10bms7jCbbsowhHIyQS2sTWpVqbVucmOglJDCjhjk/cQk iGw34vLMEz4Fk5bO8b8ldq50Ro/9X3jzI8yD5tOp4fnikp1e4aPr54WnLJ8WVUca70Uw b37FVKUIeF/6fBIrNcRlYUZuEsr4cg9EsYYp+U+ksILtVoY6JFR7aqyHmXuyv0NKeQys 05qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773178188; x=1773782988; 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=txwgTwUpWJVP1W5FlgZT0bJMXVPZO5xS2ZVTbzY6hVg=; b=pjtV5COcIHUJUKicZddKjBCLkDGyZnp4+QxeQ6FtHG034xsLik4h6H6/Ha7jRdz/hc bB3ZYbLsogp2v+LMxQK0QGgS+LKW8RoALQadLOrRJSgVaHUk3qOxoPxvkMnwod0/4W6d xszV+9M1cp/+P7mFgTxWGGGv2sG+rq7xeJlkL7c9daVTNXHMrnabxf/tsBP+RfqjH55d R6vYWJ18hEAYm782H/+q2qn8p/azHLJ1j9lUS4FKITL0VX3AX0pGZlPVpw4vpl5lFZJl T0Dmo6T8NFRthUa5jkD632F5rY7v+vHU1XmtmGv10IxgDR2LgX9dImVY2AZJHcd9mno6 qzfQ== X-Gm-Message-State: AOJu0Yzyz6EGZaCtznG8/zoj7CEKxWyBnJOG3r4vkFj9reBOzunpwY8z KgDMrfl0hQ0fg6BeJcvJpY0uA2OC6iH0ezvAezkEF1U7UkOLYsAMkje/ X-Gm-Gg: ATEYQzwdu1EmD2zGb3QCj0k8SDH1lPerTBfwQ7pQdWS5WjxM5VCnPquXzApX6Um2Ef0 5kEHOCOQI7RgMI4aLzvM9zZjI69XtzFE2N3E/CplPHlJ6Z4OY4y9PkRZ/lXSZckKFMpbC0ZKTvd TSHwepn3Q/s66Zx+LV9IkRp3dQzgnBzQHyZzIjJ5pyN1ReYdj9J44DXsp2ACtQWRkwGqe8Zdoka aE7WuAFUu4jOl8dzwnepcmeB3rCGhW0Jfir7VWPNPAn6+gh02w6MXHDU9G1DEb/6YsPxhyBOq5v aqQa8xRjsZ2hpx8FwcblkjKKwZf4t4870KLYnlwbSd2FaNzPAFIC694C8uuGo3oiAqDJpVIOwhv meugO1pRZnkzV93+HW1CPMGF0HWAsuoXenwUyu2bFdD7+38zvkZQ8A9Ex5nkqskiCGjIMp7E8G0 BB4aZ8MgnB1ty7Q/yjUJl2RGEGgXGjurLqRmQup+m+a+Cb+7v0NbLFvmisAA5uennxI1S06g0y6 mmy2Cu/qzNmEkuaKGNPpQubjR3N3/sSt0y0D05ddgWeZ8ek X-Received: by 2002:a05:600c:4591:b0:480:4a90:1afe with SMTP id 5b1f17b1804b1-4854b123a76mr4529995e9.34.1773178188460; Tue, 10 Mar 2026 14:29:48 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:82df:eef6:d0c5:70a5]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439f818d37fsm1247104f8f.6.2026.03.10.14.29.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2026 14:29:47 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Biju Das , Wolfram Sang Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 3/3] memory: renesas-rpc-if: Add support for RZ/T2H SoC Date: Tue, 10 Mar 2026 21:29:27 +0000 Message-ID: <20260310212927.3372410-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260310212927.3372410-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20260310212927.3372410-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 Add xSPI (Extended SPI) support for the RZ/T2H SoC. The xSPI IP on RZ/T2H is closely related to the RZ/G3E variant with some register bit differences in the configuration registers. Add a new compatible string "renesas,r9a09g077-xspi" for RZ/T2H while reusing the existing xspi_info_r9a09g047 OF data. This allows the driver to bind correctly on RZ/T2H while the register differences can be handled in future updates as the affected configuration registers are not currently accessed by the driver. Signed-off-by: Lad Prabhakar --- drivers/memory/renesas-rpc-if.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/memory/renesas-rpc-if.c b/drivers/memory/renesas-rpc-i= f.c index 3755956ae906..028bd3b4b9e3 100644 --- a/drivers/memory/renesas-rpc-if.c +++ b/drivers/memory/renesas-rpc-if.c @@ -1145,6 +1145,7 @@ static const struct rpcif_info xspi_info_r9a09g047 = =3D { static const struct of_device_id rpcif_of_match[] =3D { { .compatible =3D "renesas,r8a7796-rpc-if", .data =3D &rpcif_info_r8a7796= }, { .compatible =3D "renesas,r9a09g047-xspi", .data =3D &xspi_info_r9a09g04= 7 }, + { .compatible =3D "renesas,r9a09g077-xspi", .data =3D &xspi_info_r9a09g04= 7 }, { .compatible =3D "renesas,rcar-gen3-rpc-if", .data =3D &rpcif_info_gen3 = }, { .compatible =3D "renesas,rcar-gen4-rpc-if", .data =3D &rpcif_info_gen4 = }, { .compatible =3D "renesas,rzg2l-rpc-if", .data =3D &rpcif_info_rz_g2l }, --=20 2.53.0