From: Luca Lauro via B4 Relay <devnull+famlauro93l.gmail.com@kernel.org>
To: Sascha Hauer <s.hauer@pengutronix.de>,
"open list:BAREBOX" <barebox@lists.infradead.org>
Cc: Luca Lauro <famlauro93l@gmail.com>
Subject: [PATCH v3 00/15] ARM: mvebu: add Netgear RN102/RN104 support and related drivers
Date: Sun, 02 Aug 2026 15:16:16 +0200 [thread overview]
Message-ID: <20260802-rn102-rn104-series-v3-0-f7685a279fb5@gmail.com> (raw)
This series adds full barebox support for the Netgear RN102 and RN104
NAS platforms based on the Marvell Armada 370 SoC. Both devices share
the same hardware architecture, differing mainly in the number of drive
bays and board‑level integration.
The series introduces:
- lowlevel initialization code for RN102 and RN104
- board support files and environment integration
- barebox‑specific device tree overlays for both platforms
- image generation support and defconfig updates
- fan controller subsystem and G76x driver
- fan control command and Kconfig/Makefile integration
- Marvell‑specific EHCI host controller driver
- USB/EHCI fixes
- ATA/AHCI improvements
The goal is to provide complete bootloader support for these NAS
devices, enabling reliable initialization of storage, USB, fan control,
and board‑specific peripherals. The patches have been tested on RN102.
Changes in v3:
- cleaned up whitespace and indentation issues
- squashed fan command integration into a single commit
- removed noisy or unrelated changes
- improved commit messages and structure
Link to v2:
https://patch.msgid.link/20260728-rn102-rn104-series-v2-0-ae31f55b7bc8@gmail.com
Signed-off-by: Luca Lauro <famlauro93l@gmail.com>
---
Luca Lauro (15):
ARM: mvebu: add Netgear RN102 support
ARM: mvebu: enable RN102 in mvebu_defconfig
ARM: mvebu: improve Netgear RN104 support
ARM: mvebu: rename PUTC_LL to MVEBU_PUTC_LL
drivers: fan: add fan subsystem, core API and G76x fan controller driver
commands: add fan control command
usb: ehci: add Marvell EHCI host controller driver
usb: ehci: initialize periodic_queue_dma
ata: ahci: add PCI AHCI and Marvell 9170 controller support
ata: ahci: fix zero-length DMA handling
ata: ahci: add helper for ATA commands without data
ata: ahci: improve AHCI port bring-up sequence
ata: ahci: add FLUSH EXT and STANDBY IMMEDIATE support during shutdown
ata: ahci: add shutdown helpers for AHCI controllers
ata: ahci: cleanup legacy code and remove unused paths
arch/arm/boards/Makefile | 1 +
arch/arm/boards/netgear-rn102/Makefile | 4 +
arch/arm/boards/netgear-rn102/board.c | 243 ++++++
arch/arm/boards/netgear-rn102/lowlevel.c | 58 ++
arch/arm/boards/netgear-rn104/Makefile | 1 +
arch/arm/boards/netgear-rn104/board.c | 182 +++++
arch/arm/boards/netgear-rn104/lowlevel.c | 37 +-
arch/arm/configs/mvebu_defconfig | 1 +
arch/arm/dts/Makefile | 1 +
arch/arm/dts/armada-370-rn102-bb.dts | 82 ++
arch/arm/dts/armada-370-rn104-bb.dts | 73 +-
arch/arm/mach-mvebu/Kconfig | 4 +
commands/Kconfig | 7 +
commands/Makefile | 2 +
commands/fan.c | 286 +++++++
drivers/Kconfig | 1 +
drivers/Makefile | 1 +
drivers/ata/ahci.c | 429 ++++++----
drivers/ata/ahci.h | 1 +
drivers/fan/Kconfig | 35 +
drivers/fan/Makefile | 8 +
drivers/fan/fan.c | 180 +++++
drivers/fan/i2c_fan_controllers/Kconfig | 6 +
drivers/fan/i2c_fan_controllers/Makefile | 5 +
drivers/fan/i2c_fan_controllers/g76x.c | 1185 ++++++++++++++++++++++++++++
drivers/fan/other_fan_controllers/Kconfig | 7 +
drivers/fan/other_fan_controllers/Makefile | 3 +
drivers/fan/spi_fan_controllers/Kconfig | 1 +
drivers/fan/spi_fan_controllers/Makefile | 3 +
drivers/usb/host/Kconfig | 7 +
drivers/usb/host/Makefile | 13 +-
drivers/usb/host/ehci-hcd.c | 7 +-
drivers/usb/host/ehci-marvell.c | 228 ++++++
images/Makefile.mvebu | 13 +-
include/fan/fan.h | 94 +++
include/fan/i2c_fan_controllers/g76x.h | 37 +
include/mach/mvebu/debug_ll.h | 2 +-
37 files changed, 3064 insertions(+), 184 deletions(-)
---
base-commit: f9cc366e5b67680473e4ab7837eeb27bf1b5a567
change-id: 20260723-rn102-rn104-series-d668eb09d0ff
Best regards,
--
Luca Lauro <famlauro93l@gmail.com>
next reply other threads:[~2026-08-02 13:21 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-02 13:16 Luca Lauro via B4 Relay [this message]
2026-08-02 13:16 ` [PATCH v3 01/15] ARM: mvebu: add Netgear RN102 support Luca Lauro via B4 Relay
2026-08-03 12:53 ` Sascha Hauer
2026-08-03 13:43 ` Marco Felsch
2026-08-02 13:16 ` [PATCH v3 02/15] ARM: mvebu: enable RN102 in mvebu_defconfig Luca Lauro via B4 Relay
2026-08-02 13:16 ` [PATCH v3 03/15] ARM: mvebu: improve Netgear RN104 support Luca Lauro via B4 Relay
2026-08-02 13:16 ` [PATCH v3 04/15] ARM: mvebu: rename PUTC_LL to MVEBU_PUTC_LL Luca Lauro via B4 Relay
2026-08-02 13:16 ` [PATCH v3 05/15] drivers: fan: add fan subsystem, core API and G76x fan controller driver Luca Lauro via B4 Relay
2026-08-02 13:16 ` [PATCH v3 06/15] commands: add fan control command Luca Lauro via B4 Relay
2026-08-02 13:16 ` [PATCH v3 07/15] usb: ehci: add Marvell EHCI host controller driver Luca Lauro via B4 Relay
2026-08-02 13:16 ` [PATCH v3 08/15] usb: ehci: initialize periodic_queue_dma Luca Lauro via B4 Relay
2026-08-03 21:27 ` Sascha Hauer
2026-08-02 13:16 ` [PATCH v3 09/15] ata: ahci: add PCI AHCI and Marvell 9170 controller support Luca Lauro via B4 Relay
2026-08-03 21:33 ` Sascha Hauer
2026-08-02 13:16 ` [PATCH v3 10/15] ata: ahci: fix zero-length DMA handling Luca Lauro via B4 Relay
2026-08-02 13:16 ` [PATCH v3 11/15] ata: ahci: add helper for ATA commands without data Luca Lauro via B4 Relay
2026-08-02 13:16 ` [PATCH v3 12/15] ata: ahci: improve AHCI port bring-up sequence Luca Lauro via B4 Relay
2026-08-02 13:16 ` [PATCH v3 13/15] ata: ahci: add FLUSH EXT and STANDBY IMMEDIATE support during shutdown Luca Lauro via B4 Relay
2026-08-03 21:52 ` Sascha Hauer
2026-08-02 13:16 ` [PATCH v3 14/15] ata: ahci: add shutdown helpers for AHCI controllers Luca Lauro via B4 Relay
2026-08-03 21:55 ` Sascha Hauer
2026-08-02 13:16 ` [PATCH v3 15/15] ata: ahci: cleanup legacy code and remove unused paths Luca Lauro via B4 Relay
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=20260802-rn102-rn104-series-v3-0-f7685a279fb5@gmail.com \
--to=devnull+famlauro93l.gmail.com@kernel.org \
--cc=barebox@lists.infradead.org \
--cc=famlauro93l@gmail.com \
--cc=s.hauer@pengutronix.de \
/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