Re: Using an external DTS binding for an out-of-tree driver
Henrik Brix Andersen
Hi Diogo,
toggle quoted messageShow quoted text
Please have a look at the documentation for creating custom devicetree definitions: https://docs.zephyrproject.org/latest/application/index.html#devicetree-definitions You can put the ‘dts’ folder in the application folder and it will automatically be picked up. A few examples in-tree of this: - https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/drivers/espi/dts - https://github.com/zephyrproject-rtos/zephyr/tree/master/tests/drivers/gpio/gpio_basic_api/dts - https://github.com/zephyrproject-rtos/zephyr/tree/master/tests/drivers/regulator/fixed/dts You can also do board-specific bindings: - https://github.com/zephyrproject-rtos/zephyr/tree/master/boards/arm/arty/dts Regards, Brix -- Henrik Brix Andersen
On 9 Nov 2020, at 17.18, diogo.correia@... wrote:
|
|