Re: [PATCH] devicetree - document using aliases to set spi bus number.

From: Mark Brown
Date: Wed May 25 2016 - 14:02:54 EST

On Wed, May 25, 2016 at 04:59:50PM +0100, Mark Rutland wrote:

> e.g. stating that this describes a well-defined system-specific bus
> number as documented in a manual, with a note regarding Linux behaviour
> is better simply describing the Linux behaviour.

If it means anything it's really a system specific controller number but
even there it's at least as likely that the system will provide a
textual description as a number (eg, SPI_FLASH) and if it's supposed to
map onto something that can be abstracted between systems there's no
guarantee that if there's more than one SPI device to consider they'll
be provided by the same arrangement of controllers and chip selects on
different boards (which seems to be a use case here) so the spidev names
would still vary.

Attachment: signature.asc
Description: PGP signature