I have interfaced UART expander chip ( MAX14830 ) with imx6ul. Now able to loopback the tx and rx at UART level. After UART we have connected the RS485 duplex transreceiver. Now looking to check RS485 data with loopback.
Now I have seen in the expander driver (drivers/tty/serial/max310x.c) , provided support for the RS485.
I have added some debug prints in the rs485 config function, but its not called.
How to enable the rs485 support in the driver?