[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <166862968776.815892.2892622787261492597.robh@kernel.org>
Date: Wed, 16 Nov 2022 14:14:49 -0600
From: Rob Herring <robh@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
devicetree@...r.kernel.org, Amit Kucheria <amitk@...nel.org>,
linux-kernel@...r.kernel.org, Zhang Rui <rui.zhang@...el.com>,
"Rafael J. Wysocki" <rafael@...nel.org>, linux-pm@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: thermal: thermal-idle: Fix example paths
On Fri, 11 Nov 2022 10:27:29 -0600, Rob Herring wrote:
> The reference by path (&{/cpus/cpu@.../thermal-idle}) in the example causes
> an error with new version of dtc:
>
> FATAL ERROR: Can't generate fixup for reference to path &{/cpus/cpu@.../thermal-idle}
>
> This is because the examples are built as an overlay and absolute paths
> are not valid as references must be by label. The path was also not
> resolvable because, by default, examples are placed under 'example-N'
> nodes.
>
> As the example contains top-level nodes, the root node must be explicit for
> the example to be extracted as-is. This changes the indentation for the
> whole example, but the existing indentation is a mess of of random amounts.
> Clean this up to be 4 spaces everywhere.
>
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> The dtc update is in my tree, so I'd prefer to take this via the DT
> tree.
>
> .../bindings/thermal/thermal-idle.yaml | 154 +++++++++---------
> 1 file changed, 80 insertions(+), 74 deletions(-)
>
Applied, thanks!
Powered by blists - more mailing lists