diff options
author | Richard Zhu <r65037@freescale.com> | 2014-06-26 03:56:24 -0400 |
---|---|---|
committer | Richard Zhu <r65037@freescale.com> | 2014-06-30 21:33:35 -0400 |
commit | 58ad81506e01e6a9625bc096595113f1f6bbe521 (patch) | |
tree | f53548e416f4ff241bf96ea0d811fca39c77cdc6 /drivers/char/imx_mcc/Kconfig | |
parent | 3c16fd041fa430bd4b601964b944daa2bc474c20 (diff) |
ENGR00320327 mcc: mcc posix pty interface demo driver
- /dev/ttyMCCp0 can be created.
- use schedule delayed work to kick off the demo
- one simple test app(mxc_mcc_tty_test.out) used to do
the mcc pty interface demo tests.
- m4 part of the mcc pingpong demo is required to be run
on m4.
- up to now, only the unsigned int decimal number is used
in the tests.
test how-to by the simple test app:
./mxc_mcc_tty_test.out /dev/ttyMCCp0 115200 R 1 512 &
echo <your input> > /dev/ttyMCCp0
then
<your input + 1> would be received the test app.
Signed-off-by: Richard Zhu <r65037@freescale.com>
Diffstat (limited to 'drivers/char/imx_mcc/Kconfig')
-rw-r--r-- | drivers/char/imx_mcc/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/char/imx_mcc/Kconfig b/drivers/char/imx_mcc/Kconfig index d60cf66cd8fd..9625efa2df7f 100644 --- a/drivers/char/imx_mcc/Kconfig +++ b/drivers/char/imx_mcc/Kconfig | |||
@@ -13,3 +13,11 @@ config IMX_MCC_DEMO | |||
13 | depends on SOC_IMX6SX && IMX_SEMA4 | 13 | depends on SOC_IMX6SX && IMX_SEMA4 |
14 | help | 14 | help |
15 | Support for IMX MCC DEMO, most people should say N here. | 15 | Support for IMX MCC DEMO, most people should say N here. |
16 | |||
17 | config IMX_MCC_TTY | ||
18 | bool "imx pty for mcc interface" | ||
19 | depends on SOC_IMX6SX && IMX_SEMA4 | ||
20 | help | ||
21 | This enables a pty node for imx6sx mcc interface. | ||
22 | |||
23 | #end imx mcc | ||