[PATCH 0/5] spi: Convert drivers to dev_read_* APIs

Peng Fan (OSS) peng.fan at oss.nxp.com
Wed May 27 04:35:23 CEST 2026


This series converts several SPI controller drivers to use the
dev_read_* APIs instead of legacy devfdt_* and raw FDT helpers.
The dev_read_* APIs provide a unified interface that works with both
live device tree and flat device tree backends, avoiding direct
dependencies on devfdt_* helpers 

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
Peng Fan (5):
      spi: spi-aspeed-smc: Use dev_read_addr_index_ptr()
      spi: cadence_qspi: Use dev_read_addr_index_ptr()
      spi: mtk_snor: Use dev_read_addr_ptr()
      spi: nxp: Use dev_read_addr_size_name()
      spi: ti_qspi: Use device APIs

 drivers/spi/cadence_qspi.c   |  7 +++++--
 drivers/spi/mtk_snor.c       |  2 +-
 drivers/spi/nxp_fspi.c       |  8 ++++----
 drivers/spi/nxp_xspi.c       |  8 ++++----
 drivers/spi/spi-aspeed-smc.c |  4 ++--
 drivers/spi/ti_qspi.c        | 21 +++++++++------------
 6 files changed, 25 insertions(+), 25 deletions(-)
---
base-commit: bb354d04459f5425318aeb8a70bae995ee573f1d
change-id: 20260526-devfdt-spi-2911c7201281

Best regards,
-- 
Peng Fan <peng.fan at nxp.com>



More information about the U-Boot mailing list