[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1425750995-18176-1-git-send-email-adrianremonda@gmail.com>
Date: Sat, 7 Mar 2015 12:56:31 -0500
From: Adrian Remonda <adrianremonda@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: adrianremonda@...il.com, broonie@...nel.org, corbet@....net,
linux-spi@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] spi: spidev_test: Added functionalities
This is a patch series add 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@...roZed:~# ./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.
Created spi directory in tools
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists