From: Xianwei Zhao via B4 Relay <devnull+xianwei.zhao.amlogic.com@kernel.org>
To: Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Liang Yang <liang.yang@amlogic.com>,
Feng Chen <feng.chen@amlogic.com>
Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org,
Xianwei Zhao <xianwei.zhao@amlogic.com>,
Conor Dooley <conor.dooley@microchip.com>
Subject: [PATCH v6 0/3] support for Amlogic SPI Flash Controller IP
Date: Wed, 10 Sep 2025 18:18:24 +0800 [thread overview]
Message-ID: <20250910-spifc-v6-0-1574aa9baebd@amlogic.com> (raw)
This Flash Controller is derived by adding an SPI path to the original
raw NAND controller. This controller supports two modes: raw mode and
SPI mode. The raw mode has already been implemented in the community
(drivers/mtd/nand/raw/meson_nand.c).
This submission supports the SPI mode.
Add the drivers and bindings corresponding to the SPI Flash Controller.
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
Changes in v6:
- Fix compilation warning appeared in v4 version tested by kernel test robot.
- Link to v5: https://lore.kernel.org/r/20250909-spifc-v5-0-962bc147d17f@amlogic.com
Changes in v5:
- Initialize local variables and handle exceptions solve compilation error problems.
- Link to v4: https://lore.kernel.org/r/20250829-spifc-v4-0-1e57fd39f584@amlogic.com
Changes in v4:
- Reword desc of 'amlogic, rx-adj' in bingding file.
- Link to v3: https://lore.kernel.org/r/20250826-spifc-v3-0-7e926041d7f6@amlogic.com
Changes in v3:
- Restore message description and modify subject [1/3] that was omitted in v2.
- Link to v2: https://lore.kernel.org/r/20250821-spifc-v2-0-b119f64b5c09@amlogic.com
Changes in v2:
- Remove clock reg descriptor and get clock from common clk.
- Remove ecc and ramdom descriptor in bindings.
- Modify the format and message description.
- Link to v1: https://lore.kernel.org/r/20250808-spifc-v1-0-ff4e30e26a6b@amlogic.com
---
Feng Chen (2):
spi: dt-bindings: add Amlogic A113L2 SFC
spi: amlogic: add driver for Amlogic SPI Flash Controller
Xianwei Zhao (1):
MAINTAINERS: Add an entry for Amlogic spifc driver
.../devicetree/bindings/spi/amlogic,a4-spifc.yaml | 82 ++
MAINTAINERS | 10 +
drivers/spi/Kconfig | 10 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-amlogic-spifc-a4.c | 1222 ++++++++++++++++++++
5 files changed, 1325 insertions(+)
---
base-commit: 475541d2f3dfe72e8cfe94bfb1b824030f8d9b68
change-id: 20250804-spifc-5761e35fbe1f
Best regards,
--
Xianwei Zhao <xianwei.zhao@amlogic.com>
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next reply other threads:[~2025-09-10 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-10 10:18 Xianwei Zhao via B4 Relay [this message]
2025-09-10 10:18 ` [PATCH v6 1/3] spi: dt-bindings: add Amlogic A113L2 SFC Xianwei Zhao via B4 Relay
2025-09-10 10:18 ` [PATCH v6 2/3] spi: amlogic: add driver for Amlogic SPI Flash Controller Xianwei Zhao via B4 Relay
2025-09-10 10:18 ` [PATCH v6 3/3] MAINTAINERS: Add an entry for Amlogic spifc driver Xianwei Zhao via B4 Relay
2025-09-12 1:11 ` [PATCH v6 0/3] support for Amlogic SPI Flash Controller IP Mark Brown
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=20250910-spifc-v6-0-1574aa9baebd@amlogic.com \
--to=devnull+xianwei.zhao.amlogic.com@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=feng.chen@amlogic.com \
--cc=krzk+dt@kernel.org \
--cc=liang.yang@amlogic.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=robh@kernel.org \
--cc=xianwei.zhao@amlogic.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;
as well as URLs for NNTP newsgroup(s).