[PATCH 4/4] ARM: imx: Update spi_imx platform data to reflect current state
Trent Piepho
tpiepho at impinj.com
Wed Oct 18 10:50:30 PDT 2017
On Wed, 2017-10-18 at 10:17 +0800, Shawn Guo wrote:
> On Fri, Oct 13, 2017 at 12:54:10PM -0700, Trent Piepho wrote:
> >
> > If a board uses all native chip selects, then it's not necessary to
> > specify a chip select array at all, as all native is the default (this is
> > how device-tree configured SPI masters work too). Most of the spi-imx
> > platform data users have their chip select arrays removed by this patch.
> >
> >
> Does this patch have any dependency on others in this series, or can it
> be sent via arm-soc tree independently?
It needs patch 1 and 3 in the series. Currently supplying cs gpios is
mandatory for both platform data and DT based systems using spi-imx.
The latter is a bug, as the DT binding clearly makes cs-gpios optional
and other drivers do not require it. I figured I might as well clean
up the platform data while I fixed that bug and came across the
imx31moboard bug in that process.
More information about the linux-arm-kernel
mailing list