qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Introduce Xilinx ZynqMP CAN controller
@ 2020-04-23  0:56 Vikram Garhwal
  2020-04-23  0:56 ` [PATCH v3 1/4] hw/net/can: " Vikram Garhwal
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Vikram Garhwal @ 2020-04-23  0:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: Vikram Garhwal

 Example for single CAN:
      -object can-bus,id=canbus0 \
      -global driver=xlnx.zynqmp-can,property=canbus0,value=canbus0 \
      -object can-host-socketcan,id=socketcan0,if=vcan0,canbus=canbus0

 Example for connecting both CAN:
      -object can-bus,id=canbus0 -object can-bus,id=canbus1 \
      -global driver=xlnx.zynqmp-can,property=canbus0,value=canbus0 \
      -global driver=xlnx.zynqmp-can,property=canbus1,value=canbus1 \
      -object can-host-socketcan,id=socketcan0,if=vcan0,canbus=canbus0 \
      -object can-host-soc

Changelog:

v2 -> v3:
    Rectify the build issue.
    Rearrange the patch order.

v1 -> v2:
    Rename the CAN device state and address code style issues.
    Connect the CAN device to Xlnx-ZCU102 board.
    Add maintainer entry.
    Add QTEST for the CAN device.

Vikram Garhwal (4):
  hw/net/can: Introduce Xilinx ZynqMP CAN controller
  xlnx-zynqmp: Connect Xilinx ZynqMP CAN controller
  tests/qtest: Introduce tests for Xilinx ZyqnMP CAN controller
  MAINTAINERS: Add maintainer entry for Xilinx ZynqMP CAN

 MAINTAINERS                      |    7 +
 hw/arm/xlnx-zynqmp.c             |   26 +
 hw/net/can/Makefile.objs         |    1 +
 hw/net/can/xlnx-zynqmp-can.c     | 1113 ++++++++++++++++++++++++++++++++++++++
 include/hw/arm/xlnx-zynqmp.h     |    3 +
 include/hw/net/xlnx-zynqmp-can.h |   76 +++
 tests/qtest/Makefile.include     |    2 +
 tests/qtest/xlnx-can-test.c      |  367 +++++++++++++
 8 files changed, 1595 insertions(+)
 create mode 100644 hw/net/can/xlnx-zynqmp-can.c
 create mode 100644 include/hw/net/xlnx-zynqmp-can.h
 create mode 100644 tests/qtest/xlnx-can-test.c

--
2.7.4



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-04-30 13:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23  0:56 [PATCH v3 0/4] Introduce Xilinx ZynqMP CAN controller Vikram Garhwal
2020-04-23  0:56 ` [PATCH v3 1/4] hw/net/can: " Vikram Garhwal
2020-04-28 16:28   ` Edgar E. Iglesias
2020-04-28 17:35     ` Vikram Garhwal
2020-04-30 13:16       ` Edgar E. Iglesias
2020-04-28 19:20   ` Francisco Iglesias
2020-04-29 17:27     ` Vikram Garhwal
2020-04-23  0:56 ` [PATCH v3 2/4] xlnx-zynqmp: Connect " Vikram Garhwal
2020-04-28 16:33   ` Edgar E. Iglesias
2020-04-28 18:56   ` Francisco Iglesias
2020-04-23  0:56 ` [PATCH v3 3/4] tests/qtest: Introduce tests for Xilinx ZyqnMP " Vikram Garhwal
2020-04-23  0:56 ` [PATCH v3 4/4] MAINTAINERS: Add maintainer entry for Xilinx ZynqMP CAN Vikram Garhwal
2020-04-28 16:37   ` Edgar E. Iglesias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).