dt-bindings: soc: imx: fsl,imx-anatop: Fix the i.MX7 irq number
authorFabio Estevam <festevam@denx.de>
Fri, 25 Oct 2024 00:41:58 +0000 (21:41 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 2 Nov 2024 03:20:58 +0000 (11:20 +0800)
commit644cb51e923ef296aef356dd6a5485c9546b486f
tree532cf9d29248e75c03b081cf738c6eb67b2f5f04
parent9f592d1b49067f7f57d41fa4f0b8b72ff513ba83
dt-bindings: soc: imx: fsl,imx-anatop: Fix the i.MX7 irq number

Unlike the other i.MX devices, i.MX7 has only two anatop interrupts.

Add logic that contemplates such case to fix the following
dt-schema warning:

anatop@30360000: interrupts: [[0, 49, 4], [0, 51, 4]] is too short

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Documentation/devicetree/bindings/soc/imx/fsl,imx-anatop.yaml