[PATCH v3] spi: orion.c: Add direct access mode

Arnd Bergmann arnd at arndb.de
Sat Apr 16 13:06:50 PDT 2016


On Thursday 07 April 2016 14:06:51 Stefan Roese wrote:
> v3:
> - Used static MBus windows again, as suggested by Arnd
> - No new DT bindings needed for this. The MBus windows need to be
>   configured in the 'reg' property of the SPI controller. This is
>   done in a separate patch for the Armada platforms.
> - The direct mapping is configured and enable by adding the
>   specific MBus entry to the 'ranges' property of the 'soc' node
>   in the board dts file.

The new approach looks good to me, thanks!

As Mark pointed out, you still need to document the fact that
the SPI controller can now have additional entries in its 'reg'
property, and it would be nice to reference the mbus binding
from the spi controller binding as a help for people that
want to enable the direct mode.

	Arnd



More information about the linux-arm-kernel mailing list