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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 08:30:03 +0000 (10:30 +0200)
commitb02e6118e7b1a1fb087cd05474d14eadbf0561a7
treecd62d7621728a563eca54917f2cc997c894599c2
parent73a63a7c985eb8c1f6de85bba25ba0179b6d76a3
dt-bindings: thermal: rcar-gen3-thermal: Support five TSC nodes on r8a779a0

commit 9468e7b031876935230182628f8d5f216c071784 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml