ARM Sunxi Platform Development
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Cc: Tom Rini <trini@konsulko.com>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Chen-Yu Tsai <wens@kernel.org>,
	Paul Kocialkowski <contact@paulk.fr>,
	linux-sunxi@lists.linux.dev
Subject: [PATCH 1/5] spi: sunxi: add support for A523 SPI controller
Date: Mon, 11 May 2026 23:37:09 +0200	[thread overview]
Message-ID: <20260511213713.15943-2-andre.przywara@arm.com> (raw)
In-Reply-To: <20260511213713.15943-1-andre.przywara@arm.com>

The SPI controllers in the Allwinner A523/A527/T527 SoCs is very close
to the one used in the R329 and D1 generation, definitely as far as our
driver is concerned.

Add the new compatible string, but use the existing config section from
the previous SoC generation.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 drivers/spi/spi-sunxi.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/spi/spi-sunxi.c b/drivers/spi/spi-sunxi.c
index 08b603f04a2..4e91cf6b7fd 100644
--- a/drivers/spi/spi-sunxi.c
+++ b/drivers/spi/spi-sunxi.c
@@ -587,6 +587,10 @@ static const struct udevice_id sun4i_spi_ids[] = {
 	  .compatible = "allwinner,sun50i-r329-spi",
 	  .data = (ulong)&sun50i_r329_spi_variant,
 	},
+	{
+	  .compatible = "allwinner,sun55i-a523-spi",
+	  .data = (ulong)&sun50i_r329_spi_variant,
+	},
 	{ /* sentinel */ }
 };
 
-- 
2.46.4


  reply	other threads:[~2026-05-11 21:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11 21:37 [PATCH 0/5] sunxi: A523: Add SPI support Andre Przywara
2026-05-11 21:37 ` Andre Przywara [this message]
2026-05-12 17:37   ` [PATCH 1/5] spi: sunxi: add support for A523 SPI controller Jernej Škrabec
2026-05-11 21:37 ` [PATCH 2/5] sunxi: spl: spi: Clean up SPI0 pinmux setting Andre Przywara
2026-05-12 17:37   ` Jernej Škrabec
2026-05-11 21:37 ` [PATCH 3/5] sunxi: spl: spi: Add support for Allwinner A523 Andre Przywara
2026-05-12 17:39   ` Jernej Škrabec
2026-05-11 21:37 ` [PATCH 4/5] sunxi: configs: Radxa Cubie A5E: enable SPI Andre Przywara
2026-05-12 17:40   ` Jernej Škrabec
2026-05-11 21:37 ` [PATCH 5/5] sunxi: configs: OrangePi 4A: " Andre Przywara
2026-05-12 17:40   ` Jernej Škrabec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260511213713.15943-2-andre.przywara@arm.com \
    --to=andre.przywara@arm.com \
    --cc=contact@paulk.fr \
    --cc=jernej.skrabec@gmail.com \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=wens@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox