Re: [PATCH 5/7] spi: fsi: Implement restricted size for certain controllers

From: Mark Brown
Date: Thu Aug 20 2020 - 13:19:41 EST


On Thu, Aug 20, 2020 at 12:02:26PM -0500, Eddie James wrote:
> Some of the FSI-attached SPI controllers cannot use the loop command in
> programming the sequencer due to security requirements. Add a boolean
> devicetree property that describes this condition and restrict the
> size for these controllers. Also, add more transfers directly in the
> sequence up to the length of the sequence register.

If there is one difference between implementations of the controller
there are likely to be more - why have a property here rather than use
compatible strings for the different hardware variants? Compatible
strings mean that as more differences are discovered existing DTs
continue to work.

Attachment: signature.asc
Description: PGP signature