All of 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 v2 0/2] spi: airoha: add AN7589 support
Date: Fri,  4 Dec 2026 19:58:21 +0100	[thread overview]
Message-ID: <20261204185823.3797250-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.

Changes in v2:
- Patch 1: use the subject prefix of the subsystem (Mark).
- Patch 1: add the Acked-by of Krzysztof.
- Patch 2: fail the probe when there is no match data (Mark).
- Link to v1: https://lore.kernel.org/r/20261202180735.3591430-1-john@phrozen.org

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

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


base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c
-- 
2.34.1


             reply	other threads:[~2026-12-04 18:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 18:58 John Crispin [this message]
2026-12-04 18:58 ` [PATCH v2 1/2] spi: dt-bindings: airoha: add AN7589 John Crispin
2026-12-05 13:36   ` Lorenzo Bianconi
2026-12-04 18:58 ` [PATCH v2 2/2] spi: airoha: add support for AN7589 John Crispin
2026-12-05 13:45   ` Lorenzo Bianconi

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=20261204185823.3797250-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.