Hello,
my project has custom DTS bindings in ./dts/bindings and it compiles and works fine. If I open the DTS overlay file that uses the custom DTS bindings, the compatible node is marked as a warning. See my attached screenshot.
Hello,
my project has custom DTS bindings in ./dts/bindings and it compiles and works fine. If I open the DTS overlay file that uses the custom DTS bindings, the compatible node is marked as a warning. See my attached screenshot.
I already tried to add
Hi lexologe,
The warning doesn't necessarily mean that there is anything wrong. For example, the VS Code extension correctly handled .yaml files but not .yml files, but the binding was still included in the build and worked as intended. See this ticket related to the YAML file extension variations.
I can see that you already have the .yaml extension for your dts bindings, so the source for your warning is different than the file extension.
Can you confirm that the "compatible: <your-vendor,your-device>-buzzers" entry is identical for the overlay and the YAML?
To cover all my bases: follow the Devicetree bindings guide to ensure that the bindings are configured according to the documentation.
Best regards,
Maria