spi: Convert drivers to dev_read_* APIs
Get series with b4
b4 am [email protected] change-id 20260526-devfdt-spi-2911c7201281Versions newest first
- v2 Latest5 patches 4 repliesIn review
- v15 patches 6 repliesSuperseded
Changes in v2 from the cover letter
Per Simon:
- Patch 4/6 (cadence_qspi): Update commit log to note the new NULL checks for regbase/ahbbase as a behavior improvement, not "no functional changes".
- Patch 6/6 (ti_qspi): Fix dev_read_phandle_with_args() call to use cell_count=1 instead of 0 so syscon-chipselects offset arg is parsed correctly. Wrap the call to 80 columns.
Add R-b from Simon.
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | spi: spi-aspeed-smc: Use dev_read_addr_index_ptr()drivers/ | +2 | 0 replies | |
| 2/5 | spi: cadence_qspi: Use dev_read_addr_index_ptr()drivers/ | +5 | 0 replies | |
| 3/5 | spi: mtk_snor: Use dev_read_addr_ptr()drivers/ | +1 | 1 reply | |
| 4/5 | spi: nxp: Use dev_read_addr_size_name()drivers/ drivers/ | +8 | 0 replies | |
| 5/5 | spi: ti_qspi: Use device APIsdrivers/ | +10 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass | Weijie Gao | David Lechner |
|---|---|---|---|
| 1/5 | R-b | ||
| 2/5 | R-b | ||
| 3/5 | R-b | R-b | A-b |
| 4/5 | R-b | ||
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/5] spi: Convert drivers to dev_read_* APIs
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
---
Changes in v2:
Per Simon:
- Patch 4/6 (cadence_qspi): Update commit log to note the new NULL checks for regbase/ahbbase as a behavior improvement, not "no functional changes".
- Patch 6/6 (ti_qspi): Fix dev_read_phandle_with_args() call to use cell_count=1 instead of 0 so syscon-chipselects offset arg is parsed correctly. Wrap the call to 80 columns.
Add R-b from Simon.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
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 | 22 ++++++++++------------ 6 files changed, 26 insertions(+), 25 deletions(-)
---
base-commit: 0a46055d96ac627c05180cdeaa187a9fdf6b7973
change-id: 20260526-devfdt-spi-2911c7201281
Best regards,
Signature · 1 line
Peng Fan <[email protected]>