Re: [PATCH v2 1/2] dt-bindings: gpu: mali-valhall: make mali-supply optional
From: Boris Brezillon
Date: Thu Oct 02 2025 - 02:39:08 EST
On Sun, 28 Sep 2025 17:03:33 +0800
Rain Yang <jiyu.yang@xxxxxxxxxxx> wrote:
> From: Rain Yang <jiyu.yang@xxxxxxx>
>
> Not all platforms require the mali-supply regulator. This change removes
> it from the required list in the binding schema, and make mali-supply
> required for rk3588 only.
>
> Signed-off-by: Rain Yang <jiyu.yang@xxxxxxx>
Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/gpu/arm,mali-valhall-csf.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml
> index b220cbd5362f..ef9791d8ed95 100644
> --- a/Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml
> +++ b/Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml
> @@ -92,7 +92,6 @@ required:
> - interrupts
> - interrupt-names
> - clocks
> - - mali-supply
>
> additionalProperties: false
>
> @@ -109,6 +108,8 @@ allOf:
> power-domains:
> maxItems: 1
> power-domain-names: false
> + required:
> + - mali-supply
>
> examples:
> - |