]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/misc/zynq_slcr: Add logic for DCI configuration
authorYannickV <Y.Vossen@beckhoff.com>
Mon, 18 May 2026 07:33:52 +0000 (09:33 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 28 May 2026 13:18:24 +0000 (14:18 +0100)
commitc8ba862dbfdc0f4006ba675d5568f36f568a05cd
treefe38adfbd5f0aaaa6db521e2a674ff4ba9550e22
parentdd0f400125b420dce745342616fa240ad9f46412
hw/misc/zynq_slcr: Add logic for DCI configuration

The registers for the digitally controlled impedance (DCI) clock are
part of the system level control registers (SLCR). The DONE bit in
the status register indicates a successfull DCI calibration. An
description of the calibration process can be found here:
https://docs.amd.com/r/en-US/ug585-zynq-7000-SoC-TRM/DDR-IOB-Impedance-Calibration

The DCI control register and status register have been added. As soon
as the ENABLE and RESET bit are set, the RESET bit has also been toggled
to 0 before and the UPDATE_CONTROL is not set, the DONE bit in the status
register is set. If these bits change the DONE bit is reset. Note that the
option bits are not taken into consideration.

Signed-off-by: YannickV <Y.Vossen@beckhoff.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Message-id: 20260518073401.11279-8-corvin.koehne@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/zynq_slcr.c