Skip to content

spi: aspeed: Add a "ranges" property

Cédric Le Goater linux-arm-kernel linux-aspeed linux-devicetree linux-spi lkml openbmc 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Tested by Naresh Solanki
- sent preliminary fix independently
https://patchwork.kernel.org/project/linux-arm-kernel/patch/20221016155722.3520802-1-clg at kaod.org/
- changed the sysfs file exposing the register values to debugfs.
- refresh on 6.1-rc1

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spi: dt-bindings: aspeed: Add a ranges propertyDocumentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml+9 -01 reply
2/3spi: aspeed: Handle custom decoding rangesdrivers/spi/spi-aspeed-smc.c+64 -11 reply
3/3spi: aspeed: Introduce a "ranges" debugfs filedrivers/spi/spi-aspeed-smc.c+65 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH linux v2 0/3] spi: aspeed: Add a "ranges" property

Hello,

Currently, the Linux Aspeed SMC driver computes the decoding ranges of each CS (AHB memory window on which the flash contents are mapped) from the size of the detected flash device. It seems that some chips have issues with the computed ranges and for these, it would be nice to be able to define custom decoding ranges in the DT.

Here is a little series doing that.

Thanks,

C.

Changes in v2 :

- Tested by Naresh Solanki
- sent preliminary fix independently
https://patchwork.kernel.org/project/linux-arm-kernel/patch/20221016155722.3520802-1-clg at kaod.org/
- changed the sysfs file exposing the register values to debugfs.
- refresh on 6.1-rc1

C?dric Le Goater (3):
spi: dt-bindings: aspeed: Add a ranges property
spi: aspeed: Handle custom decoding ranges
spi: aspeed: Introduce a "ranges" debugfs file

 drivers/spi/spi-aspeed-smc.c                  | 131 +++++++++++++++++-
 .../bindings/spi/aspeed,ast2600-fmc.yaml      |   9 ++
 2 files changed, 138 insertions(+), 2 deletions(-)
Signature · 1 line
2.37.3