[PATCH 5/7] spi: zynqmp-gqspi: Split the bus

Mark Brown broonie at kernel.org
Tue Jan 21 08:01:09 PST 2025


On Tue, Jan 21, 2025 at 10:53:53AM -0500, Sean Anderson wrote:
> On 1/21/25 08:19, Mahapatra, Amit Kumar wrote:

> > IMHO, restricting users to fixed names is not ideal. A better approach would be to 
> > introduce a Device Tree (DT) property for the bus number and select the bus 
> > accordingly.

> Why? It's not an artificial restriction; it reflects the hardware. And this is how
> SPI busses are typically represented. If you have two SPI busses, there should be
> two devicetree nodes.

Perhaps the thing is more that the buses are named instead of numbered?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250121/54c8092a/attachment.sig>


More information about the linux-arm-kernel mailing list