All of lore.kernel.org
 help / color / mirror / Atom feed
* [LINUX PATCH RFC v2] Add new driver for Xilinx AXI Traffic Generator IP
@ 2013-07-20 14:59 ` Srikanth Thokala
  0 siblings, 0 replies; 2+ messages in thread
From: Srikanth Thokala @ 2013-07-20 14:59 UTC (permalink / raw)
  To: arnd, gregkh, rob.herring, linux-kernel, devicetree-discuss,
	grant.likely
  Cc: Michal Simek, Srikanth Thokala

Hi All,

This is the driver for Xilinx AXI Traffic Generator IP. The
AXI Traffic Generator IP is a core that stresses the AXI4
interconnect and other AXI4 peripherals in the system.
It generates a wide variety of AXI4 transactions based on
the core programming.

For more details of this IP, please refer:
http://www.xilinx.com/support/documentation/ip_documentation/
axi_traffic_gen/v1_0/pg125-axi-traffic-gen.pdf

The architecture of the core is broadly separated into a master
and slave block, each of which contains the write block and
read block. Other support functions are provided by the
control registers and three internal RAMs - Master RAM (8KB),
Command RAM(8KB), Parameter RAM(2KB). The initialisation sequence
includes programming Command RAM with commands, data into
Master RAM (optional Parameter RAM programming) and then
enable master logic using control register interface.
This sequence generates traffic to cores connected in the
h/w design. It can be interconnect or cores attached via the
interconnect.  The commands programmed selects the specific
core to stress.

The driver for this IP is designed to be a module with
sysfs interface.  All the control registers and internal
RAMs can be accessed through sysfs interface. Internal
RAMs are designed to be sysfs files with BIN attributes.

Is sysfs the proper interface for this driver? If you
guys feel there is an other framework where my driver
perfectly fits into, please suggest and provide your
inputs.

Thanks,
Srikanth.

Srikanth Thokala (1):
  trafgen: xilinx: add axi traffic generator driver

 .../devicetree/bindings/misc/xilinx-axitrafgen.txt |   21 +
 drivers/misc/Kconfig                               |   13 +
 drivers/misc/Makefile                              |    1 +
 drivers/misc/xilinx_trafgen.c                      | 1394 ++++++++++++++++++++
 4 files changed, 1429 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/misc/xilinx-axitrafgen.txt
 create mode 100644 drivers/misc/xilinx_trafgen.c

-- 
1.7.4



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

* [LINUX PATCH RFC v2] Add new driver for Xilinx AXI Traffic Generator IP
@ 2013-07-20 14:59 ` Srikanth Thokala
  0 siblings, 0 replies; 2+ messages in thread
From: Srikanth Thokala @ 2013-07-20 14:59 UTC (permalink / raw)
  To: arnd, gregkh, rob.herring, linux-kernel, devicetree-discuss,
	grant.likely
  Cc: Michal Simek, Srikanth Thokala

Hi All,

This is the driver for Xilinx AXI Traffic Generator IP. The
AXI Traffic Generator IP is a core that stresses the AXI4
interconnect and other AXI4 peripherals in the system.
It generates a wide variety of AXI4 transactions based on
the core programming.

For more details of this IP, please refer:
http://www.xilinx.com/support/documentation/ip_documentation/
axi_traffic_gen/v1_0/pg125-axi-traffic-gen.pdf

The architecture of the core is broadly separated into a master
and slave block, each of which contains the write block and
read block. Other support functions are provided by the
control registers and three internal RAMs - Master RAM (8KB),
Command RAM(8KB), Parameter RAM(2KB). The initialisation sequence
includes programming Command RAM with commands, data into
Master RAM (optional Parameter RAM programming) and then
enable master logic using control register interface.
This sequence generates traffic to cores connected in the
h/w design. It can be interconnect or cores attached via the
interconnect.  The commands programmed selects the specific
core to stress.

The driver for this IP is designed to be a module with
sysfs interface.  All the control registers and internal
RAMs can be accessed through sysfs interface. Internal
RAMs are designed to be sysfs files with BIN attributes.

Is sysfs the proper interface for this driver? If you
guys feel there is an other framework where my driver
perfectly fits into, please suggest and provide your
inputs.

Thanks,
Srikanth.

Srikanth Thokala (1):
  trafgen: xilinx: add axi traffic generator driver

 .../devicetree/bindings/misc/xilinx-axitrafgen.txt |   21 +
 drivers/misc/Kconfig                               |   13 +
 drivers/misc/Makefile                              |    1 +
 drivers/misc/xilinx_trafgen.c                      | 1394 ++++++++++++++++++++
 4 files changed, 1429 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/misc/xilinx-axitrafgen.txt
 create mode 100644 drivers/misc/xilinx_trafgen.c

-- 
1.7.4

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

end of thread, other threads:[~2013-07-20 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-20 14:59 [LINUX PATCH RFC v2] Add new driver for Xilinx AXI Traffic Generator IP Srikanth Thokala
2013-07-20 14:59 ` Srikanth Thokala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.