Re: [Q] devicetree overlays
From: Enrico Weigelt, metux IT consult
Date: Fri Aug 07 2020 - 07:26:14 EST
On 16.04.20 16:46, Sven Van Asbroeck wrote:
Hello folks,
> My situation is this: I have hardware which consists of several modules.
> Knowledge about the type and location of these modules is located in an
> on-board eeprom.
I've got a somewhat similar use cases, but not necessarily on DT-native
platforms:
a) composite devices that are probed via PCI or DMI and just instantiate
a bunch of other (more generic) devices.
For example the APUv2/3/4 board driver: it eg. instanciates the
gpio-amd-fch driver first, and then binds specific gpio lines to
appropriate functions, eg. reset key (input), LEDs, ...
b) I2C devices behind an USB-based bus adapter.
In both cases it would be nice to have the actual device configuration
written as a DT snippet, which just needs to be loaded.
Let me know, if anybody has an idea how to do that.
--mtx
---
--
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287