Re: [PATCH v5 3/9] spi: support controllers with multiple data lanes

Mark Brown
2026-01-12T19:11:32Z

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

On Mon, Jan 12, 2026 at 09:07:17PM +0200, Andy Shevchenko wrote:
> On Mon, Jan 12, 2026 at 11:45:21AM -0600, David Lechner wrote:

> > + /* Multi-lane SPI controller support. */
> > + u32 tx_lane_map[SPI_DEVICE_DATA_LANE_CNT_MAX];
> > + u32 num_tx_lanes;
> > + u32 rx_lane_map[SPI_DEVICE_DATA_LANE_CNT_MAX];
> > + u32 num_rx_lanes;

> This adds 72 bytes in _each_ instance of spi_device on the platforms that do
> not use the feature and might not ever use it. Can we move to the pointer
> and allocate the mentioned fields separately, please?

Do we have real systems where we have enough SPI devices for anyone to
care?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]