However, we should carefully read the notice (*) in the manufacturer's
datasheet. For example, some interfaces may not be used in a connector. Or the
carrier board has power limitations for the module and we should limit this
during initialization. But this is the problem of people who will be adding the
code for these boards :) They need to take these specifics into account when
initializing the board.

I had the idea to re-use the devicetree alias mechanism to support
carriers with different modules. The modules would declare aliases
with the names from the COMe standard and the carriers would be able
to pick them up and add devices below these interfaces. This would
automatically catch incompatibilities because of the optional/alter-
native interfaces COMe allows (sconfig wouldn't be able to link them).

I guess it would be most useful for evaluation carriers, but probably
not much beyond. And as I never write complete support for them, I
didn't put any effort into it yet.

View Change

To view, visit change 42609. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic6b2f8994b1293ae6f5bda8c9cc95128ba0abf7a
Gerrit-Change-Number: 42609
Gerrit-PatchSet: 14
Gerrit-Owner: Maxim Polyakov <max.senia.poliak@gmail.com>
Gerrit-Reviewer: Andrey Petrov <andrey.petrov@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Lance Zhao
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: Werner Zeh <werner.zeh@siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Michael Niewöhner <foss@mniewoehner.de>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-Comment-Date: Sun, 27 Sep 2020 17:38:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment