[PATCH] dt-bindings: remoteproc: mtk,scp: Allow multiple memory regions

Krzysztof Kozlowski krzk at kernel.org
Wed May 6 06:36:39 PDT 2026


On 06/05/2026 15:31, Arnab Layek wrote:
> Update the memory-region property to support 1-2 reserved memory
> regions instead of exactly one. This is needed for newer MediaTek
> SoCs like MT8188 which require additional memory regions for SCP
> operation.

So where is the compatible? Already there?

> 
> Tested on MT8188 Geralt platform.

You cannot test binding.

> 
> Signed-off-by: Arnab Layek <arnab.layek at mediatek.com>
> ---
>  .../devicetree/bindings/remoteproc/mtk,scp.yaml        | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> index bdbb12118da4..9f6dca94ff40 100644
> --- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> @@ -55,7 +55,10 @@ properties:
>        initializing SCP.
>  
>    memory-region:
> -    maxItems: 1
> +    description:
> +      Phandle to the reserved memory regions.
> +    minItems: 1
> +    maxItems: 2

Just like I sent some patches long time ago for iommus Mediatek media
bindings - fix it the same way. Pity the patches were not picked up,
even though sending twice, but that does not give you easier way to get
incorrect code in. You just multiple poor patterns...

Best regards,
Krzysztof



More information about the Linux-mediatek mailing list