apalis-tk1: remove non-essential power rails on boot
authorDominik Sliwa <dominik.sliwa@toradex.com>
Thu, 1 Aug 2019 08:06:39 +0000 (11:06 +0300)
committerTom Warren <twarren@nvidia.com>
Fri, 9 Aug 2019 17:01:35 +0000 (10:01 -0700)
commit5a20adf446bc248a8db02f6d262b43b14587812d
treedd269b621a6259036be15a1ba0581d572c7d8083
parentd415eab4f0abb3b9dd84c50c9ded0ff976a32a2f
apalis-tk1: remove non-essential power rails on boot

When mainline kernels reboot TK1 they use SW_RESET,
that reset mode does not reset PMIC. Some rails
need to be off for RAM Re-repair to work correctly.

Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/tegra124/cpu.c
board/toradex/apalis-tk1/as3722_init.c