Skip to content

drivers: Driver support for ADI SC5xx SoCs

Greg Malysa u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest12 patches 3 repliesIn review

Changes in v3 from the cover letter

- Add check if PORT peripheral base address was mapped successfully
- replace read*/write* with ioread* and iowrite* and friends across all drivers
- update for compatibility with changes to dwc qos driver between 2024.04 and 2025.01
- (spi) Primarily addressed issues identified in earlier feedback:
- Removed unused pins and memory_map priv members
- Added __iomem to device mmio pointers
- Replaced readl/writel calls with iowrite32/ioread32 and friends
- Added map_sysmem() call to prepare device mmio pointer
- (sdhci) Removed struct adi_sdhc and replaced with the struct that was its only member

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12pinctrl: Add support for ADI SC5XX-family pinctrlMAINTAINERS drivers/pinctrl/Kconfig drivers/pinctrl/Makefile +1 more+171 -00 replies
2/12doc: Add dt-bindings and descriptions for ADI SC5xx-family pinctrlMAINTAINERS doc/device-tree-bindings/pinctrl/adi,adsp-pinctrl.yaml include/dt-bindings/pinctrl/adi-adsp.h+96 -00 replies
3/12gpio: Add support for SC5XX-family processor GPIO driverMAINTAINERS drivers/gpio/Kconfig drivers/gpio/Makefile +1 more+190 -00 replies
4/12gpio: Add support for ADI ADP5588 GPIO expander chipsMAINTAINERS drivers/gpio/Kconfig drivers/gpio/Makefile +1 more+218 -00 replies
5/12usb: musb-new: Add support for Analog Devices SC5xx SoCsMAINTAINERS drivers/usb/musb-new/Kconfig drivers/usb/musb-new/Makefile +1 more+211 -00 replies
6/12i2c: Add support for ADI SC5XX-family I2C peripheralMAINTAINERS drivers/i2c/Kconfig drivers/i2c/Makefile +1 more+395 -01 reply
7/12net: Add support for ADI SC5xx SoCs with DWC QoS ethernetMAINTAINERS drivers/net/Kconfig drivers/net/Makefile +3 more+120 -00 replies
8/12watchdog: Add support for ADI SC5XX-family watchdog peripheralMAINTAINERS drivers/watchdog/Kconfig drivers/watchdog/Makefile +1 more+154 -01 reply
9/12dma: Add driver for ADI SC5xx-family SoC MDMA functionalityMAINTAINERS drivers/dma/Kconfig drivers/dma/Makefile +1 more+262 -00 replies
10/12remoteproc: Add in SHARC loading for ADI SC5XX-family processorsMAINTAINERS drivers/remoteproc/Kconfig drivers/remoteproc/Makefile +1 more+290 -00 replies
11/12spi: Add support for ADI SC5XX-family processor SPI peripheralsMAINTAINERS drivers/spi/Kconfig drivers/spi/Makefile +1 more+688 -00 replies
12/12mmc: Add support for ADI SC5XX-family processor SDHCI peripheralsMAINTAINERS drivers/mmc/Kconfig drivers/mmc/Makefile +1 more+159 -00 replies

Reviews trailers per patch

2 of 12 patches have a Reviewed-by or Acked-by.

PatchStefan RoeseHeiko Schocher
1/12
2/12
3/12
4/12
5/12
6/12R-b
7/12
8/12R-b
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/12] drivers: Driver support for ADI SC5xx SoCs

This series adds all of the supported peripheral drivers for the sc5xx series of SoCs from Analog Devices and other drivers that are used by the evaluation kits, such as a GPIO expander used by the EZLITE carrier boards. This series passes gitlab CI tests.

Changes in v3:
- Add check if PORT peripheral base address was mapped successfully
- replace read*/write* with ioread* and iowrite* and friends across all drivers
- update for compatibility with changes to dwc qos driver between 2024.04 and 2025.01
- (spi) Primarily addressed issues identified in earlier feedback:
- Removed unused pins and memory_map priv members
- Added __iomem to device mmio pointers
- Replaced readl/writel calls with iowrite32/ioread32 and friends
- Added map_sysmem() call to prepare device mmio pointer
- (sdhci) Removed struct adi_sdhc and replaced with the struct that was its only member

Changes in v2:
- Clean up some whitespace errors
- Modify Kconfigs to reflect changes to mach-sc5xx/Kconfig

Greg Malysa (5):
pinctrl: Add support for ADI SC5XX-family pinctrl
doc: Add dt-bindings and descriptions for ADI SC5xx-family pinctrl
gpio: Add support for SC5XX-family processor GPIO driver
net: Add support for ADI SC5xx SoCs with DWC QoS ethernet
dma: Add driver for ADI SC5xx-family SoC MDMA functionality

Nathan Barrett-Morrison (7):
gpio: Add support for ADI ADP5588 GPIO expander chips
usb: musb-new: Add support for Analog Devices SC5xx SoCs
i2c: Add support for ADI SC5XX-family I2C peripheral
watchdog: Add support for ADI SC5XX-family watchdog peripheral
remoteproc: Add in SHARC loading for ADI SC5XX-family processors
spi: Add support for ADI SC5XX-family processor SPI peripherals
mmc: Add support for ADI SC5XX-family processor SDHCI peripherals

 MAINTAINERS                                   |  13 +
 .../pinctrl/adi,adsp-pinctrl.yaml             |  73 ++
 drivers/dma/Kconfig                           |   7 +
 drivers/dma/Makefile                          |   1 +
 drivers/dma/adi_dma.c                         | 253 +++++++
 drivers/gpio/Kconfig                          |  17 +
 drivers/gpio/Makefile                         |   2 +
 drivers/gpio/adp5588_gpio.c                   | 208 ++++++
 drivers/gpio/gpio-adi-adsp.c                  | 179 +++++
 drivers/i2c/Kconfig                           |   7 +
 drivers/i2c/Makefile                          |   1 +
 drivers/i2c/adi_i2c.c                         | 386 ++++++++++
 drivers/mmc/Kconfig                           |   9 +
 drivers/mmc/Makefile                          |   1 +
 drivers/mmc/adi_sdhci.c                       | 148 ++++
 drivers/net/Kconfig                           |   7 +
 drivers/net/Makefile                          |   1 +
 drivers/net/dwc_eth_qos.c                     |   6 +
 drivers/net/dwc_eth_qos.h                     |   2 +
 drivers/net/dwc_eth_qos_adi.c                 | 103 +++
 drivers/pinctrl/Kconfig                       |   8 +
 drivers/pinctrl/Makefile                      |   1 +
 drivers/pinctrl/pinctrl-adi-adsp.c            | 161 +++++
 drivers/remoteproc/Kconfig                    |  11 +
 drivers/remoteproc/Makefile                   |   1 +
 drivers/remoteproc/adi_sc5xx_rproc.c          | 277 +++++++
 drivers/spi/Kconfig                           |   7 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/adi_spi3.c                        | 679 ++++++++++++++++++
 drivers/usb/musb-new/Kconfig                  |   7 +
 drivers/usb/musb-new/Makefile                 |   1 +
 drivers/usb/musb-new/sc5xx.c                  | 202 ++++++
 drivers/watchdog/Kconfig                      |   9 +
 drivers/watchdog/Makefile                     |   1 +
 drivers/watchdog/adi_wdt.c                    | 143 ++++
 include/dt-bindings/pinctrl/adi-adsp.h        |  21 +
 36 files changed, 2954 insertions(+)
 create mode 100644 doc/device-tree-bindings/pinctrl/adi,adsp-pinctrl.yaml
 create mode 100644 drivers/dma/adi_dma.c
 create mode 100644 drivers/gpio/adp5588_gpio.c
 create mode 100644 drivers/gpio/gpio-adi-adsp.c
 create mode 100644 drivers/i2c/adi_i2c.c
 create mode 100644 drivers/mmc/adi_sdhci.c
 create mode 100644 drivers/net/dwc_eth_qos_adi.c
 create mode 100644 drivers/pinctrl/pinctrl-adi-adsp.c
 create mode 100644 drivers/remoteproc/adi_sc5xx_rproc.c
 create mode 100644 drivers/spi/adi_spi3.c
 create mode 100644 drivers/usb/musb-new/sc5xx.c
 create mode 100644 drivers/watchdog/adi_wdt.c
 create mode 100644 include/dt-bindings/pinctrl/adi-adsp.h
Signature · 1 line
2.45.2