Re: Using an external DTS binding for an out-of-tree driver


Kumar Gala
 

On Nov 9, 2020, at 10:18 AM, diogo.correia@fraunhofer.pt wrote:

[Edited Message Follows]

Hi!

I'm developing an out-of-tree driver for Zephyr, that I would like to configure using the board overlay file (just like a normal driver in Zephyr). Is there a way to add an external DTS binding file into the project? Or do I need to modify the zephyr's source code (by adding the .yaml into /dts/bindings)?

Kind regards,
Diogo Correia
Have you looked at:

https://docs.zephyrproject.org/latest/application/index.html#custom-board-devicetree-and-soc-definitions
https://docs.zephyrproject.org/latest/application/index.html#devicetree-definitions

- k

Join users@lists.zephyrproject.org to automatically receive all group messages.