]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
thermal/drivers/k3_j72xx_bandgap: Map fuse_base only for erratum workaround
authorBryan Brattlof <bb@ti.com>
Mon, 31 Oct 2022 23:26:55 +0000 (18:26 -0500)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 14 Dec 2022 14:25:41 +0000 (15:25 +0100)
commit366444ebe7e2e1c987c6a07551f06db4b5b7c0ad
tree95e3cc8da1f8e4a7db48b4e9036a52a85326b81f
parent156f0e2fda420c4a4a7b244a909df04086039bd6
thermal/drivers/k3_j72xx_bandgap: Map fuse_base only for erratum workaround

Some of TI's J721E SoCs require a software trimming procedure for the
temperature monitors to function properly. To determine if a particular
J721E is not affected by this erratum, both bits in the WKUP_SPARE_FUSE0
region must be set. Other SoCs, not affected by this erratum, will not
need this region.

Map the 'fuse_base' region only when the erratum fix is needed.

Signed-off-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221031232702.10339-5-bb@ti.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
drivers/thermal/k3_j72xx_bandgap.c