dt-bindings: thermal: rcar-gen3-thermal: Support five TSC nodes on r8a779a0
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 10 Mar 2021 11:07:16 +0000 (12:07 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 10 Mar 2021 13:19:04 +0000 (14:19 +0100)
commit9468e7b031876935230182628f8d5f216c071784
treef846d942c249ecabe9a0dfbfd3385c994e16f808
parent45c7eaeb29d67224db4ba935deb575586a1fda09
dt-bindings: thermal: rcar-gen3-thermal: Support five TSC nodes on r8a779a0

When adding support for V3U (r8a779a0) it was incorrectly recorded it
supports four nodes, while in fact it supports five. The fifth node is
named TSC0 and breaks the existing naming schema starting at 1. Work
around this by separately defining the reg property for V3U and others.

Restore the maximum number of nodes to three for other compatibles as
it was before erroneously increasing it for V3U.

Fixes: d7fdfb6541f3be88 ("dt-bindings: thermal: rcar-gen3-thermal: Add r8a779a0 support")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210310110716.3297544-1-niklas.soderlund+renesas@ragnatech.se
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml