linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/4] spi: spidev_test: Added functionalities
@ 2015-03-10 20:12 Adrian Remonda
  2015-03-10 20:12 ` [PATCHv2 1/4] Cleaned hexadecimal dump Adrian Remonda
  0 siblings, 1 reply; 9+ messages in thread
From: Adrian Remonda @ 2015-03-10 20:12 UTC (permalink / raw)
  Cc: adrianremonda, broonie, corbet, linux-spi, linux-doc,
	linux-kernel

This is the corrected version of a patch series that adds functionalities 
to the spidev_test tool found in Documentation/spi/spidev_test.c.

- Cleaned hexadecimal dump
- Added verbose mode to see the transmitting sequence
- Added input buffer from the terminal. Now it is possible to send
  string and hexadecimal data as an input parameter:

  Example that shows verbose mode and a sending sequence:

  root@microZed:~# ./a.out -D /dev/spidev32766.1 -p "\x23ab1" -v
  spi mode: 0x0
  bits per word: 8
  max speed: 500000 Hz (500 KHz)
  TX | 23 61 62 31 __ __ __ __  | #ab1
  RX | FF FF FF FF __ __ __ __  | ....

Adrian Remonda (4):
  Cleaned hexadecimal dump
  Added verbose output
  Added input buffer from the terminal
  Moved spidev_tool.c to tools/spi

 Documentation/spi/spidev_test.c |  243 ------------------------------
 tools/spi/spidev_test.c         |  318 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 318 insertions(+), 243 deletions(-)
 delete mode 100644 Documentation/spi/spidev_test.c
 create mode 100644 tools/spi/spidev_test.c

-- 
1.7.10.4


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

end of thread, other threads:[~2015-03-10 20:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10 20:12 [PATCHv2 0/4] spi: spidev_test: Added functionalities Adrian Remonda
2015-03-10 20:12 ` [PATCHv2 1/4] Cleaned hexadecimal dump Adrian Remonda
     [not found]   ` <1426018353-13442-2-git-send-email-adrianremonda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-03-10 20:12     ` [PATCHv2 2/4] Added verbose output Adrian Remonda
2015-03-10 20:12       ` [PATCHv2 3/4] Added input buffer from the terminal Adrian Remonda
2015-03-10 20:12         ` [PATCHv2 4/4] Moved spidev_tool.c to tools/spi Adrian Remonda
2015-03-10 20:55           ` Mark Brown
2015-03-10 20:53         ` [PATCHv2 3/4] Added input buffer from the terminal Mark Brown
2015-03-10 20:53       ` [PATCHv2 2/4] Added verbose output Mark Brown
2015-03-10 20:52     ` [PATCHv2 1/4] Cleaned hexadecimal dump Mark Brown

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).