Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: pinctrl: mediatek,pinctrl-mt6795: Fix interrupt count

The document currently states a maximum of 1 interrupt, but the DT
has 2 specified causing a dtbs_check error. Replace the maximum limit
with a minimum and add per-interrupt descriptions to pass the check.

Fixes: 81557a71564a ("dt-bindings: pinctrl: Add MediaTek MT6795 pinctrl bindings")
Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221028153505.23741-6-y.oudjana@protonmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Yassine Oudjana and committed by
Linus Walleij
e7000166 6c873654

+4 -1
+4 -1
Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml
··· 47 47 48 48 interrupts: 49 49 description: The interrupt outputs to sysirq. 50 - maxItems: 1 50 + minItems: 1 51 + items: 52 + - description: EINT interrupt 53 + - description: EINT event_b interrupt 51 54 52 55 # PIN CONFIGURATION NODES 53 56 patternProperties: