On 9/2/26 7:17 PM, Ralph Siemsen wrote:
On Fri, Aug 28, 2026 at 11:18:30PM +0200, Marek Vasut wrote:
+    select SPI_MEM
+    select SPI_DIRMAP
Shouldn't this be selected by the SPI NOR driver instead ?

The same driver has other users, but they may not all want DIRMAP.

Why would they not want dirmap ?

There are currently 4 defconfigs which enable SPI_DIRMAP, three of them are AST2x00 and one is imxrt1170-evk. I would be adding a 5th one.

Talk to Aspeed / NXP maintainers and ask them to test it.

However the same Cadence IP is used in many boards, including TI K3 am62a and am65, k3-j72xx, and also on Xilinx versal (based on looking at compatible strings in devicetrees). None of these enable SPI_DIRMAP.

Talk to TI/Xilinx people too.

Lacking the hardware to test, I cannot say if enabling SPI_DIRMAP for all users would cause problems. I would prefer not to take the risk.
You can do this in the SPI driver Kconfig entry:

select SPI_DIRMAP if ARCH_RZN1

Reply via email to