On Mon, Jun 27, 2016 at 09:40:38PM +0200, Michal Suchanek wrote: > No. It's for buses that have some inherent identification. It's not for > 1) generate random compatible and stick it in device tree Don't generate a random compatible, generate one that accurately describes your hardware. > also AFAIK new_id is not automagic and not all buses have it. Yes, this is the bit I've been trying to prompt you to implement rather than going off doing something broken. > So it would have to be implemented on SPI. How? On PCI new_id is a PCI > id. What is it on SPI? ACPI PnP id? DT compatible? How do you tell? Those sound like sensible ideas. > And why when the bus does not even have IDs? Identifiers are just a useful way of describing what the hardware is, the fact that some of them can be read back from hardware isn't terribly important here.
Attachment:
signature.asc
Description: PGP signature