Hi Jassi, Assuming mailbox-test was designed to be generic, I am trying to extend it to support single channel with separate Tx and Rx buffer. With these changes I am able to test arm_mhu driver.
However I couldn't understand the intention of converting buffer to ASCII hex dump in read method. I have a local change to remove that so that it can deal with any data in any format(e.g. some protocol format) and userspace can deal with the actual interpretation of the data. I will post that separately and discuss that in that thread. For now this series is sufficient and userspace can do reverse conversion. Please consider applying this for v4.6 Regards, Sudeep v1: https://lkml.org/lkml/2016/2/11/561 v1-v2: - Minor/Cosmetic changes as suggested by Lee - Added Acks from RobH and Lee Sudeep Holla (4): mailbox: mailbox-test: rename driver as generic test driver mailbox: mailbox-test: fix the compatible string mailbox: mailbox-test: use print_hex_dump_bytes to allow dynamic printk mailbox: mailbox-test: add support for separate tx/rx buffer with single channel .../devicetree/bindings/mailbox/sti-mailbox.txt | 2 +- drivers/mailbox/mailbox-test.c | 53 +++++++++++++--------- 2 files changed, 32 insertions(+), 23 deletions(-) -- 1.9.1