On Fri, Jun 04, 2021 at 02:28:08PM +0300, Mika Westerberg wrote: > Yes, exactly. With ACPI/DT the SPI core handles this after the SPI > master device is registered and that would result spi_nor_probe() to be > called for the children. However, with this one there is no ACPI node > for the controller (it is PCI enumerated) so there would need to be some > way to create that child device. In the old days that would be "platform > data" but that's pretty much frowned upon these days ;-) No, that's totally fine and normal - it's just like probing a MFD, we do it all the time for child devices.
Attachment:
signature.asc
Description: PGP signature