usb: Add versal-usb2-ctrl-regs module
authorSai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Thu, 3 Dec 2020 19:22:34 +0000 (00:52 +0530)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Dec 2020 12:04:30 +0000 (12:04 +0000)
commit50e76a73de1f7fb40fd84df3d5a98067c10cc097
treefab5b25cd7f22817857234c0765804153a611626
parent311ca11e3879ba3743cc8ea8e42c12401c5098a9
usb: Add versal-usb2-ctrl-regs module

This module emulates control registers of versal usb2 controller, this is added
just to make guest happy. In general this module would control the phy-reset
signal from usb controller, data coherency of the transactions, signals
the host system errors received from controller.

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Signed-off-by: Vikram Garhwal <fnu.vikram@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1607023357-5096-2-git-send-email-sai.pavan.boddu@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/usb/meson.build
hw/usb/xlnx-versal-usb2-ctrl-regs.c [new file with mode: 0644]
include/hw/usb/xlnx-versal-usb2-ctrl-regs.h [new file with mode: 0644]