arm64: zynqmp: Writing correct value to ANALOG_BUS
authorAdrian Fiergolski <adrian.fiergolski@fastree3d.com>
Tue, 8 Jun 2021 10:37:23 +0000 (12:37 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 11 Jun 2021 07:24:58 +0000 (09:24 +0200)
commit3414712ba8a82d6566e00645da8d37ea085a9f7c
treed673f70707b65bb9ade3c1b916b2f65b348be6aa
parente3b64beda5dd1a6b6bedfd1fe0e50be1ddea7044
arm64: zynqmp: Writing correct value to ANALOG_BUS

The default register configuration after powerup for PSSYSMON_ANALOG_BUS
register is incorrect. Hence, fix this in SPL by writing correct fixed
value. It follows UG1085 chapter 'PS SYSMON Analog_Bus' and reflects commit
sw_apps:zynq ("056ca65d44549ce27f716d423e8dfdefeee7440c")
in Xilinx:embeddedsw[1].

[1] https://github.com/Xilinx/embeddedsw

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynqmp/include/mach/hardware.h
board/xilinx/zynqmp/zynqmp.c