]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/44x/fsp2: tvsense workaround for dd1
authorIvan Mikhaylov <ivan@de.ibm.com>
Fri, 1 Dec 2017 15:58:26 +0000 (18:58 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Dec 2017 02:03:33 +0000 (13:03 +1100)
commit1c274a2c5feede03bf6b7a2619319beb2ab3f2d8
treecf3063347a184c9b566b32c1812ad54d2d70d683
parentfb48694560ec2a0eae0d72c42149bb7ae573758b
powerpc/44x/fsp2: tvsense workaround for dd1

TVSENSE(temperature and voltage sensors) reset is blocked (clock gated)
by the POR default of the TVS sleep config bit. As a consequence,
TVSENSE will provide erratic sensor values, which may result in
spurious (parity) errors recorded in the CMU FIR and leading to
erroneous interrupt requests once the CMU interrupt is unmasked.
Purpose of this to set up CMU in working state in any cases even
in case of parity errors.

Reviewed-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Ivan Mikhaylov <ivan@de.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/44x/fsp2.c