[PATCH] Revert "thermal: mediatek: fix register index error"

Frank Wunderlich frank-w at public-files.de
Sun Jul 12 13:16:43 EDT 2020



Am 12. Juli 2020 18:55:41 MESZ schrieb Matthias Brugger <matthias.bgg at gmail.com>:
>On 10/07/2020 15:58, Matthias Brugger wrote:
>Even more interesting, with and without the revert the
>thermal 
>sensor returns always zero, so it seems it never actually worked.

The thermal driver works on bananapi-r2 till 5.6. Something in 5.7.0 breaks it, but it's not caused by the reverted commit or the revert...neither the commit nor the revert has any effect on r2 (no crash/error/functionality change).

Additionally there is no difference in mtk-thermal.c between working 5.6 and non-working 5.7. Thermal-merge in 5.7-rc1 shows also nothing suspicious and dts(i) is also same in relevant parts.

Maybe anyone of the recipients have an idea about the broken mt7623/mt2701 functionality.
regards Frank



More information about the Linux-mediatek mailing list