[PATCH v2 3/5] dt-bindings: remoteproc: mediatek: Drop redundant maxItems for mt8192/95
Rob Herring
robh at kernel.org
Wed Apr 23 08:51:44 PDT 2025
On Mon, Apr 21, 2025 at 04:49:06PM -0400, Nícolas F. R. A. Prado wrote:
> reg's maxItems is already defined as 3 in the base schema. Remove the
> redundant assignment in the if branch for mt8192/mt8195.
>
> Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
> ---
> Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> index 04348cfcb0424dc78ff1ddd77665285a052925e9..82c7edd5a2fbb8610315881a4033a3a43198162e 100644
> --- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
> @@ -187,7 +187,6 @@ allOf:
> properties:
> reg:
> minItems: 3
> - maxItems: 3
Sigh. I would squash this as using maxItems was the error in the first
place. But either way:
Reviewed-by: Rob Herring (Arm) <robh at kernel.org>
More information about the Linux-mediatek
mailing list