Re: [PATCH] dt-bindings: ignore paths outside kernel for DT_SCHEMA_FILES

From: André Draszik
Date: Mon Jan 15 2024 - 04:40:45 EST


Hi,

On Mon, 2024-01-15 at 10:20 +0100, Michal Simek wrote:
> This patch is causing issue for me. Look at log below.
> I am running it directly on the latest linux-next/master.
>
> Thanks,
> Michal
>
> $ make DT_SCHEMA_FILES="Documentation/devicetree/bindings/arm/arm,cci-400.yaml"
> dt_binding_check

It'll work if you drop the 'Documentation/devicetree/bindings' part from the path, as
it is implied since bindings can only be in that directory anyway:

make DT_SCHEMA_FILES="arm/arm,cci-400.yaml" dt_binding_check
make DT_SCHEMA_FILES="arm,cci-400.yaml" dt_binding_check

both work.

Cheers,
Andre'