Re: DT overlay syntax question

[email protected] (Michael van Elst) Sun, 20 Jul 2025 12:01:58 -0000 (UTC)
Newsgroups gmane.os.netbsd.ports.arm
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (Vincent DEFERT) writes:

>#include <dt-bindings/clock/gxbb-clkc.h>

That's cpp syntax (i.e. you need to pipe the file through cpp
before compiling).

dtc however also should understand something like:

/include/ "clock/gxbb-clkc.h"

when you pass the dt-bindings directory path to dtc to search
for include files.