Re: [PATCH v2 1/2] dt-bindings: cache: l2c2x0: a disabled node is left to the firmware
From: Rob Herring
Date: Fri Nov 13 2026 - 10:38:08 EST
On Thu, Nov 12, 2026 at 08:29:52AM +0100, Agustin Santiago Isasmendi wrote:
> l2x0_of_init() is about to honour status = "disabled" on the L2 cache
> node by leaving the controller alone. Say that the firmware must then
> leave the cache disabled: the kernel does not check or change its state.
>
> Assisted-by: LLM
> Signed-off-by: Agustin Santiago Isasmendi <isasmendi.agus@xxxxxxxxx>
> ---
> Documentation/devicetree/bindings/cache/l2c2x0.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/cache/l2c2x0.yaml b/Documentation/devicetree/bindings/cache/l2c2x0.yaml
> index ee604117ffb3..15b5d8c1ebdf 100644
> --- a/Documentation/devicetree/bindings/cache/l2c2x0.yaml
> +++ b/Documentation/devicetree/bindings/cache/l2c2x0.yaml
> @@ -24,6 +24,9 @@ description: |+
> early secure boot code. Thus no need to deal with their configuration
> in the kernel at all.
>
> + Note 2: A node with status = "disabled" is not touched by the kernel at
> + all: the firmware must leave the cache disabled.
> +
No need for this. That is the expectation of any disabled status. The OS
should treat a disabled node like it is not there. CPU nodes are an
exception.
Rob