40d59dc92e
The svs_regs_v2 array of registers was offsetted by 0xc00 because the SVS node was supposed to have the same iostart as the thermal sensors. That's wrong for two reasons: 1. Two different devices cannot have the same iostart in devicetree, as those would technically be the same device otherwise; and 2. SVS and Thermal Sensor (be it LVTS or AUXADC thermal) are not the same IP, and those two do obviously have a different iospace. Even though there already are users of this register array, the only one that declares a devicetree node for SVS is MT8183 - but it never actually worked because the "tzts1" thermal zone missed thermal trips, hence this driver's probe always failed on that SoC. Knowing this - it is safe to say that keeping compatibility with older device trees is pointless, hence simply subtract the 0xc00 offset from the register offset array. Link: https://lore.kernel.org/r/20231121125044.78642-3-angelogioacchino.delregno@collabora.com Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mt8167-mmsys.h | ||
mt8173-mmsys.h | ||
mt8183-mmsys.h | ||
mt8186-mmsys.h | ||
mt8188-mmsys.h | ||
mt8192-mmsys.h | ||
mt8195-mmsys.h | ||
mt8365-mmsys.h | ||
mtk-cmdq-helper.c | ||
mtk-devapc.c | ||
mtk-infracfg.c | ||
mtk-mmsys.c | ||
mtk-mmsys.h | ||
mtk-mutex.c | ||
mtk-pmic-wrap.c | ||
mtk-regulator-coupler.c | ||
mtk-svs.c |