dt-bindings: thermal: qoriq-thermal: Adjust fsl,tmu-range min/maxItems
authorFabio Estevam <festevam@denx.de>
Thu, 4 Jan 2024 12:49:52 +0000 (09:49 -0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 11 Mar 2024 16:14:46 +0000 (17:14 +0100)
commitdd01475a03b22a8393ff9ac7f43d67a1a608d2cf
tree769be1c95333effd7f7d781f0d0e61c465b00d6b
parentf492d8220f0cd2d773b75ad63749e9b20bd23b6c
dt-bindings: thermal: qoriq-thermal: Adjust fsl,tmu-range min/maxItems

The number of fsl,tmu-range entries vary among the several NXP SoCs.

- lx2160a has two fsl,tmu-range entries  (fsl,qoriq-tmu compatible)
- imx8mq has four fsl,tmu-range entries. (fsl,imx8mq-tmu compatible)
- imx93 has seven fsl,tmu-range entries. (fsl,qoriq-tmu compatible)

Change minItems and maxItems accordingly.

This fixes the following schema warning:

imx93-11x11-evk.dtb: tmu@44482000: fsl,tmu-range: 'oneOf' conditional failed, one must be fixed:
        [2147483866214748388121474839062147483946214748400621474840712147484086] is too long

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240104124952.1975160-1-festevam@gmail.com
Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml