Re: [PATCH 5/7] spi: zynqmp-gqspi: Split the bus
From: Mark Brown
Date: Tue Jan 21 2025 - 11:01:21 EST
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?
Attachment:
signature.asc
Description: PGP signature