Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: John Crispin <john@phrozen.org>
To: Lorenzo Bianconi <lorenzo@kernel.org>,
	Ray Liu <ray.liu@airoha.com>, Mark Brown <broonie@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: Christian Marangi <ansuelsmth@gmail.com>,
	devicetree@vger.kernel.org, lei.dong@airoha.com,
	Linqi.zhang@airoha.com, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org,
	Rajeev.kumar@airoha.com, upstream@airoha.com,
	Weifeng.xu@airoha.com, zhengping.zhang@airoha.com
Subject: [PATCH 0/2] spi: airoha: add AN7589 support
Date: Wed,  2 Dec 2026 19:07:33 +0100	[thread overview]
Message-ID: <20261202180735.3591430-1-john@phrozen.org> (raw)

The Airoha AN7589 carries the SPI-NAND controller of the EN7581. The
one difference is the DMA address: the AN7589 takes 36 bits, with the
upper 4 bits in a second register.

Patch 1 adds the compatible, with airoha,en7581-snand as the fallback.
Patch 2 adds match data with the width of the DMA address, sets a 36
bit DMA mask on the AN7589 and writes the upper address bits there.

The series applies to next-20261201 and has no dependencies.

John Crispin (2):
  dt-bindings: spi: airoha: add AN7589
  spi: airoha: add support for AN7589

 .../bindings/spi/airoha,en7581-snand.yaml     |  1 +
 drivers/spi/spi-airoha-snfi.c                 | 51 ++++++++++++++++---
 2 files changed, 44 insertions(+), 8 deletions(-)


base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c
-- 
2.34.1



             reply	other threads:[~2026-12-02 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 18:07 John Crispin [this message]
2026-12-02 18:07 ` [PATCH 2/2] spi: airoha: add support for AN7589 John Crispin

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=20261202180735.3591430-1-john@phrozen.org \
    --to=john@phrozen.org \
    --cc=Linqi.zhang@airoha.com \
    --cc=Rajeev.kumar@airoha.com \
    --cc=Weifeng.xu@airoha.com \
    --cc=ansuelsmth@gmail.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lei.dong@airoha.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=ray.liu@airoha.com \
    --cc=robh@kernel.org \
    --cc=upstream@airoha.com \
    --cc=zhengping.zhang@airoha.com \
    /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