MLK-13981-2 rpmsg: imx: enable rpmsg virt tty
authorRichard Zhu <hongxing.zhu@nxp.com>
Wed, 15 Feb 2017 08:46:29 +0000 (16:46 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:42 +0000 (15:10 -0500)
commit67bd492b8b9da5d002ff7b7dd406c496a7f7ba5b
tree338cba691cc45b7a8cbe431f32c208c5031cf5b5
parent76fc3e7ac00adf1831ea6ece781a88806c6a6db7
MLK-13981-2 rpmsg: imx: enable rpmsg virt tty

Message can be transferred between remote
device and iMX7ULP M4.
Then the message can be transferred between A7
and M4 by rpmsg channel.
demo howto:
- insmode the imx_rpmsg_tty.ko module after
login A7/Linux.
- Receive messages. Used the following command
to dump out the msg from the virtual tty.
./unit_tests/mxc_mcc_tty_test.out /dev/ttyRPMSG 115200 R 100 1000 &
- Send: use the following command to send the
message to M4.
echo <your string message> /dev/ttyRPMSG

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
drivers/rpmsg/imx_rpmsg_tty.c