In Linux device tree files (DTS), how does the compatible entry work if more than one option is given? It seems that this is not a choice between these entries, but that layered devices are also possible (p.e. I have a line like compatible = "vendor,controller-uart", "vendor, controller-serial" that seems to associate both driver controller-serial and controller-uart (where in terms of code, controller-serial actually calls stuff from controller-uart).
Where is this concept explained? I could not find this explained in the general device tree documentation.
Answering my own question (from information in this document): this was a misunderstanding on my part. It is actually a choice, and the usage of the second device type specified under compatible from within the code was an implementation detail of the driver in question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With