]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
thermal: Compatible strings for bcm2836, bcm2837
authorPhil Elwell <phil@raspberrypi.org>
Mon, 13 Mar 2017 12:30:37 +0000 (12:30 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:56 +0000 (12:07 +0200)
commit00145ac0aafaa602094959f6f812197813f3618c
treedcaca9fda9d26618822106e0f1c6ca0a399f691d
parentd77841c6b16fab021f1005c09369a16b474c03b4
thermal: Compatible strings for bcm2836, bcm2837

The upstream dt-bindings documentation for bcm2835-thermal (which
exists even though the driver isn't upstreamed) says to use
dedicated compatible strings on bcm2836 and bcm2837, even though
the downstream driver doesn't support them. The Pi2 DTB uses
"brcm,bcm2836-thermal", so the driver doesn't load. The Pi3 DTB
doesn't override the base value, but the arm64 Pi3 support uses "brcm,bcm2837-thermal".

Solve the documentation problem by adding "brcm,bcm2836-thermal" and
"brcm,bcm2837-thermal" as alternative compatible strings for the
bcm2835-thermal driver.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/thermal/bcm2835-thermal.c