[PATCH v2 05/10] dt-bindings: pinctrl: mediatek,pinctrl-mt6795: Fix interrupt count
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Oct 6 02:01:29 PDT 2022
Il 05/10/22 19:43, Yassine Oudjana ha scritto:
> From: Yassine Oudjana <y.oudjana at protonmail.com>
>
> The document currently states a maximum of 1 interrupt, but the DT
> has 2 specified causing a dtbs_check error. Change the limit to 2
> to pass the check and add a minimum limit.
>
> Signed-off-by: Yassine Oudjana <y.oudjana at protonmail.com>
> ---
> .../devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml
> index 73ae6e11410b..483fcdc60487 100644
> --- a/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml
> @@ -47,7 +47,8 @@ properties:
>
> interrupts:
> description: The interrupt outputs to sysirq.
> - maxItems: 1
> + minItems: 2
> + maxItems: 2
>
> # PIN CONFIGURATION NODES
> patternProperties:
Nice catch.
The right thing to do is...
interrupts:
description: The interrupt outputs to sysirq.
minItems: 1
- description: EINT interrupt
- description: EINT event_b interrupt
Cheers,
Angelo
More information about the Linux-mediatek
mailing list