U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/14] airoha: add support spi/mmc/ethernet
@ 2025-04-07 20:01 Christian Marangi
  2025-04-07 20:01 ` [PATCH v2 01/14] arch: arm: dts: an7581: add Chip SCU node Christian Marangi
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Christian Marangi @ 2025-04-07 20:01 UTC (permalink / raw)
  To: Tom Rini, Peng Fan, Jaehoon Chung, Dario Binacchi,
	Michael Trimarchi, Frieder Schrempf, Joe Hershberger, Ramon Fried,
	Jagan Teki, Christian Marangi, Bruce Suen, u-boot

This is continuation of the initial patchset for airoha
support.

Some are trivial fix for spi.
A new concept to setup SPI from detected NAND.

Sadly DTS node still need to be merged upstream so we
are currently adding them to u-boot dtsi and it's planned
to be dropped once they are accepted in upstream kernel.

Changes v2:
- Drop unused define in ethernet driver
- Use remap in ethernet driver

Christian Marangi (14):
  arch: arm: dts: an7581: add Chip SCU node
  net: airoha: Add Airoha Ethernet driver
  airoha: Add Ethernet config to defconfig
  arch: arm: dts: an7581: Add Ethernet nodes
  mmc: mediatek: permit to also build for Airoha arch
  arch: arm: dts: an7581: Add eMMC nodes
  airoha: Add eMMC config to defconfig
  regmap: Add regmap_set/clear_bits shorthands
  spi: drop unneeded spi.h header include from spinand.h
  spi: Introduce setup_for_spinand()
  spinand: call SPI setup_for_spinand if supported
  spi: airoha: Add Airoha SPI NAND driver
  arm: dts: an7581: Add SNAND node
  configs: airoha: an7581_evb: Enable Airoha SNFI SPI config

 arch/arm/dts/an7581-u-boot.dtsi |  90 +++
 configs/an7581_evb_defconfig    |   3 +
 drivers/mmc/Kconfig             |   2 +-
 drivers/mtd/nand/spi/core.c     |  18 +
 drivers/net/Kconfig             |   8 +
 drivers/net/Makefile            |   1 +
 drivers/net/airoha_eth.c        | 948 ++++++++++++++++++++++++++++++++
 drivers/spi/Kconfig             |   9 +
 drivers/spi/Makefile            |   1 +
 drivers/spi/airoha_snfi_spi.c   | 717 ++++++++++++++++++++++++
 include/linux/mtd/spinand.h     |   2 +-
 include/regmap.h                |  28 +
 include/spi.h                   |  11 +
 13 files changed, 1836 insertions(+), 2 deletions(-)
 create mode 100644 drivers/net/airoha_eth.c
 create mode 100644 drivers/spi/airoha_snfi_spi.c

-- 
2.48.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-04-17 17:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-07 20:01 [PATCH v2 00/14] airoha: add support spi/mmc/ethernet Christian Marangi
2025-04-07 20:01 ` [PATCH v2 01/14] arch: arm: dts: an7581: add Chip SCU node Christian Marangi
2025-04-07 20:01 ` [PATCH v2 02/14] net: airoha: Add Airoha Ethernet driver Christian Marangi
2025-04-07 20:01 ` [PATCH v2 03/14] airoha: Add Ethernet config to defconfig Christian Marangi
2025-04-07 20:01 ` [PATCH v2 04/14] arch: arm: dts: an7581: Add Ethernet nodes Christian Marangi
2025-04-07 20:01 ` [PATCH v2 05/14] mmc: mediatek: permit to also build for Airoha arch Christian Marangi
2025-04-07 20:01 ` [PATCH v2 06/14] arch: arm: dts: an7581: Add eMMC nodes Christian Marangi
2025-04-07 20:01 ` [PATCH v2 07/14] airoha: Add eMMC config to defconfig Christian Marangi
2025-04-07 20:01 ` [PATCH v2 08/14] regmap: Add regmap_set/clear_bits shorthands Christian Marangi
2025-04-07 20:01 ` [PATCH v2 09/14] spi: drop unneeded spi.h header include from spinand.h Christian Marangi
2025-04-07 20:01 ` [PATCH v2 10/14] spi: Introduce setup_for_spinand() Christian Marangi
2025-04-07 20:01 ` [PATCH v2 11/14] spinand: call SPI setup_for_spinand if supported Christian Marangi
2025-04-07 20:01 ` [PATCH v2 12/14] spi: airoha: Add Airoha SPI NAND driver Christian Marangi
2025-04-07 20:01 ` [PATCH v2 13/14] arm: dts: an7581: Add SNAND node Christian Marangi
2025-04-07 20:01 ` [PATCH v2 14/14] configs: airoha: an7581_evb: Enable Airoha SNFI SPI config Christian Marangi
2025-04-17 17:06 ` [PATCH v2 00/14] airoha: add support spi/mmc/ethernet Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox