]> git.baikalelectronics.ru Git - kernel.git/commit
soc: fsl: handle RCPM errata A-008646 on SoC LS1021A
authorBiwen Li <biwen.li@nxp.com>
Mon, 2 Nov 2020 07:26:50 +0000 (15:26 +0800)
committerLi Yang <leoyang.li@nxp.com>
Tue, 24 Nov 2020 01:16:02 +0000 (19:16 -0600)
commit9a422fe95cd178ecd85d0dd44e3ce7324f8bf677
tree1783fd39d2e482f08c0c7506aa543b8fa82c5935
parent0dcc105e6fd27b6f01807cd7e39a63c1ca53f5e8
soc: fsl: handle RCPM errata A-008646 on SoC LS1021A

Hardware issue:
- Reading register RCPM_IPPDEXPCR1 always return zero, this causes
  system firmware could not get correct information and wrongly do
  clock gating for all wakeup source IP during system suspend. Then
  those IPs will never get chance to wake system.

Workaround:
- Copy register RCPM_IPPDEXPCR1's setting to register SCFG_SPARECR8
  to allow system firmware's psci method read it and do things accordingly.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/rcpm.c