]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 18 Jun 2021 09:07:37 +0000 (11:07 +0200)
commit98fdb3952c645830abc2511a08f56831282c56fc
treee6782a62ea49ef732e16180f8bf0b907e4fbbf24
parent90268e8764b13ab9a169f996879af59d0dda277c
dt-bindings: thermal: rcar-gen3-thermal: Support five TSC nodes on r8a779a0

BugLink: https://bugs.launchpad.net/bugs/1931292
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml