linux/drivers/soc
AngeloGioacchino Del Regno 40d59dc92e
soc: mediatek: mtk-svs: Subtract offset from regs_v2 to avoid conflict
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>
2023-12-11 11:36:12 +01:00
..
amlogic pmdomain: amlogic: Move Kconfig options to the pmdomain subsystem 2023-09-20 10:08:45 +02:00
apple pmdomain: apple: Move Kconfig option to the pmdomain subsystem 2023-09-20 10:08:49 +02:00
aspeed soc/aspeed: Convert to platform remove callback returning void 2023-10-13 15:04:12 +10:30
atmel soc: microchip: Explicitly include correct DT includes 2023-07-29 16:54:29 +03:00
bcm SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
canaan soc: canaan: Make K210_SYSCTL depend on CLK_K210 2023-03-15 14:22:53 +00:00
dove soc: dove: add missing of_node_put 2023-09-20 11:28:02 +02:00
fsl powerpc updates for 6.7 2023-11-03 10:07:39 -10:00
fujitsu soc/fujitsu: a64fx-diag: Convert to platform remove callback returning void 2023-10-14 23:27:01 +02:00
gemini
hisilicon SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
imx - Move Kconfig files into the pmdomain subsystem 2023-11-01 13:09:46 -10:00
ixp4xx soc/ixp4xx: ixp4xx-qmgr: Convert to platform remove callback returning void 2023-10-14 23:27:13 +02:00
lantiq
litex soc/litex: litex_soc_ctrl: Convert to platform remove callback returning void 2023-10-14 23:27:17 +02:00
loongson Convert drivers/soc to struct platform_driver::remove_new() 2023-10-16 22:51:31 +02:00
mediatek soc: mediatek: mtk-svs: Subtract offset from regs_v2 to avoid conflict 2023-12-11 11:36:12 +01:00
microchip soc/microchip: mpfs-sys-controller: Convert to platform remove callback returning void 2023-09-25 11:17:09 +01:00
nuvoton soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
pxa soc/pxa: ssp: Convert to platform remove callback returning void 2023-10-14 23:27:34 +02:00
qcom SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
renesas SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
rockchip SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
samsung SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
sifive soc: sifive: replace SOC_FOO with ARCH_FOO 2023-09-18 10:33:32 +01:00
sunxi pmdomain: sunxi: Move Kconfig option to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
tegra SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
ti SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
ux500 ARM: ux500: do not directly dereference __iomem 2022-11-08 21:13:56 +01:00
versatile
xilinx pmdomain: xilinx: Move Kconfig option to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
Kconfig pmdomain: starfive: Move Kconfig file to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
Makefile HiSilicon driver updates for v6.6 2023-08-12 12:10:46 +02:00